From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 05:35:36 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BB651065692 for ; Fri, 1 Jan 2010 05:35:36 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.freebsd.org (Postfix) with ESMTP id 277AD8FC3E for ; Fri, 1 Jan 2010 05:35:34 +0000 (UTC) Received: from vampire.homelinux.org (dslb-088-066-001-121.pools.arcor-ip.net [88.66.1.121]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LdIgf-1NqbJc3gnp-00i04M; Fri, 01 Jan 2010 06:35:33 +0100 Received: (qmail 99675 invoked from network); 1 Jan 2010 05:35:33 -0000 Received: from f8x64.laiers.local (192.168.4.188) by ns1.laiers.local with SMTP; 1 Jan 2010 05:35:33 -0000 From: Max Laier Organization: FreeBSD To: John Baldwin Date: Fri, 1 Jan 2010 06:35:33 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE; KDE/4.3.4; amd64; ; ) References: <200912312044.nBVKicMb003815@svn.freebsd.org> <200912311547.54045.jhb@freebsd.org> In-Reply-To: <200912311547.54045.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201001010635.33081.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18JLS6H4LkDuoltqawB1Md+WppTkZiAhoPAnTX yOrRjb6H2fBvh6i5NzAJnArl1mqWOY37JEjGGBweP4WdbLlQrT EUbPC1AhaHUUyDyo8fobA== Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r201351 - head/sys/net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 05:35:36 -0000 On Thursday 31 December 2009 21:47:54 John Baldwin wrote: > On Thursday 31 December 2009 3:44:38 pm John Baldwin wrote: > > Author: jhb > > Date: Thu Dec 31 20:44:38 2009 > > New Revision: 201351 > > URL: http://svn.freebsd.org/changeset/base/201351 > > > > Log: > > Use stricter checking to match possible vlan clones by not allowing > > extra garbage characters around or within the tag. > > Previously some odd clone requests such as 'em0.102a', 'em0.10a3bc', and > 'em0.foo.104' would have succeeded creating interfaces equivalent to > em0.102, em0.103, and em0.104. The em0.foo.104 case seems quite useful, though. Maybe we can keep that /feature/? -- Max From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 10:31:24 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C77541065676; Fri, 1 Jan 2010 10:31:23 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 182828FC1A; Fri, 1 Jan 2010 10:31:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01AVNpZ087035; Fri, 1 Jan 2010 10:31:23 GMT (envelope-from rdivacky@svn.freebsd.org) Received: (from rdivacky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01AVMOr087023; Fri, 1 Jan 2010 10:31:22 GMT (envelope-from rdivacky@svn.freebsd.org) Message-Id: <201001011031.o01AVMOr087023@svn.freebsd.org> From: Roman Divacky Date: Fri, 1 Jan 2010 10:31:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201360 - in vendor/llvm/dist: bindings/ocaml cmake/modules docs include/llvm include/llvm-c include/llvm/ADT include/llvm/Analysis include/llvm/Bitcode include/llvm/CodeGen include/llv... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 10:31:25 -0000 Author: rdivacky Date: Fri Jan 1 10:31:22 2010 New Revision: 201360 URL: http://svn.freebsd.org/changeset/base/201360 Log: Update LLVM to 92395. Added: vendor/llvm/dist/include/llvm/Support/circular_raw_ostream.h vendor/llvm/dist/lib/CodeGen/SelectionDAG/SDNodeOrdering.h vendor/llvm/dist/lib/Support/SmallVector.cpp vendor/llvm/dist/lib/Support/circular_raw_ostream.cpp vendor/llvm/dist/lib/Target/X86/Disassembler/X86Disassembler.h vendor/llvm/dist/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c vendor/llvm/dist/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h vendor/llvm/dist/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h vendor/llvm/dist/lib/VMCore/IRBuilder.cpp vendor/llvm/dist/test/Assembler/metadata.ll vendor/llvm/dist/test/CodeGen/MSP430/2009-12-21-FrameAddr.ll vendor/llvm/dist/test/CodeGen/MSP430/2009-12-22-InlineAsm.ll vendor/llvm/dist/test/CodeGen/PIC16/C16-11.ll vendor/llvm/dist/test/CodeGen/PIC16/C16-15.ll vendor/llvm/dist/test/CodeGen/PIC16/C16-49.ll vendor/llvm/dist/test/CodeGen/PIC16/check_inc_files.ll vendor/llvm/dist/test/CodeGen/PIC16/result_direction.ll vendor/llvm/dist/test/CodeGen/PIC16/test_indf_name.ll vendor/llvm/dist/test/CodeGen/Thumb/2009-12-17-pre-regalloc-taildup.ll vendor/llvm/dist/test/CodeGen/X86/brcond-srl.ll vendor/llvm/dist/test/CodeGen/X86/break-sse-dep.ll vendor/llvm/dist/test/CodeGen/X86/memcmp.ll vendor/llvm/dist/test/CodeGen/X86/phys-reg-local-regalloc.ll vendor/llvm/dist/test/CodeGen/X86/powi.ll vendor/llvm/dist/test/FrontendC++/2009-12-23-MissingSext.cpp vendor/llvm/dist/test/MC/Disassembler/ vendor/llvm/dist/test/MC/Disassembler/dg.exp vendor/llvm/dist/test/MC/Disassembler/simple-tests.txt vendor/llvm/dist/test/TableGen/subst2.td vendor/llvm/dist/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll vendor/llvm/dist/test/Transforms/InstCombine/constant-fold-compare.ll vendor/llvm/dist/test/Transforms/InstCombine/memcpy.ll vendor/llvm/dist/test/Transforms/LoopRotate/phi-duplicate.ll vendor/llvm/dist/test/Transforms/ScalarRepl/2009-12-11-NeonTypes.ll vendor/llvm/dist/test/Transforms/ScalarRepl/nonzero-first-index.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/StrStr.ll vendor/llvm/dist/tools/llvm-mc/Disassembler.cpp vendor/llvm/dist/tools/llvm-mc/Disassembler.h vendor/llvm/dist/tools/llvm-mc/HexDisassembler.cpp vendor/llvm/dist/tools/llvm-mc/HexDisassembler.h vendor/llvm/dist/unittests/Support/LeakDetectorTest.cpp vendor/llvm/dist/unittests/VMCore/DerivedTypesTest.cpp vendor/llvm/dist/utils/TableGen/X86DisassemblerShared.h vendor/llvm/dist/utils/TableGen/X86DisassemblerTables.cpp vendor/llvm/dist/utils/TableGen/X86DisassemblerTables.h vendor/llvm/dist/utils/TableGen/X86ModRMFilters.h vendor/llvm/dist/utils/TableGen/X86RecognizableInstr.cpp vendor/llvm/dist/utils/TableGen/X86RecognizableInstr.h vendor/llvm/dist/utils/lit/lit/ vendor/llvm/dist/utils/lit/lit/ExampleTests/ vendor/llvm/dist/utils/lit/lit/ExampleTests.ObjDir/ vendor/llvm/dist/utils/lit/lit/ExampleTests.ObjDir/lit.site.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/Clang/ vendor/llvm/dist/utils/lit/lit/ExampleTests/Clang/fsyntax-only.c vendor/llvm/dist/utils/lit/lit/ExampleTests/Clang/lit.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.InTree/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.InTree/test/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.InTree/test/Bar/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.InTree/test/Bar/bar-test.ll vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.InTree/test/Bar/dg.exp vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.InTree/test/lit.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.InTree/test/lit.site.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.InTree/test/site.exp vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/lit.local.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/obj/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/obj/test/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/obj/test/Foo/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/obj/test/Foo/lit.local.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/obj/test/lit.site.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/obj/test/site.exp vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/src/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/src/test/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/src/test/Foo/ vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/src/test/Foo/data.txt vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/src/test/Foo/dg.exp vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/src/test/Foo/pct-S.ll vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/src/test/lit.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/ShExternal/ vendor/llvm/dist/utils/lit/lit/ExampleTests/ShExternal/lit.local.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/ShInternal/ vendor/llvm/dist/utils/lit/lit/ExampleTests/ShInternal/lit.local.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/TclTest/ vendor/llvm/dist/utils/lit/lit/ExampleTests/TclTest/lit.local.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/TclTest/stderr-pipe.ll vendor/llvm/dist/utils/lit/lit/ExampleTests/TclTest/tcl-redir-1.ll vendor/llvm/dist/utils/lit/lit/ExampleTests/fail.c vendor/llvm/dist/utils/lit/lit/ExampleTests/lit.cfg vendor/llvm/dist/utils/lit/lit/ExampleTests/pass.c vendor/llvm/dist/utils/lit/lit/ExampleTests/xfail.c vendor/llvm/dist/utils/lit/lit/ExampleTests/xpass.c vendor/llvm/dist/utils/lit/lit/LitConfig.py vendor/llvm/dist/utils/lit/lit/LitFormats.py vendor/llvm/dist/utils/lit/lit/ProgressBar.py vendor/llvm/dist/utils/lit/lit/ShCommands.py vendor/llvm/dist/utils/lit/lit/ShUtil.py vendor/llvm/dist/utils/lit/lit/TclUtil.py vendor/llvm/dist/utils/lit/lit/Test.py vendor/llvm/dist/utils/lit/lit/TestFormats.py vendor/llvm/dist/utils/lit/lit/TestRunner.py vendor/llvm/dist/utils/lit/lit/TestingConfig.py vendor/llvm/dist/utils/lit/lit/Util.py vendor/llvm/dist/utils/lit/lit/__init__.py vendor/llvm/dist/utils/lit/lit/lit.py (contents, props changed) vendor/llvm/dist/utils/lit/setup.py vendor/llvm/dist/utils/unittest/googletest/tempfile.tmp Deleted: vendor/llvm/dist/include/llvm/Bitcode/Deserialize.h vendor/llvm/dist/include/llvm/Bitcode/Serialization.h vendor/llvm/dist/include/llvm/Bitcode/SerializationFwd.h vendor/llvm/dist/include/llvm/Bitcode/Serialize.h vendor/llvm/dist/lib/Bitcode/Reader/Deserialize.cpp vendor/llvm/dist/lib/Bitcode/Reader/DeserializeAPFloat.cpp vendor/llvm/dist/lib/Bitcode/Reader/DeserializeAPInt.cpp vendor/llvm/dist/lib/Bitcode/Writer/Serialize.cpp vendor/llvm/dist/lib/Bitcode/Writer/SerializeAPFloat.cpp vendor/llvm/dist/lib/Bitcode/Writer/SerializeAPInt.cpp vendor/llvm/dist/test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst.ll vendor/llvm/dist/test/Transforms/Reassociate/basictest2.ll vendor/llvm/dist/test/Transforms/Reassociate/basictest3.ll vendor/llvm/dist/test/Transforms/Reassociate/basictest4.ll vendor/llvm/dist/test/Transforms/Reassociate/mul-factor3.ll vendor/llvm/dist/test/Transforms/Reassociate/mul-neg-add.ll Modified: vendor/llvm/dist/bindings/ocaml/Makefile.ocaml vendor/llvm/dist/cmake/modules/LLVMLibDeps.cmake vendor/llvm/dist/docs/CompilerDriver.html vendor/llvm/dist/docs/GettingStarted.html vendor/llvm/dist/docs/LangRef.html vendor/llvm/dist/include/llvm-c/Target.h vendor/llvm/dist/include/llvm/ADT/APFloat.h vendor/llvm/dist/include/llvm/ADT/DenseMap.h vendor/llvm/dist/include/llvm/ADT/SCCIterator.h vendor/llvm/dist/include/llvm/ADT/SmallVector.h vendor/llvm/dist/include/llvm/ADT/StringRef.h vendor/llvm/dist/include/llvm/Analysis/DebugInfo.h vendor/llvm/dist/include/llvm/Analysis/LoopInfo.h vendor/llvm/dist/include/llvm/Analysis/MemoryDependenceAnalysis.h vendor/llvm/dist/include/llvm/Analysis/ProfileInfo.h vendor/llvm/dist/include/llvm/Analysis/ScalarEvolution.h vendor/llvm/dist/include/llvm/Analysis/SparsePropagation.h vendor/llvm/dist/include/llvm/Analysis/ValueTracking.h vendor/llvm/dist/include/llvm/Argument.h vendor/llvm/dist/include/llvm/BasicBlock.h vendor/llvm/dist/include/llvm/CodeGen/JITCodeEmitter.h vendor/llvm/dist/include/llvm/CodeGen/MachineCodeEmitter.h vendor/llvm/dist/include/llvm/CodeGen/MachineModuleInfo.h vendor/llvm/dist/include/llvm/CodeGen/MachinePassRegistry.h vendor/llvm/dist/include/llvm/CodeGen/SelectionDAG.h vendor/llvm/dist/include/llvm/CodeGen/SelectionDAGNodes.h vendor/llvm/dist/include/llvm/CodeGen/SlotIndexes.h vendor/llvm/dist/include/llvm/CodeGen/ValueTypes.h vendor/llvm/dist/include/llvm/CompilerDriver/Common.td vendor/llvm/dist/include/llvm/Constants.h vendor/llvm/dist/include/llvm/DerivedTypes.h vendor/llvm/dist/include/llvm/Function.h vendor/llvm/dist/include/llvm/GlobalAlias.h vendor/llvm/dist/include/llvm/GlobalValue.h vendor/llvm/dist/include/llvm/GlobalVariable.h vendor/llvm/dist/include/llvm/InstrTypes.h vendor/llvm/dist/include/llvm/Instruction.h vendor/llvm/dist/include/llvm/Instructions.h vendor/llvm/dist/include/llvm/IntrinsicInst.h vendor/llvm/dist/include/llvm/Intrinsics.td vendor/llvm/dist/include/llvm/LLVMContext.h vendor/llvm/dist/include/llvm/MC/MCAssembler.h vendor/llvm/dist/include/llvm/Metadata.h vendor/llvm/dist/include/llvm/Module.h vendor/llvm/dist/include/llvm/Support/Casting.h vendor/llvm/dist/include/llvm/Support/Compiler.h vendor/llvm/dist/include/llvm/Support/ConstantFolder.h vendor/llvm/dist/include/llvm/Support/Debug.h vendor/llvm/dist/include/llvm/Support/Format.h vendor/llvm/dist/include/llvm/Support/FormattedStream.h vendor/llvm/dist/include/llvm/Support/IRBuilder.h vendor/llvm/dist/include/llvm/Support/NoFolder.h vendor/llvm/dist/include/llvm/Support/StandardPasses.h vendor/llvm/dist/include/llvm/Support/TargetFolder.h vendor/llvm/dist/include/llvm/Support/raw_os_ostream.h vendor/llvm/dist/include/llvm/Support/raw_ostream.h vendor/llvm/dist/include/llvm/System/Path.h vendor/llvm/dist/include/llvm/Target/TargetInstrDesc.h vendor/llvm/dist/include/llvm/Target/TargetLowering.h vendor/llvm/dist/include/llvm/Target/TargetMachine.h vendor/llvm/dist/include/llvm/Target/TargetOptions.h vendor/llvm/dist/include/llvm/Transforms/Utils/Cloning.h vendor/llvm/dist/include/llvm/Transforms/Utils/Local.h vendor/llvm/dist/include/llvm/Transforms/Utils/SSAUpdater.h vendor/llvm/dist/include/llvm/Type.h vendor/llvm/dist/include/llvm/Value.h vendor/llvm/dist/lib/Analysis/AliasAnalysisCounter.cpp vendor/llvm/dist/lib/Analysis/AliasAnalysisEvaluator.cpp vendor/llvm/dist/lib/Analysis/AliasSetTracker.cpp vendor/llvm/dist/lib/Analysis/DbgInfoPrinter.cpp vendor/llvm/dist/lib/Analysis/DebugInfo.cpp vendor/llvm/dist/lib/Analysis/IPA/Andersens.cpp vendor/llvm/dist/lib/Analysis/IPA/CallGraph.cpp vendor/llvm/dist/lib/Analysis/IPA/CallGraphSCCPass.cpp vendor/llvm/dist/lib/Analysis/IVUsers.cpp vendor/llvm/dist/lib/Analysis/InstCount.cpp vendor/llvm/dist/lib/Analysis/LazyValueInfo.cpp vendor/llvm/dist/lib/Analysis/LoopDependenceAnalysis.cpp vendor/llvm/dist/lib/Analysis/LoopInfo.cpp vendor/llvm/dist/lib/Analysis/MemoryDependenceAnalysis.cpp vendor/llvm/dist/lib/Analysis/PHITransAddr.cpp vendor/llvm/dist/lib/Analysis/PostDominators.cpp vendor/llvm/dist/lib/Analysis/ProfileEstimatorPass.cpp vendor/llvm/dist/lib/Analysis/ProfileInfo.cpp vendor/llvm/dist/lib/Analysis/ProfileInfoLoaderPass.cpp vendor/llvm/dist/lib/Analysis/ProfileVerifierPass.cpp vendor/llvm/dist/lib/Analysis/ScalarEvolution.cpp vendor/llvm/dist/lib/Analysis/SparsePropagation.cpp vendor/llvm/dist/lib/Analysis/Trace.cpp vendor/llvm/dist/lib/Analysis/ValueTracking.cpp vendor/llvm/dist/lib/AsmParser/LLLexer.cpp vendor/llvm/dist/lib/AsmParser/LLLexer.h vendor/llvm/dist/lib/AsmParser/LLParser.cpp vendor/llvm/dist/lib/AsmParser/LLParser.h vendor/llvm/dist/lib/AsmParser/LLToken.h vendor/llvm/dist/lib/Bitcode/Reader/BitcodeReader.cpp vendor/llvm/dist/lib/Bitcode/Reader/BitcodeReader.h vendor/llvm/dist/lib/Bitcode/Reader/CMakeLists.txt vendor/llvm/dist/lib/Bitcode/Writer/BitcodeWriter.cpp vendor/llvm/dist/lib/Bitcode/Writer/CMakeLists.txt vendor/llvm/dist/lib/Bitcode/Writer/ValueEnumerator.cpp vendor/llvm/dist/lib/CodeGen/AggressiveAntiDepBreaker.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/AsmPrinter.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/DIE.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/DIE.h vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfDebug.cpp vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfDebug.h vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfException.cpp vendor/llvm/dist/lib/CodeGen/BranchFolding.cpp vendor/llvm/dist/lib/CodeGen/CalcSpillWeights.cpp vendor/llvm/dist/lib/CodeGen/CodePlacementOpt.cpp vendor/llvm/dist/lib/CodeGen/ELF.h vendor/llvm/dist/lib/CodeGen/LLVMTargetMachine.cpp vendor/llvm/dist/lib/CodeGen/LiveIntervalAnalysis.cpp vendor/llvm/dist/lib/CodeGen/MachineBasicBlock.cpp vendor/llvm/dist/lib/CodeGen/MachineDominators.cpp vendor/llvm/dist/lib/CodeGen/MachineInstr.cpp vendor/llvm/dist/lib/CodeGen/MachineLICM.cpp vendor/llvm/dist/lib/CodeGen/MachineLoopInfo.cpp vendor/llvm/dist/lib/CodeGen/MachineVerifier.cpp vendor/llvm/dist/lib/CodeGen/PBQP/AnnotatedGraph.h vendor/llvm/dist/lib/CodeGen/PBQP/GraphBase.h vendor/llvm/dist/lib/CodeGen/PBQP/HeuristicSolver.h vendor/llvm/dist/lib/CodeGen/PHIElimination.cpp vendor/llvm/dist/lib/CodeGen/PHIElimination.h vendor/llvm/dist/lib/CodeGen/PreAllocSplitting.cpp vendor/llvm/dist/lib/CodeGen/PrologEpilogInserter.cpp vendor/llvm/dist/lib/CodeGen/RegAllocLinearScan.cpp vendor/llvm/dist/lib/CodeGen/RegAllocLocal.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/DAGCombiner.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/FastISel.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAG.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp vendor/llvm/dist/lib/CodeGen/SelectionDAG/TargetLowering.cpp vendor/llvm/dist/lib/CodeGen/SimpleRegisterCoalescing.cpp vendor/llvm/dist/lib/CodeGen/SimpleRegisterCoalescing.h vendor/llvm/dist/lib/CodeGen/SlotIndexes.cpp vendor/llvm/dist/lib/CodeGen/Spiller.cpp vendor/llvm/dist/lib/CompilerDriver/CompilationGraph.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/JIT.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/JIT.h vendor/llvm/dist/lib/ExecutionEngine/JIT/JITDwarfEmitter.cpp vendor/llvm/dist/lib/ExecutionEngine/JIT/JITEmitter.cpp vendor/llvm/dist/lib/Linker/LinkModules.cpp vendor/llvm/dist/lib/Support/APFloat.cpp vendor/llvm/dist/lib/Support/APInt.cpp vendor/llvm/dist/lib/Support/CMakeLists.txt vendor/llvm/dist/lib/Support/Debug.cpp vendor/llvm/dist/lib/Support/Dwarf.cpp vendor/llvm/dist/lib/Support/MemoryBuffer.cpp vendor/llvm/dist/lib/Support/StringRef.cpp vendor/llvm/dist/lib/Support/raw_os_ostream.cpp vendor/llvm/dist/lib/Support/raw_ostream.cpp vendor/llvm/dist/lib/System/DynamicLibrary.cpp vendor/llvm/dist/lib/System/Path.cpp vendor/llvm/dist/lib/System/Unix/Path.inc vendor/llvm/dist/lib/System/Unix/Process.inc vendor/llvm/dist/lib/System/Win32/Path.inc vendor/llvm/dist/lib/Target/ARM/ARMBaseInstrInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMBaseRegisterInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMISelLowering.cpp vendor/llvm/dist/lib/Target/ARM/ARMInstrFormats.td vendor/llvm/dist/lib/Target/ARM/ARMInstrInfo.td vendor/llvm/dist/lib/Target/ARM/ARMInstrThumb.td vendor/llvm/dist/lib/Target/ARM/ARMInstrThumb2.td vendor/llvm/dist/lib/Target/ARM/ARMJITInfo.cpp vendor/llvm/dist/lib/Target/ARM/ARMLoadStoreOptimizer.cpp vendor/llvm/dist/lib/Target/ARM/ARMRegisterInfo.td vendor/llvm/dist/lib/Target/ARM/AsmParser/ARMAsmParser.cpp vendor/llvm/dist/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp vendor/llvm/dist/lib/Target/ARM/Thumb1InstrInfo.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaISelLowering.cpp vendor/llvm/dist/lib/Target/Alpha/AlphaJITInfo.cpp vendor/llvm/dist/lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/CBackend/CBackend.cpp vendor/llvm/dist/lib/Target/CellSPU/SPUISelLowering.cpp vendor/llvm/dist/lib/Target/MSIL/MSILWriter.cpp vendor/llvm/dist/lib/Target/MSP430/AsmPrinter/MSP430MCInstLower.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/MSP430/MSP430RegisterInfo.cpp vendor/llvm/dist/lib/Target/Mips/MipsSubtarget.h vendor/llvm/dist/lib/Target/Mips/MipsTargetMachine.cpp vendor/llvm/dist/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp vendor/llvm/dist/lib/Target/PIC16/PIC16ISelDAGToDAG.h vendor/llvm/dist/lib/Target/PIC16/PIC16ISelLowering.cpp vendor/llvm/dist/lib/Target/PIC16/PIC16ISelLowering.h vendor/llvm/dist/lib/Target/PIC16/PIC16InstrInfo.td vendor/llvm/dist/lib/Target/PowerPC/PPCFrameInfo.h vendor/llvm/dist/lib/Target/PowerPC/PPCISelLowering.cpp vendor/llvm/dist/lib/Target/PowerPC/PPCISelLowering.h vendor/llvm/dist/lib/Target/PowerPC/PPCInstr64Bit.td vendor/llvm/dist/lib/Target/PowerPC/PPCInstrInfo.td vendor/llvm/dist/lib/Target/PowerPC/PPCJITInfo.cpp vendor/llvm/dist/lib/Target/README.txt vendor/llvm/dist/lib/Target/Target.cpp vendor/llvm/dist/lib/Target/TargetData.cpp vendor/llvm/dist/lib/Target/TargetMachine.cpp vendor/llvm/dist/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp vendor/llvm/dist/lib/Target/X86/AsmPrinter/X86MCInstLower.cpp vendor/llvm/dist/lib/Target/X86/CMakeLists.txt vendor/llvm/dist/lib/Target/X86/Disassembler/CMakeLists.txt vendor/llvm/dist/lib/Target/X86/Disassembler/X86Disassembler.cpp vendor/llvm/dist/lib/Target/X86/Makefile vendor/llvm/dist/lib/Target/X86/README.txt vendor/llvm/dist/lib/Target/X86/X86.td vendor/llvm/dist/lib/Target/X86/X86ISelDAGToDAG.cpp vendor/llvm/dist/lib/Target/X86/X86ISelLowering.cpp vendor/llvm/dist/lib/Target/X86/X86Instr64bit.td vendor/llvm/dist/lib/Target/X86/X86InstrFPStack.td vendor/llvm/dist/lib/Target/X86/X86InstrFormats.td vendor/llvm/dist/lib/Target/X86/X86InstrInfo.cpp vendor/llvm/dist/lib/Target/X86/X86InstrInfo.td vendor/llvm/dist/lib/Target/X86/X86InstrMMX.td vendor/llvm/dist/lib/Target/X86/X86InstrSSE.td vendor/llvm/dist/lib/Target/X86/X86JITInfo.cpp vendor/llvm/dist/lib/Target/X86/X86RegisterInfo.td vendor/llvm/dist/lib/Target/X86/X86Subtarget.h vendor/llvm/dist/lib/Target/X86/X86TargetMachine.cpp vendor/llvm/dist/lib/Target/X86/X86TargetMachine.h vendor/llvm/dist/lib/Target/XCore/XCoreISelLowering.cpp vendor/llvm/dist/lib/Transforms/Hello/Hello.cpp vendor/llvm/dist/lib/Transforms/IPO/StripSymbols.cpp vendor/llvm/dist/lib/Transforms/Scalar/CodeGenPrepare.cpp vendor/llvm/dist/lib/Transforms/Scalar/GVN.cpp vendor/llvm/dist/lib/Transforms/Scalar/IndVarSimplify.cpp vendor/llvm/dist/lib/Transforms/Scalar/InstructionCombining.cpp vendor/llvm/dist/lib/Transforms/Scalar/JumpThreading.cpp vendor/llvm/dist/lib/Transforms/Scalar/LICM.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopIndexSplit.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopStrengthReduce.cpp vendor/llvm/dist/lib/Transforms/Scalar/LoopUnswitch.cpp vendor/llvm/dist/lib/Transforms/Scalar/Reassociate.cpp vendor/llvm/dist/lib/Transforms/Scalar/SCCVN.cpp vendor/llvm/dist/lib/Transforms/Scalar/ScalarReplAggregates.cpp vendor/llvm/dist/lib/Transforms/Scalar/SimplifyCFGPass.cpp vendor/llvm/dist/lib/Transforms/Scalar/SimplifyLibCalls.cpp vendor/llvm/dist/lib/Transforms/Utils/BreakCriticalEdges.cpp vendor/llvm/dist/lib/Transforms/Utils/CloneFunction.cpp vendor/llvm/dist/lib/Transforms/Utils/Local.cpp vendor/llvm/dist/lib/Transforms/Utils/LoopSimplify.cpp vendor/llvm/dist/lib/Transforms/Utils/LoopUnroll.cpp vendor/llvm/dist/lib/Transforms/Utils/SSAUpdater.cpp vendor/llvm/dist/lib/VMCore/AsmWriter.cpp vendor/llvm/dist/lib/VMCore/BasicBlock.cpp vendor/llvm/dist/lib/VMCore/CMakeLists.txt vendor/llvm/dist/lib/VMCore/ConstantFold.cpp vendor/llvm/dist/lib/VMCore/Constants.cpp vendor/llvm/dist/lib/VMCore/Dominators.cpp vendor/llvm/dist/lib/VMCore/Function.cpp vendor/llvm/dist/lib/VMCore/Instruction.cpp vendor/llvm/dist/lib/VMCore/Instructions.cpp vendor/llvm/dist/lib/VMCore/IntrinsicInst.cpp vendor/llvm/dist/lib/VMCore/LLVMContext.cpp vendor/llvm/dist/lib/VMCore/LLVMContextImpl.h vendor/llvm/dist/lib/VMCore/LeaksContext.h vendor/llvm/dist/lib/VMCore/Metadata.cpp vendor/llvm/dist/lib/VMCore/Module.cpp vendor/llvm/dist/lib/VMCore/PassManager.cpp vendor/llvm/dist/lib/VMCore/Type.cpp vendor/llvm/dist/lib/VMCore/Value.cpp vendor/llvm/dist/lib/VMCore/Verifier.cpp vendor/llvm/dist/test/CodeGen/ARM/fpowi.ll vendor/llvm/dist/test/CodeGen/ARM/inlineasm3.ll vendor/llvm/dist/test/CodeGen/CellSPU/and_ops.ll vendor/llvm/dist/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll vendor/llvm/dist/test/CodeGen/Thumb2/large-stack.ll vendor/llvm/dist/test/CodeGen/X86/2007-09-27-LDIntrinsics.ll vendor/llvm/dist/test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll vendor/llvm/dist/test/CodeGen/X86/abi-isel.ll vendor/llvm/dist/test/CodeGen/X86/bss_pagealigned.ll vendor/llvm/dist/test/CodeGen/X86/cmov.ll vendor/llvm/dist/test/CodeGen/X86/live-out-reg-info.ll vendor/llvm/dist/test/CodeGen/X86/loop-blocks.ll vendor/llvm/dist/test/CodeGen/X86/object-size.ll vendor/llvm/dist/test/CodeGen/X86/peep-test-3.ll vendor/llvm/dist/test/CodeGen/X86/select-aggregate.ll vendor/llvm/dist/test/CodeGen/X86/setcc.ll vendor/llvm/dist/test/CodeGen/X86/tail-opts.ll vendor/llvm/dist/test/CodeGen/X86/tailcall1.ll vendor/llvm/dist/test/CodeGen/X86/widen_load-1.ll vendor/llvm/dist/test/CodeGen/X86/x86-64-pic-1.ll vendor/llvm/dist/test/CodeGen/X86/x86-64-pic-10.ll vendor/llvm/dist/test/CodeGen/X86/x86-64-pic-11.ll vendor/llvm/dist/test/CodeGen/X86/x86-64-pic-2.ll vendor/llvm/dist/test/CodeGen/X86/x86-64-pic-3.ll vendor/llvm/dist/test/DebugInfo/2009-12-01-CurrentFn.ll vendor/llvm/dist/test/FrontendC++/m64-ptr.cpp vendor/llvm/dist/test/LLVMC/OptionPreprocessor.td vendor/llvm/dist/test/Transforms/GVN/rle-phi-translate.ll vendor/llvm/dist/test/Transforms/GlobalOpt/heap-sra-3.ll vendor/llvm/dist/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll vendor/llvm/dist/test/Transforms/InstCombine/cast_ptr.ll vendor/llvm/dist/test/Transforms/InstCombine/crash.ll vendor/llvm/dist/test/Transforms/InstCombine/icmp.ll vendor/llvm/dist/test/Transforms/InstCombine/intrinsics.ll vendor/llvm/dist/test/Transforms/InstCombine/select.ll vendor/llvm/dist/test/Transforms/Reassociate/basictest.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/basictest.ll vendor/llvm/dist/test/Transforms/SimplifyCFG/duplicate-phis.ll vendor/llvm/dist/test/Transforms/SimplifyLibCalls/memcmp.ll vendor/llvm/dist/tools/llvm-mc/AsmParser.cpp vendor/llvm/dist/tools/llvm-mc/CMakeLists.txt vendor/llvm/dist/tools/llvm-mc/llvm-mc.cpp vendor/llvm/dist/tools/llvmc/doc/LLVMC-Reference.rst vendor/llvm/dist/tools/llvmc/doc/Makefile vendor/llvm/dist/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td vendor/llvm/dist/tools/llvmc/plugins/Base/Base.td.in vendor/llvm/dist/tools/lto/LTOCodeGenerator.h vendor/llvm/dist/tools/lto/LTOModule.h vendor/llvm/dist/unittests/ADT/APFloatTest.cpp vendor/llvm/dist/unittests/ADT/DeltaAlgorithmTest.cpp vendor/llvm/dist/unittests/ADT/StringRefTest.cpp vendor/llvm/dist/unittests/ExecutionEngine/JIT/JITTest.cpp vendor/llvm/dist/unittests/ExecutionEngine/JIT/Makefile vendor/llvm/dist/unittests/VMCore/MetadataTest.cpp vendor/llvm/dist/utils/TableGen/CMakeLists.txt vendor/llvm/dist/utils/TableGen/CodeEmitterGen.cpp vendor/llvm/dist/utils/TableGen/CodeEmitterGen.h vendor/llvm/dist/utils/TableGen/CodeGenDAGPatterns.cpp vendor/llvm/dist/utils/TableGen/CodeGenInstruction.cpp vendor/llvm/dist/utils/TableGen/DAGISelEmitter.cpp vendor/llvm/dist/utils/TableGen/DisassemblerEmitter.cpp vendor/llvm/dist/utils/TableGen/LLVMCConfigurationEmitter.cpp vendor/llvm/dist/utils/TableGen/Record.cpp vendor/llvm/dist/utils/buildit/build_llvm vendor/llvm/dist/utils/emacs/llvm-mode.el vendor/llvm/dist/utils/lit/TestFormats.py vendor/llvm/dist/utils/lit/lit.py vendor/llvm/dist/utils/llvmdo vendor/llvm/dist/utils/unittest/googletest/gtest.cc vendor/llvm/dist/utils/unittest/googletest/include/gtest/gtest-param-test.h Modified: vendor/llvm/dist/bindings/ocaml/Makefile.ocaml ============================================================================== --- vendor/llvm/dist/bindings/ocaml/Makefile.ocaml Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/bindings/ocaml/Makefile.ocaml Fri Jan 1 10:31:22 2010 (r201360) @@ -163,6 +163,7 @@ clean-deplibs: $(Verb) rm -f $(OutputLibs) install-deplibs: + $(Verb) $(MKDIR) $(PROJ_libocamldir) $(Verb) for i in $(DestLibs:$(PROJ_libocamldir)/%=%); do \ ln -sf "$(PROJ_libdir)/$$i" "$(PROJ_libocamldir)/$$i"; \ done Modified: vendor/llvm/dist/cmake/modules/LLVMLibDeps.cmake ============================================================================== --- vendor/llvm/dist/cmake/modules/LLVMLibDeps.cmake Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/cmake/modules/LLVMLibDeps.cmake Fri Jan 1 10:31:22 2010 (r201360) @@ -57,8 +57,8 @@ set(MSVC_LIB_DEPS_LLVMTarget LLVMCore LL set(MSVC_LIB_DEPS_LLVMTransformUtils LLVMAnalysis LLVMCore LLVMSupport LLVMSystem LLVMTarget LLVMipa) set(MSVC_LIB_DEPS_LLVMX86AsmParser LLVMMC LLVMX86Info) set(MSVC_LIB_DEPS_LLVMX86AsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSupport LLVMSystem LLVMTarget LLVMX86CodeGen LLVMX86Info) -set(MSVC_LIB_DEPS_LLVMX86CodeGen LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget LLVMX86Info) -set(MSVC_LIB_DEPS_LLVMX86Disassembler LLVMX86Info) +set(MSVC_LIB_DEPS_LLVMX86CodeGen LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget LLVMX86Disassembler LLVMX86Info) +set(MSVC_LIB_DEPS_LLVMX86Disassembler ) set(MSVC_LIB_DEPS_LLVMX86Info LLVMSupport) set(MSVC_LIB_DEPS_LLVMXCore LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget LLVMXCoreInfo) set(MSVC_LIB_DEPS_LLVMXCoreAsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSupport LLVMSystem LLVMTarget LLVMXCoreInfo) Modified: vendor/llvm/dist/docs/CompilerDriver.html ============================================================================== --- vendor/llvm/dist/docs/CompilerDriver.html Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/docs/CompilerDriver.html Fri Jan 1 10:31:22 2010 (r201360) @@ -334,8 +334,8 @@ once). Incompatible with multi_val; for ordinary lists it is synonymous with required. Incompatible with required and zero_or_one. -
  • zero_or_one - the option can be specified zero or one times. Useful -only for list options in conjunction with multi_val. Incompatible with +
  • optional - the option can be specified zero or one times. Useful only +for list options in conjunction with multi_val. Incompatible with required and one_or_more.
  • hidden - the description of this option will not appear in the --help output (but will appear in the --help-hidden @@ -350,13 +350,14 @@ gcc's multi_val n - this option takes n arguments (can be useful in some special cases). Usage example: (parameter_list_option "foo", (multi_val 3)); the command-line syntax is '-foo a b c'. Only list options can have -this attribute; you can, however, use the one_or_more, zero_or_one +this attribute; you can, however, use the one_or_more, optional and required properties.
  • init - this option has a default value, either a string (if it is a -parameter), or a boolean (if it is a switch; boolean constants are called -true and false). List options can't have this attribute. Usage -examples: (switch_option "foo", (init true)); (prefix_option "bar", -(init "baz")).
  • +parameter), or a boolean (if it is a switch; as in C++, boolean constants +are called true and false). List options can't have init +attribute. +Usage examples: (switch_option "foo", (init true)); (prefix_option +"bar", (init "baz")).
  • extern - this option is defined in some other plugin, see below.
  • @@ -604,10 +605,10 @@ def LanguageMap : LanguageMap< $ llvmc hello.cpp llvmc: Unknown suffix: cpp -

    The language map entries should be added only for tools that are -linked with the root node. Since tools are not allowed to have -multiple output languages, for nodes "inside" the graph the input and -output languages should match. This is enforced at compile-time.

    +

    The language map entries are needed only for the tools that are linked from the +root node. Since a tool can't have multiple output languages, for inner nodes of +the graph the input and output languages should match. This is enforced at +compile-time.

    Option preprocessor

    @@ -619,22 +620,30 @@ the driver with both of these options en occasions. Example (adapted from the built-in Base plugin):

     def Preprocess : OptionPreprocessor<
    -(case (and (switch_on "O3"), (any_switch_on ["O0", "O1", "O2"])),
    -           [(unset_option ["O0", "O1", "O2"]),
    -            (warning "Multiple -O options specified, defaulted to -O3.")],
    +(case (not (any_switch_on ["O0", "O1", "O2", "O3"])),
    +           (set_option "O2"),
    +      (and (switch_on "O3"), (any_switch_on ["O0", "O1", "O2"])),
    +           (unset_option ["O0", "O1", "O2"]),
           (and (switch_on "O2"), (any_switch_on ["O0", "O1"])),
                (unset_option ["O0", "O1"]),
           (and (switch_on "O1"), (switch_on "O0")),
                (unset_option "O0"))
     >;
     
    -

    Here, OptionPreprocessor is used to unset all spurious optimization options -(so that they are not forwarded to the compiler).

    +

    Here, OptionPreprocessor is used to unset all spurious -O options so +that they are not forwarded to the compiler. If no optimization options are +specified, -O2 is enabled.

    OptionPreprocessor is basically a single big case expression, which is evaluated only once right after the plugin is loaded. The only allowed actions -in OptionPreprocessor are error, warning and a special action -unset_option, which, as the name suggests, unsets a given option. For -convenience, unset_option also works on lists.

    +in OptionPreprocessor are error, warning, and two special actions: +unset_option and set_option. As their names suggest, they can be used to +set or unset a given option. To set an option with set_option, use the +two-argument form: (set_option "parameter", VALUE). Here, VALUE can be +either a string, a string list, or a boolean constant.

    +

    For convenience, set_option and unset_option also work on lists. That +is, instead of [(unset_option "A"), (unset_option "B")] you can use +(unset_option ["A", "B"]). Obviously, (set_option ["A", "B"]) is valid +only if both A and B are switches.

    More advanced topics

    @@ -739,7 +748,7 @@ the Mikhail Glushenkov
    LLVM Compiler Infrastructure
    -Last modified: $Date: 2009-12-07 19:26:24 +0100 (Mon, 07 Dec 2009) $ +Last modified: $Date: 2009-12-23 13:49:51 +0100 (Wed, 23 Dec 2009) $
    Modified: vendor/llvm/dist/docs/GettingStarted.html ============================================================================== --- vendor/llvm/dist/docs/GettingStarted.html Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/docs/GettingStarted.html Fri Jan 1 10:31:22 2010 (r201360) @@ -114,13 +114,15 @@ and performance.
  • Read the documentation.
  • Read the documentation.
  • Remember that you were warned twice about reading the documentation.
  • -
  • Install the llvm-gcc-4.2 front end if you intend to compile C or C++: +
  • Install the llvm-gcc-4.2 front end if you intend to compile C or C++ + (see Install the GCC Front End for details):
    1. cd where-you-want-the-C-front-end-to-live
    2. -
    3. gunzip --stdout llvm-gcc-4.2-version-platform.tar.gz | tar -xvf - -
    4. -
    5. Note: If the binary extension is ".bz" use bunzip2 instead of gunzip.
    6. -
    7. Add llvm-gcc's "bin" directory to your PATH variable.
    8. +
    9. gunzip --stdout llvm-gcc-4.2-version-platform.tar.gz | tar -xvf -
    10. +
    11. install-binutils-binary-from-MinGW (Windows only)
    12. +
    13. Note: If the binary extension is ".bz" use bunzip2 instead of gunzip.
    14. +
    15. Note: On Windows, use 7-Zip or a similar archiving tool.
    16. +
    17. Add llvm-gcc's "bin" directory to your PATH environment variable.
  • Get the LLVM Source Code @@ -774,13 +776,14 @@ instructions to successfully get and
    -

    Before configuring and compiling the LLVM suite, you can optionally extract the -LLVM GCC front end from the binary distribution. It is used for running the -llvm-test testsuite and for compiling C/C++ programs. Note that you can optionally -build llvm-gcc yourself after building the +

    Before configuring and compiling the LLVM suite (or if you want to use just the LLVM +GCC front end) you can optionally extract the front end from the binary distribution. +It is used for running the llvm-test testsuite and for compiling C/C++ programs. Note that +you can optionally build llvm-gcc yourself after building the main LLVM repository.

    -

    To install the GCC front end, do the following:

    +

    To install the GCC front end, do the following (on Windows, use an archival tool +like 7-zip that understands gzipped tars):

    1. cd where-you-want-the-front-end-to-live
    2. @@ -788,22 +791,51 @@ main LLVM repository.

      -
    -

    Once the binary is uncompressed, you should add a symlink for llvm-gcc and -llvm-g++ to some directory in your path. When you configure LLVM, it will -automatically detect llvm-gcc's presence (if it is in your path) enabling its -use in llvm-test. Note that you can always build or install llvm-gcc at any -pointer after building the main LLVM repository: just reconfigure llvm and +

    Once the binary is uncompressed, if you're using a *nix-based system, add a symlink for +llvm-gcc and llvm-g++ to some directory in your path. If you're using a +Windows-based system, add the bin subdirectory of your front end installation directory +to your PATH environment variable. For example, if you uncompressed the binary to +c:\llvm-gcc, add c:\llvm-gcc\bin to your PATH.

    + +

    If you now want to build LLVM from source, when you configure LLVM, it will +automatically detect llvm-gcc's presence (if it is in your path) enabling its +use in llvm-test. Note that you can always build or install llvm-gcc at any +point after building the main LLVM repository: just reconfigure llvm and llvm-test will pick it up.

    -

    The binary versions of the GCC front end may not suit all of your needs. For -example, the binary distribution may include an old version of a system header -file, not "fix" a header file that needs to be fixed for GCC, or it may be -linked with libraries not available on your system.

    +

    As a convenience for Windows users, the front end binaries for MinGW/x86 include +versions of the required w32api and mingw-runtime binaries. The last remaining step for +Windows users is to simply uncompress the binary binutils package from +MinGW into your front end installation directory. While the +front end installation steps are not quite the same as a typical manual MinGW installation, +they should be similar enough to those who have previously installed MinGW on Windows systems.

    + +

    To install binutils on Windows:

    -

    In cases like these, you may want to try building the GCC front end from source. This is -much easier now than it was in the past.

    +
      +
    1. download GNU Binutils from MinGW Downloads
    2. +
    3. cd where-you-uncompressed-the-front-end
    4. +
    5. uncompress archived binutils directories (not the tar file) into the current directory
    6. +
    + +

    The binary versions of the LLVM GCC front end may not suit all of your needs. For +example, the binary distribution may include an old version of a system header +file, not "fix" a header file that needs to be fixed for GCC, or it may be linked with +libraries not available on your system. In cases like these, you may want to try +building the GCC front end from source. Thankfully, +this is much easier now than it was in the past.

    + +

    We also do not currently support updating of the GCC front end by manually overlaying +newer versions of the w32api and mingw-runtime binary packages that may become available +from MinGW. At this time, it's best to think of the MinGW LLVM GCC front end binary as +a self-contained convenience package that requires Windows users to simply download and +uncompress the GNU Binutils binary package from the MinGW project.

    + +

    Regardless of your platform, if you discover that installing the LLVM GCC front end +binaries is not as easy as previously described, or you would like to suggest improvements, +please let us know how you would like to see things improved by dropping us a note on our +mailing list.

    @@ -1171,7 +1203,6 @@ Cummings for pointing this out! -
    Program Layout @@ -1640,7 +1671,7 @@ out:

    Chris Lattner
    Reid Spencer
    The LLVM Compiler Infrastructure
    - Last modified: $Date: 2009-12-09 18:26:02 +0100 (Wed, 09 Dec 2009) $ + Last modified: $Date: 2009-12-17 18:18:11 +0100 (Thu, 17 Dec 2009) $ Modified: vendor/llvm/dist/docs/LangRef.html ============================================================================== --- vendor/llvm/dist/docs/LangRef.html Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/docs/LangRef.html Fri Jan 1 10:31:22 2010 (r201360) @@ -7257,8 +7257,8 @@ LLVM.

    Syntax:
    -  declare i32 @llvm.objectsize.i32( i8* <ptr>, i32 <type> )
    -  declare i64 @llvm.objectsize.i64( i8* <ptr>, i32 <type> )
    +  declare i32 @llvm.objectsize.i32( i8* <object>, i1 <type> )
    +  declare i64 @llvm.objectsize.i64( i8* <object>, i1 <type> )
     
    Overview:
    @@ -7267,34 +7267,15 @@ LLVM.

    operation like memcpy will either overflow a buffer that corresponds to an object, or b) to determine that a runtime check for overflow isn't necessary. An object in this context means an allocation of a - specific type.

    + specific class, structure, array, or other object.

    Arguments:

    The llvm.objectsize intrinsic takes two arguments. The first - argument is a pointer to the object ptr. The second argument - is an integer type which ranges from 0 to 3. The first bit in - the type corresponds to a return value based on whole objects, - and the second bit whether or not we return the maximum or minimum - remaining bytes computed.

    - - - - - - - - - - - - - - - - - -
    00whole object, maximum number of bytes
    01partial object, maximum number of bytes
    10whole object, minimum number of bytes
    11partial object, minimum number of bytes
    - + argument is a pointer to or into the object. The second argument + is a boolean 0 or 1. This argument determines whether you want the + maximum (0) or minimum (1) bytes remaining. This needs to be a literal 0 or + 1, variables are not allowed.

    +
    Semantics:

    The llvm.objectsize intrinsic is lowered to either a constant representing the size of the object concerned or i32/i64 -1 or 0 @@ -7313,7 +7294,7 @@ LLVM.

    Chris Lattner
    The LLVM Compiler Infrastructure
    - Last modified: $Date: 2009-12-05 03:46:03 +0100 (Sat, 05 Dec 2009) $ + Last modified: $Date: 2009-12-23 01:29:49 +0100 (Wed, 23 Dec 2009) $ Modified: vendor/llvm/dist/include/llvm-c/Target.h ============================================================================== --- vendor/llvm/dist/include/llvm-c/Target.h Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/include/llvm-c/Target.h Fri Jan 1 10:31:22 2010 (r201360) @@ -35,9 +35,11 @@ typedef struct LLVMStructLayout *LLVMStr /* Declare all of the target-initialization functions that are available. */ #define LLVM_TARGET(TargetName) void LLVMInitialize##TargetName##TargetInfo(); #include "llvm/Config/Targets.def" - +#undef LLVM_TARGET /* Explicit undef to make SWIG happier */ + #define LLVM_TARGET(TargetName) void LLVMInitialize##TargetName##Target(); #include "llvm/Config/Targets.def" +#undef LLVM_TARGET /* Explicit undef to make SWIG happier */ /** LLVMInitializeAllTargetInfos - The main program should call this function if it wants access to all available targets that LLVM is configured to @@ -45,6 +47,7 @@ typedef struct LLVMStructLayout *LLVMStr static inline void LLVMInitializeAllTargetInfos() { #define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo(); #include "llvm/Config/Targets.def" +#undef LLVM_TARGET /* Explicit undef to make SWIG happier */ } /** LLVMInitializeAllTargets - The main program should call this function if it @@ -53,6 +56,7 @@ static inline void LLVMInitializeAllTarg static inline void LLVMInitializeAllTargets() { #define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##Target(); #include "llvm/Config/Targets.def" +#undef LLVM_TARGET /* Explicit undef to make SWIG happier */ } /** LLVMInitializeNativeTarget - The main program should call this function to Modified: vendor/llvm/dist/include/llvm/ADT/APFloat.h ============================================================================== --- vendor/llvm/dist/include/llvm/ADT/APFloat.h Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/include/llvm/ADT/APFloat.h Fri Jan 1 10:31:22 2010 (r201360) @@ -191,6 +191,7 @@ namespace llvm { static APFloat getInf(const fltSemantics &Sem, bool Negative = false) { return APFloat(Sem, fcInfinity, Negative); } + /// getNaN - Factory for QNaN values. /// /// \param Negative - True iff the NaN generated should be negative. @@ -201,6 +202,26 @@ namespace llvm { return APFloat(Sem, fcNaN, Negative, type); } + /// getLargest - Returns the largest finite number in the given + /// semantics. + /// + /// \param Negative - True iff the number should be negative + static APFloat getLargest(const fltSemantics &Sem, bool Negative = false); + + /// getSmallest - Returns the smallest (by magnitude) finite number + /// in the given semantics. Might be denormalized, which implies a + /// relative loss of precision. + /// + /// \param Negative - True iff the number should be negative + static APFloat getSmallest(const fltSemantics &Sem, bool Negative = false); + + /// getSmallestNormalized - Returns the smallest (by magnitude) + /// normalized finite number in the given semantics. + /// + /// \param Negative - True iff the number should be negative + static APFloat getSmallestNormalized(const fltSemantics &Sem, + bool Negative = false); + /// Profile - Used to insert APFloat objects, or objects that contain /// APFloat objects, into FoldingSets. void Profile(FoldingSetNodeID& NID) const; @@ -277,6 +298,30 @@ namespace llvm { /* Return an arbitrary integer value usable for hashing. */ uint32_t getHashValue() const; + /// Converts this value into a decimal string. + /// + /// \param FormatPrecision The maximum number of digits of + /// precision to output. If there are fewer digits available, + /// zero padding will not be used unless the value is + /// integral and small enough to be expressed in + /// FormatPrecision digits. 0 means to use the natural + /// precision of the number. + /// \param FormatMaxPadding The maximum number of zeros to + /// consider inserting before falling back to scientific + /// notation. 0 means to always use scientific notation. + /// + /// Number Precision MaxPadding Result + /// ------ --------- ---------- ------ + /// 1.01E+4 5 2 10100 + /// 1.01E+4 4 2 1.01E+4 + /// 1.01E+4 5 1 1.01E+4 + /// 1.01E-2 5 2 0.0101 + /// 1.01E-2 4 2 0.0101 + /// 1.01E-2 4 1 1.01E-2 + void toString(SmallVectorImpl &Str, + unsigned FormatPrecision = 0, + unsigned FormatMaxPadding = 3); + private: /* Trivial queries. */ Modified: vendor/llvm/dist/include/llvm/ADT/DenseMap.h ============================================================================== --- vendor/llvm/dist/include/llvm/ADT/DenseMap.h Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/include/llvm/ADT/DenseMap.h Fri Jan 1 10:31:22 2010 (r201360) @@ -46,7 +46,7 @@ public: typedef ValueT mapped_type; typedef BucketT value_type; - DenseMap(const DenseMap& other) { + DenseMap(const DenseMap &other) { NumBuckets = 0; CopyFrom(other); } @@ -55,6 +55,12 @@ public: init(NumInitBuckets); } + template + DenseMap(const InputIt &I, const InputIt &E) { + init(64); + insert(I, E); + } + ~DenseMap() { const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); for (BucketT *P = Buckets, *E = Buckets+NumBuckets; P != E; ++P) { Modified: vendor/llvm/dist/include/llvm/ADT/SCCIterator.h ============================================================================== --- vendor/llvm/dist/include/llvm/ADT/SCCIterator.h Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/include/llvm/ADT/SCCIterator.h Fri Jan 1 10:31:22 2010 (r201360) @@ -72,7 +72,7 @@ class scc_iterator SCCNodeStack.push_back(N); MinVisitNumStack.push_back(visitNum); VisitStack.push_back(std::make_pair(N, GT::child_begin(N))); - //errs() << "TarjanSCC: Node " << N << + //dbgs() << "TarjanSCC: Node " << N << // " : visitNum = " << visitNum << "\n"; } @@ -107,7 +107,7 @@ class scc_iterator if (!MinVisitNumStack.empty() && MinVisitNumStack.back() > minVisitNum) MinVisitNumStack.back() = minVisitNum; - //errs() << "TarjanSCC: Popped node " << visitingN << + //dbgs() << "TarjanSCC: Popped node " << visitingN << // " : minVisitNum = " << minVisitNum << "; Node visit num = " << // nodeVisitNumbers[visitingN] << "\n"; Modified: vendor/llvm/dist/include/llvm/ADT/SmallVector.h ============================================================================== --- vendor/llvm/dist/include/llvm/ADT/SmallVector.h Fri Jan 1 03:58:21 2010 (r201359) +++ vendor/llvm/dist/include/llvm/ADT/SmallVector.h Fri Jan 1 10:31:22 2010 (r201360) @@ -80,55 +80,56 @@ protected: return BeginX == static_cast(&FirstEl); } + /// size_in_bytes - This returns size()*sizeof(T). + size_t size_in_bytes() const { + return size_t((char*)EndX - (char*)BeginX); + } + + /// capacity_in_bytes - This returns capacity()*sizeof(T). + size_t capacity_in_bytes() const { + return size_t((char*)CapacityX - (char*)BeginX); + } + + /// grow_pod - This is an implementation of the grow() method which only works + /// on POD-like datatypes and is out of line to reduce code duplication. + void grow_pod(size_t MinSizeInBytes, size_t TSize); public: bool empty() const { return BeginX == EndX; } }; -/// SmallVectorImpl - This class consists of common code factored out of the -/// SmallVector class to reduce code duplication based on the SmallVector 'N' -/// template parameter. + template -class SmallVectorImpl : public SmallVectorBase { - void setEnd(T *P) { EndX = P; } +class SmallVectorTemplateCommon : public SmallVectorBase { +protected: + void setEnd(T *P) { this->EndX = P; } public: - // Default ctor - Initialize to empty. - explicit SmallVectorImpl(unsigned N) : SmallVectorBase(N*sizeof(T)) { - } - - ~SmallVectorImpl() { - // Destroy the constructed elements in the vector. - destroy_range(begin(), end()); - - // If this wasn't grown from the inline copy, deallocate the old space. - if (!isSmall()) - operator delete(begin()); - } - + SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(Size) {} + typedef size_t size_type; typedef ptrdiff_t difference_type; typedef T value_type; typedef T *iterator; typedef const T *const_iterator; - + typedef std::reverse_iterator const_reverse_iterator; typedef std::reverse_iterator reverse_iterator; - + typedef T &reference; typedef const T &const_reference; typedef T *pointer; typedef const T *const_pointer; - + // forward iterator creation methods. - iterator begin() { return (iterator)BeginX; } - const_iterator begin() const { return (const_iterator)BeginX; } - iterator end() { return (iterator)EndX; } - const_iterator end() const { return (const_iterator)EndX; } -private: - iterator capacity_ptr() { return (iterator)CapacityX; } - const_iterator capacity_ptr() const { return (const_iterator)CapacityX; } + iterator begin() { return (iterator)this->BeginX; } + const_iterator begin() const { return (const_iterator)this->BeginX; } + iterator end() { return (iterator)this->EndX; } + const_iterator end() const { return (const_iterator)this->EndX; } +protected: + iterator capacity_ptr() { return (iterator)this->CapacityX; } + const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;} public: - + // reverse iterator creation methods. reverse_iterator rbegin() { return reverse_iterator(end()); } const_reverse_iterator rbegin() const{ return const_reverse_iterator(end()); } @@ -169,248 +170,359 @@ public: const_reference back() const { return end()[-1]; } +}; + +/// SmallVectorTemplateBase - This is where we put method +/// implementations that are designed to work with non-POD-like T's. +template +class SmallVectorTemplateBase : public SmallVectorTemplateCommon { +public: + SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon(Size) {} - void push_back(const_reference Elt) { - if (EndX < CapacityX) { - Retry: - new (end()) T(Elt); - setEnd(end()+1); - return; + static void destroy_range(T *S, T *E) { + while (S != E) { + --E; + E->~T(); } - grow(); - goto Retry; } - - void pop_back() { - setEnd(end()-1); - end()->~T(); + + /// uninitialized_copy - Copy the range [I, E) onto the uninitialized memory + /// starting with "Dest", constructing elements into it as needed. + template + static void uninitialized_copy(It1 I, It1 E, It2 Dest) { + std::uninitialized_copy(I, E, Dest); } + + /// grow - double the size of the allocated memory, guaranteeing space for at + /// least one more element or MinSize if specified. + void grow(size_t MinSize = 0); +}; - T pop_back_val() { - T Result = back(); - pop_back(); - return Result; +// Define this out-of-line to dissuade the C++ compiler from inlining it. +template +void SmallVectorTemplateBase::grow(size_t MinSize) { + size_t CurCapacity = this->capacity(); + size_t CurSize = this->size(); + size_t NewCapacity = 2*CurCapacity; + if (NewCapacity < MinSize) + NewCapacity = MinSize; + T *NewElts = static_cast(operator new(NewCapacity*sizeof(T))); + + // Copy the elements over. + this->uninitialized_copy(this->begin(), this->end(), NewElts); + + // Destroy the original elements. + destroy_range(this->begin(), this->end()); + + // If this wasn't grown from the inline copy, deallocate the old space. + if (!this->isSmall()) + operator delete(this->begin()); + + this->setEnd(NewElts+CurSize); + this->BeginX = NewElts; + this->CapacityX = this->begin()+NewCapacity; +} + + +/// SmallVectorTemplateBase - This is where we put method +/// implementations that are designed to work with POD-like T's. +template +class SmallVectorTemplateBase : public SmallVectorTemplateCommon { +public: + SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon(Size) {} + + // No need to do a destroy loop for POD's. + static void destroy_range(T *, T *) {} + + /// uninitialized_copy - Copy the range [I, E) onto the uninitialized memory + /// starting with "Dest", constructing elements into it as needed. + template + static void uninitialized_copy(It1 I, It1 E, It2 Dest) { + // Use memcpy for PODs: std::uninitialized_copy optimizes to memmove, memcpy + // is better. + memcpy(&*Dest, &*I, (E-I)*sizeof(T)); } - + + /// grow - double the size of the allocated memory, guaranteeing space for at + /// least one more element or MinSize if specified. + void grow(size_t MinSize = 0) { + this->grow_pod(MinSize*sizeof(T), sizeof(T)); + } +}; + + +/// SmallVectorImpl - This class consists of common code factored out of the +/// SmallVector class to reduce code duplication based on the SmallVector 'N' +/// template parameter. +template +class SmallVectorImpl : public SmallVectorTemplateBase::value> { + typedef SmallVectorTemplateBase::value > SuperClass; +public: + typedef typename SuperClass::iterator iterator; + typedef typename SuperClass::size_type size_type; + + // Default ctor - Initialize to empty. + explicit SmallVectorImpl(unsigned N) + : SmallVectorTemplateBase::value>(N*sizeof(T)) { + } + + ~SmallVectorImpl() { + // Destroy the constructed elements in the vector. + this->destroy_range(this->begin(), this->end()); + + // If this wasn't grown from the inline copy, deallocate the old space. + if (!this->isSmall()) + operator delete(this->begin()); + } + + void clear() { - destroy_range(begin(), end()); - EndX = BeginX; + this->destroy_range(this->begin(), this->end()); + this->EndX = this->BeginX; } void resize(unsigned N) { - if (N < size()) { - destroy_range(begin()+N, end()); - setEnd(begin()+N); - } else if (N > size()) { - if (capacity() < N) - grow(N); - construct_range(end(), begin()+N, T()); - setEnd(begin()+N); + if (N < this->size()) { + this->destroy_range(this->begin()+N, this->end()); + this->setEnd(this->begin()+N); + } else if (N > this->size()) { + if (this->capacity() < N) + this->grow(N); + this->construct_range(this->end(), this->begin()+N, T()); + this->setEnd(this->begin()+N); } } void resize(unsigned N, const T &NV) { - if (N < size()) { - destroy_range(begin()+N, end()); - setEnd(begin()+N); - } else if (N > size()) { - if (capacity() < N) - grow(N); - construct_range(end(), begin()+N, NV); - setEnd(begin()+N); + if (N < this->size()) { + this->destroy_range(this->begin()+N, this->end()); + this->setEnd(this->begin()+N); + } else if (N > this->size()) { + if (this->capacity() < N) + this->grow(N); + construct_range(this->end(), this->begin()+N, NV); + this->setEnd(this->begin()+N); } } void reserve(unsigned N) { - if (capacity() < N) - grow(N); + if (this->capacity() < N) + this->grow(N); } - + + void push_back(const T &Elt) { + if (this->EndX < this->CapacityX) { + Retry: + new (this->end()) T(Elt); + this->setEnd(this->end()+1); + return; + } + this->grow(); + goto Retry; + } + + void pop_back() { + this->setEnd(this->end()-1); + this->end()->~T(); + } + + T pop_back_val() { + T Result = this->back(); + pop_back(); + return Result; + } + + void swap(SmallVectorImpl &RHS); - + /// append - Add the specified range to the end of the SmallVector. /// template void append(in_iter in_start, in_iter in_end) { size_type NumInputs = std::distance(in_start, in_end); // Grow allocated space if needed. - if (NumInputs > size_type(capacity_ptr()-end())) - grow(size()+NumInputs); - + if (NumInputs > size_type(this->capacity_ptr()-this->end())) + this->grow(this->size()+NumInputs); + // Copy the new elements over. - std::uninitialized_copy(in_start, in_end, end()); - setEnd(end() + NumInputs); + // TODO: NEED To compile time dispatch on whether in_iter is a random access + // iterator to use the fast uninitialized_copy. + std::uninitialized_copy(in_start, in_end, this->end()); + this->setEnd(this->end() + NumInputs); } - + /// append - Add the specified range to the end of the SmallVector. /// void append(size_type NumInputs, const T &Elt) { // Grow allocated space if needed. - if (NumInputs > size_type(capacity_ptr()-end())) - grow(size()+NumInputs); - + if (NumInputs > size_type(this->capacity_ptr()-this->end())) + this->grow(this->size()+NumInputs); + // Copy the new elements over. - std::uninitialized_fill_n(end(), NumInputs, Elt); - setEnd(end() + NumInputs); + std::uninitialized_fill_n(this->end(), NumInputs, Elt); + this->setEnd(this->end() + NumInputs); } - + void assign(unsigned NumElts, const T &Elt) { clear(); - if (capacity() < NumElts) - grow(NumElts); - setEnd(begin()+NumElts); - construct_range(begin(), end(), Elt); + if (this->capacity() < NumElts) + this->grow(NumElts); + this->setEnd(this->begin()+NumElts); + construct_range(this->begin(), this->end(), Elt); } - + iterator erase(iterator I) { iterator N = I; // Shift all elts down one. - std::copy(I+1, end(), I); + std::copy(I+1, this->end(), I); // Drop the last elt. pop_back(); return(N); } - + iterator erase(iterator S, iterator E) { iterator N = S; // Shift all elts down. - iterator I = std::copy(E, end(), S); + iterator I = std::copy(E, this->end(), S); // Drop the last elts. - destroy_range(I, end()); - setEnd(I); + this->destroy_range(I, this->end()); + this->setEnd(I); return(N); } - + iterator insert(iterator I, const T &Elt) { - if (I == end()) { // Important special case for empty vector. + if (I == this->end()) { // Important special case for empty vector. push_back(Elt); - return end()-1; + return this->end()-1; } - - if (EndX < CapacityX) { - Retry: - new (end()) T(back()); - setEnd(end()+1); + + if (this->EndX < this->CapacityX) { + Retry: + new (this->end()) T(this->back()); + this->setEnd(this->end()+1); // Push everything else over. - std::copy_backward(I, end()-1, end()); + std::copy_backward(I, this->end()-1, this->end()); *I = Elt; return I; } - size_t EltNo = I-begin(); - grow(); - I = begin()+EltNo; + size_t EltNo = I-this->begin(); + this->grow(); + I = this->begin()+EltNo; goto Retry; } - + iterator insert(iterator I, size_type NumToInsert, const T &Elt) { - if (I == end()) { // Important special case for empty vector. + if (I == this->end()) { // Important special case for empty vector. append(NumToInsert, Elt); - return end()-1; + return this->end()-1; } - + // Convert iterator to elt# to avoid invalidating iterator when we reserve() - size_t InsertElt = I-begin(); - + size_t InsertElt = I - this->begin(); + // Ensure there is enough space. - reserve(static_cast(size() + NumToInsert)); - + reserve(static_cast(this->size() + NumToInsert)); + // Uninvalidate the iterator. - I = begin()+InsertElt; - + I = this->begin()+InsertElt; + // If there are more elements between the insertion point and the end of the // range than there are being inserted, we can use a simple approach to // insertion. Since we already reserved space, we know that this won't // reallocate the vector. - if (size_t(end()-I) >= NumToInsert) { - T *OldEnd = end(); - append(end()-NumToInsert, end()); - + if (size_t(this->end()-I) >= NumToInsert) { + T *OldEnd = this->end(); + append(this->end()-NumToInsert, this->end()); + // Copy the existing elements that get replaced. std::copy_backward(I, OldEnd-NumToInsert, OldEnd); - + std::fill_n(I, NumToInsert, Elt); return I; } - + // Otherwise, we're inserting more elements than exist already, and we're // not inserting at the end. - + // Copy over the elements that we're about to overwrite. - T *OldEnd = end(); - setEnd(end() + NumToInsert); + T *OldEnd = this->end(); + this->setEnd(this->end() + NumToInsert); size_t NumOverwritten = OldEnd-I; - std::uninitialized_copy(I, OldEnd, end()-NumOverwritten); - + this->uninitialized_copy(I, OldEnd, this->end()-NumOverwritten); + // Replace the overwritten part. std::fill_n(I, NumOverwritten, Elt); - + // Insert the non-overwritten middle part. std::uninitialized_fill_n(OldEnd, NumToInsert-NumOverwritten, Elt); return I; } - + template iterator insert(iterator I, ItTy From, ItTy To) { - if (I == end()) { // Important special case for empty vector. + if (I == this->end()) { // Important special case for empty vector. append(From, To); - return end()-1; + return this->end()-1; } - + size_t NumToInsert = std::distance(From, To); // Convert iterator to elt# to avoid invalidating iterator when we reserve() - size_t InsertElt = I-begin(); - + size_t InsertElt = I - this->begin(); + // Ensure there is enough space. - reserve(static_cast(size() + NumToInsert)); - + reserve(static_cast(this->size() + NumToInsert)); + // Uninvalidate the iterator. - I = begin()+InsertElt; - + I = this->begin()+InsertElt; + // If there are more elements between the insertion point and the end of the // range than there are being inserted, we can use a simple approach to // insertion. Since we already reserved space, we know that this won't // reallocate the vector. - if (size_t(end()-I) >= NumToInsert) { - T *OldEnd = end(); - append(end()-NumToInsert, end()); - + if (size_t(this->end()-I) >= NumToInsert) { + T *OldEnd = this->end(); + append(this->end()-NumToInsert, this->end()); + // Copy the existing elements that get replaced. std::copy_backward(I, OldEnd-NumToInsert, OldEnd); - + std::copy(From, To, I); return I; } - + // Otherwise, we're inserting more elements than exist already, and we're // not inserting at the end. - + // Copy over the elements that we're about to overwrite. - T *OldEnd = end(); - setEnd(end() + NumToInsert); + T *OldEnd = this->end(); + this->setEnd(this->end() + NumToInsert); size_t NumOverwritten = OldEnd-I; - std::uninitialized_copy(I, OldEnd, end()-NumOverwritten); - + this->uninitialized_copy(I, OldEnd, this->end()-NumOverwritten); + // Replace the overwritten part. std::copy(From, From+NumOverwritten, I); - + // Insert the non-overwritten middle part. - std::uninitialized_copy(From+NumOverwritten, To, OldEnd); + this->uninitialized_copy(From+NumOverwritten, To, OldEnd); return I; } - - const SmallVectorImpl &operator=(const SmallVectorImpl &RHS); - + + const SmallVectorImpl *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 10:34:53 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A00D61065672; Fri, 1 Jan 2010 10:34:53 +0000 (UTC) (envelope-from rdivacky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8A1088FC16; Fri, 1 Jan 2010 10:34:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01AYrRc087870; Fri, 1 Jan 2010 10:34:53 GMT (envelope-from rdivacky@svn.freebsd.org) Received: (from rdivacky@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01AYrDv087847; Fri, 1 Jan 2010 10:34:53 GMT (envelope-from rdivacky@svn.freebsd.org) Message-Id: <201001011034.o01AYrDv087847@svn.freebsd.org> From: Roman Divacky Date: Fri, 1 Jan 2010 10:34:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org X-SVN-Group: vendor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201361 - in vendor/clang/dist: . clang.xcodeproj docs examples examples/PrintFunctionNames examples/wpa include/clang-c include/clang/AST include/clang/Analysis include/clang/Analysis/... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 10:34:53 -0000 Author: rdivacky Date: Fri Jan 1 10:34:51 2010 New Revision: 201361 URL: http://svn.freebsd.org/changeset/base/201361 Log: Updaet clang to 92395. Added: vendor/clang/dist/examples/ vendor/clang/dist/examples/CMakeLists.txt vendor/clang/dist/examples/Makefile vendor/clang/dist/examples/PrintFunctionNames/ vendor/clang/dist/examples/PrintFunctionNames/CMakeLists.txt vendor/clang/dist/examples/PrintFunctionNames/Makefile vendor/clang/dist/examples/PrintFunctionNames/PrintFunctionNames.cpp vendor/clang/dist/examples/PrintFunctionNames/README.txt vendor/clang/dist/examples/wpa/ vendor/clang/dist/examples/wpa/CMakeLists.txt vendor/clang/dist/examples/wpa/Makefile vendor/clang/dist/examples/wpa/clang-wpa.cpp vendor/clang/dist/include/clang/AST/CharUnits.h vendor/clang/dist/include/clang/AST/FullExpr.h vendor/clang/dist/lib/AST/FullExpr.cpp vendor/clang/dist/test/Analysis/misc-ps-region-store.cpp vendor/clang/dist/test/Analysis/misc-ps-region-store.mm vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.unqual/p7.cpp vendor/clang/dist/test/CXX/class.derived/p2.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.ref/basic.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-nodeduct.cpp vendor/clang/dist/test/CodeGen/func-ptr-cast-decl.c vendor/clang/dist/test/CodeGenCXX/PR5834-constructor-conversion.cpp vendor/clang/dist/test/CodeGenCXX/const-base-cast.cpp vendor/clang/dist/test/CodeGenCXX/copy-constructor-elim-2.cpp vendor/clang/dist/test/CodeGenCXX/dynamic-cast.cpp vendor/clang/dist/test/CodeGenCXX/operator-new.cpp vendor/clang/dist/test/CodeGenCXX/reference-bind-default-argument.cpp vendor/clang/dist/test/CodeGenCXX/rtti-layout.cpp vendor/clang/dist/test/CodeGenCXX/try-catch.cpp vendor/clang/dist/test/CodeGenCXX/value-init.cpp vendor/clang/dist/test/CodeGenCXX/virtual-base-ctor.cpp vendor/clang/dist/test/CodeGenObjC/x86_64-struct-return-gc.m vendor/clang/dist/test/Driver/darwin-debug-flags.c vendor/clang/dist/test/FixIt/typo.c vendor/clang/dist/test/FixIt/typo.cpp vendor/clang/dist/test/FixIt/typo.m vendor/clang/dist/test/Index/recover-bad-code-rdar_7487294.c vendor/clang/dist/test/Parser/cxx-template-argument.cpp vendor/clang/dist/test/Preprocessor/pragma_diagnostic.c vendor/clang/dist/test/Rewriter/rewrite-block-ivar-call.mm vendor/clang/dist/test/Rewriter/rewrite-block-literal.c vendor/clang/dist/test/SemaCXX/rval-references-xfail.cpp vendor/clang/dist/test/SemaObjC/property-not-lvalue.m vendor/clang/dist/test/SemaObjCXX/function-pointer-void-star.mm vendor/clang/dist/test/SemaObjCXX/objc-pointer-conv.mm vendor/clang/dist/test/SemaTemplate/anonymous-union.cpp vendor/clang/dist/test/SemaTemplate/dependent-expr.cpp vendor/clang/dist/test/SemaTemplate/instantiate-decl-dtor.cpp vendor/clang/dist/test/SemaTemplate/instantiate-member-expr.cpp vendor/clang/dist/tools/scan-build/c++-analyzer (contents, props changed) vendor/clang/dist/utils/C++Tests/LLVM-Code-Symbols/ vendor/clang/dist/utils/C++Tests/LLVM-Code-Symbols/check-symbols (contents, props changed) vendor/clang/dist/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg Deleted: vendor/clang/dist/lib/Frontend/RewriteBlocks.cpp vendor/clang/dist/test/CodeGenCXX/rtti.cpp vendor/clang/dist/test/Rewriter/block-test.c Modified: vendor/clang/dist/Makefile vendor/clang/dist/TODO.txt vendor/clang/dist/clang.xcodeproj/project.pbxproj vendor/clang/dist/docs/UsersManual.html vendor/clang/dist/include/clang-c/Index.h vendor/clang/dist/include/clang/AST/ASTContext.h vendor/clang/dist/include/clang/AST/CanonicalType.h vendor/clang/dist/include/clang/AST/Decl.h vendor/clang/dist/include/clang/AST/DeclCXX.h vendor/clang/dist/include/clang/AST/DeclObjC.h vendor/clang/dist/include/clang/AST/Expr.h vendor/clang/dist/include/clang/AST/ExprCXX.h vendor/clang/dist/include/clang/AST/ExprObjC.h vendor/clang/dist/include/clang/AST/RecordLayout.h vendor/clang/dist/include/clang/AST/Stmt.h vendor/clang/dist/include/clang/AST/StmtIterator.h vendor/clang/dist/include/clang/AST/TemplateBase.h vendor/clang/dist/include/clang/AST/Type.h vendor/clang/dist/include/clang/AST/TypeLoc.h vendor/clang/dist/include/clang/AST/TypeNodes.def vendor/clang/dist/include/clang/Analysis/Analyses/LiveVariables.h vendor/clang/dist/include/clang/Analysis/Analyses/UninitializedValues.h vendor/clang/dist/include/clang/Analysis/CFG.h vendor/clang/dist/include/clang/Analysis/FlowSensitive/DataflowValues.h vendor/clang/dist/include/clang/Analysis/LocalCheckers.h vendor/clang/dist/include/clang/Analysis/PathDiagnostic.h vendor/clang/dist/include/clang/Analysis/PathSensitive/AnalysisContext.h vendor/clang/dist/include/clang/Analysis/PathSensitive/AnalysisManager.h vendor/clang/dist/include/clang/Analysis/PathSensitive/BugReporter.h vendor/clang/dist/include/clang/Analysis/PathSensitive/Checker.h vendor/clang/dist/include/clang/Analysis/PathSensitive/CheckerVisitor.def vendor/clang/dist/include/clang/Analysis/PathSensitive/CheckerVisitor.h vendor/clang/dist/include/clang/Analysis/PathSensitive/ExplodedGraph.h vendor/clang/dist/include/clang/Analysis/PathSensitive/GRCoreEngine.h vendor/clang/dist/include/clang/Analysis/PathSensitive/GRExprEngine.h vendor/clang/dist/include/clang/Analysis/PathSensitive/GRState.h vendor/clang/dist/include/clang/Analysis/PathSensitive/GRSubEngine.h vendor/clang/dist/include/clang/Analysis/PathSensitive/GRTransferFuncs.h vendor/clang/dist/include/clang/Analysis/PathSensitive/MemRegion.h vendor/clang/dist/include/clang/Analysis/PathSensitive/SVals.h vendor/clang/dist/include/clang/Analysis/PathSensitive/Store.h vendor/clang/dist/include/clang/Analysis/PathSensitive/ValueManager.h vendor/clang/dist/include/clang/Analysis/ProgramPoint.h vendor/clang/dist/include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h vendor/clang/dist/include/clang/Analysis/Visitors/CFGRecStmtVisitor.h vendor/clang/dist/include/clang/Analysis/Visitors/CFGStmtVisitor.h vendor/clang/dist/include/clang/Basic/Builtins.def vendor/clang/dist/include/clang/Basic/Diagnostic.h vendor/clang/dist/include/clang/Basic/DiagnosticCommonKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticFrontendKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticGroups.td vendor/clang/dist/include/clang/Basic/DiagnosticParseKinds.td vendor/clang/dist/include/clang/Basic/DiagnosticSemaKinds.td vendor/clang/dist/include/clang/Basic/LangOptions.h vendor/clang/dist/include/clang/Basic/TargetInfo.h vendor/clang/dist/include/clang/CodeGen/CodeGenOptions.h vendor/clang/dist/include/clang/Driver/CC1Options.td vendor/clang/dist/include/clang/Driver/Options.td vendor/clang/dist/include/clang/Driver/ToolChain.h vendor/clang/dist/include/clang/Frontend/ASTConsumers.h vendor/clang/dist/include/clang/Frontend/FrontendActions.h vendor/clang/dist/include/clang/Frontend/FrontendOptions.h vendor/clang/dist/include/clang/Frontend/PCHBitCodes.h vendor/clang/dist/include/clang/Frontend/TypeXML.def vendor/clang/dist/include/clang/Lex/Lexer.h vendor/clang/dist/include/clang/Lex/LiteralSupport.h vendor/clang/dist/include/clang/Parse/Action.h vendor/clang/dist/include/clang/Parse/DeclSpec.h vendor/clang/dist/include/clang/Parse/Parser.h vendor/clang/dist/include/clang/Sema/CodeCompleteConsumer.h vendor/clang/dist/lib/AST/ASTContext.cpp vendor/clang/dist/lib/AST/CMakeLists.txt vendor/clang/dist/lib/AST/Decl.cpp vendor/clang/dist/lib/AST/DeclCXX.cpp vendor/clang/dist/lib/AST/DeclGroup.cpp vendor/clang/dist/lib/AST/DeclarationName.cpp vendor/clang/dist/lib/AST/Expr.cpp vendor/clang/dist/lib/AST/ExprCXX.cpp vendor/clang/dist/lib/AST/ExprConstant.cpp vendor/clang/dist/lib/AST/Stmt.cpp vendor/clang/dist/lib/AST/StmtIterator.cpp vendor/clang/dist/lib/AST/StmtProfile.cpp vendor/clang/dist/lib/AST/Type.cpp vendor/clang/dist/lib/AST/TypePrinter.cpp vendor/clang/dist/lib/Analysis/AnalysisContext.cpp vendor/clang/dist/lib/Analysis/BasicObjCFoundationChecks.cpp vendor/clang/dist/lib/Analysis/BasicStore.cpp vendor/clang/dist/lib/Analysis/CFG.cpp vendor/clang/dist/lib/Analysis/CFRefCount.cpp vendor/clang/dist/lib/Analysis/CallInliner.cpp vendor/clang/dist/lib/Analysis/CheckDeadStores.cpp vendor/clang/dist/lib/Analysis/GRCoreEngine.cpp vendor/clang/dist/lib/Analysis/GRExprEngine.cpp vendor/clang/dist/lib/Analysis/LiveVariables.cpp vendor/clang/dist/lib/Analysis/MallocChecker.cpp vendor/clang/dist/lib/Analysis/MemRegion.cpp vendor/clang/dist/lib/Analysis/NoReturnFunctionChecker.cpp vendor/clang/dist/lib/Analysis/OSAtomicChecker.cpp vendor/clang/dist/lib/Analysis/RegionStore.cpp vendor/clang/dist/lib/Analysis/SValuator.cpp vendor/clang/dist/lib/Analysis/SimpleConstraintManager.cpp vendor/clang/dist/lib/Analysis/Store.cpp vendor/clang/dist/lib/Basic/Diagnostic.cpp vendor/clang/dist/lib/Basic/FileManager.cpp vendor/clang/dist/lib/Basic/TargetInfo.cpp vendor/clang/dist/lib/Basic/Targets.cpp vendor/clang/dist/lib/CodeGen/CGBlocks.cpp vendor/clang/dist/lib/CodeGen/CGBuiltin.cpp vendor/clang/dist/lib/CodeGen/CGCXX.cpp vendor/clang/dist/lib/CodeGen/CGCall.cpp vendor/clang/dist/lib/CodeGen/CGCall.h vendor/clang/dist/lib/CodeGen/CGClass.cpp vendor/clang/dist/lib/CodeGen/CGDebugInfo.cpp vendor/clang/dist/lib/CodeGen/CGDecl.cpp vendor/clang/dist/lib/CodeGen/CGException.cpp vendor/clang/dist/lib/CodeGen/CGExpr.cpp vendor/clang/dist/lib/CodeGen/CGExprAgg.cpp vendor/clang/dist/lib/CodeGen/CGExprCXX.cpp vendor/clang/dist/lib/CodeGen/CGExprComplex.cpp vendor/clang/dist/lib/CodeGen/CGExprScalar.cpp vendor/clang/dist/lib/CodeGen/CGObjC.cpp vendor/clang/dist/lib/CodeGen/CGObjCGNU.cpp vendor/clang/dist/lib/CodeGen/CGObjCMac.cpp vendor/clang/dist/lib/CodeGen/CGRTTI.cpp vendor/clang/dist/lib/CodeGen/CGRecordLayoutBuilder.cpp vendor/clang/dist/lib/CodeGen/CGRecordLayoutBuilder.h vendor/clang/dist/lib/CodeGen/CGTemporaries.cpp vendor/clang/dist/lib/CodeGen/CGVtable.cpp vendor/clang/dist/lib/CodeGen/CodeGenFunction.cpp vendor/clang/dist/lib/CodeGen/CodeGenFunction.h vendor/clang/dist/lib/CodeGen/CodeGenModule.cpp vendor/clang/dist/lib/CodeGen/CodeGenModule.h vendor/clang/dist/lib/CodeGen/CodeGenTypes.cpp vendor/clang/dist/lib/CodeGen/Mangle.cpp vendor/clang/dist/lib/CodeGen/ModuleBuilder.cpp vendor/clang/dist/lib/CodeGen/TargetABIInfo.cpp vendor/clang/dist/lib/Driver/CC1Options.cpp vendor/clang/dist/lib/Driver/Driver.cpp vendor/clang/dist/lib/Driver/ToolChain.cpp vendor/clang/dist/lib/Driver/ToolChains.cpp vendor/clang/dist/lib/Driver/ToolChains.h vendor/clang/dist/lib/Driver/Tools.cpp vendor/clang/dist/lib/Driver/Tools.h vendor/clang/dist/lib/Frontend/AnalysisConsumer.cpp vendor/clang/dist/lib/Frontend/CMakeLists.txt vendor/clang/dist/lib/Frontend/CompilerInvocation.cpp vendor/clang/dist/lib/Frontend/FrontendActions.cpp vendor/clang/dist/lib/Frontend/InitHeaderSearch.cpp vendor/clang/dist/lib/Frontend/PCHReader.cpp vendor/clang/dist/lib/Frontend/PCHReaderStmt.cpp vendor/clang/dist/lib/Frontend/PCHWriter.cpp vendor/clang/dist/lib/Frontend/PCHWriterStmt.cpp vendor/clang/dist/lib/Frontend/RewriteObjC.cpp vendor/clang/dist/lib/Frontend/Warnings.cpp vendor/clang/dist/lib/Lex/Lexer.cpp vendor/clang/dist/lib/Lex/LiteralSupport.cpp vendor/clang/dist/lib/Lex/MacroArgs.cpp vendor/clang/dist/lib/Lex/MacroArgs.h vendor/clang/dist/lib/Lex/PPDirectives.cpp vendor/clang/dist/lib/Lex/Preprocessor.cpp vendor/clang/dist/lib/Lex/TokenLexer.cpp vendor/clang/dist/lib/Parse/ParseCXXInlineMethods.cpp vendor/clang/dist/lib/Parse/ParseDecl.cpp vendor/clang/dist/lib/Parse/ParseDeclCXX.cpp vendor/clang/dist/lib/Parse/ParseObjc.cpp vendor/clang/dist/lib/Parse/ParseStmt.cpp vendor/clang/dist/lib/Parse/ParseTemplate.cpp vendor/clang/dist/lib/Parse/ParseTentative.cpp vendor/clang/dist/lib/Parse/Parser.cpp vendor/clang/dist/lib/Sema/CodeCompleteConsumer.cpp vendor/clang/dist/lib/Sema/Lookup.h vendor/clang/dist/lib/Sema/Sema.cpp vendor/clang/dist/lib/Sema/Sema.h vendor/clang/dist/lib/Sema/SemaAccess.cpp vendor/clang/dist/lib/Sema/SemaCXXCast.cpp vendor/clang/dist/lib/Sema/SemaCXXScopeSpec.cpp vendor/clang/dist/lib/Sema/SemaChecking.cpp vendor/clang/dist/lib/Sema/SemaCodeComplete.cpp vendor/clang/dist/lib/Sema/SemaDecl.cpp vendor/clang/dist/lib/Sema/SemaDeclAttr.cpp vendor/clang/dist/lib/Sema/SemaDeclCXX.cpp vendor/clang/dist/lib/Sema/SemaDeclObjC.cpp vendor/clang/dist/lib/Sema/SemaExpr.cpp vendor/clang/dist/lib/Sema/SemaExprCXX.cpp vendor/clang/dist/lib/Sema/SemaExprObjC.cpp vendor/clang/dist/lib/Sema/SemaInit.cpp vendor/clang/dist/lib/Sema/SemaInit.h vendor/clang/dist/lib/Sema/SemaLookup.cpp vendor/clang/dist/lib/Sema/SemaOverload.cpp vendor/clang/dist/lib/Sema/SemaStmt.cpp vendor/clang/dist/lib/Sema/SemaTemplate.cpp vendor/clang/dist/lib/Sema/SemaTemplateDeduction.cpp vendor/clang/dist/lib/Sema/SemaTemplateInstantiate.cpp vendor/clang/dist/lib/Sema/SemaTemplateInstantiateDecl.cpp vendor/clang/dist/lib/Sema/SemaType.cpp vendor/clang/dist/lib/Sema/TreeTransform.h vendor/clang/dist/test/Analysis/CFDateGC.m vendor/clang/dist/test/Analysis/CFNumber.c vendor/clang/dist/test/Analysis/CFRetainRelease_NSAssertionHandler.m vendor/clang/dist/test/Analysis/CGColorSpace.c vendor/clang/dist/test/Analysis/CheckNSError.m vendor/clang/dist/test/Analysis/MissingDealloc.m vendor/clang/dist/test/Analysis/NSPanel.m vendor/clang/dist/test/Analysis/NSString-failed-cases.m vendor/clang/dist/test/Analysis/NSString.m vendor/clang/dist/test/Analysis/NSWindow.m vendor/clang/dist/test/Analysis/NoReturn.m vendor/clang/dist/test/Analysis/ObjCProperties.m vendor/clang/dist/test/Analysis/ObjCRetSigs.m vendor/clang/dist/test/Analysis/PR2599.m vendor/clang/dist/test/Analysis/PR2978.m vendor/clang/dist/test/Analysis/PR3991.m vendor/clang/dist/test/Analysis/array-struct.c vendor/clang/dist/test/Analysis/blocks.m vendor/clang/dist/test/Analysis/casts.c vendor/clang/dist/test/Analysis/casts.m vendor/clang/dist/test/Analysis/cfref_PR2519.c vendor/clang/dist/test/Analysis/cfref_rdar6080742.c vendor/clang/dist/test/Analysis/complex.c vendor/clang/dist/test/Analysis/concrete-address.c vendor/clang/dist/test/Analysis/conditional-op-missing-lhs.c vendor/clang/dist/test/Analysis/dead-stores.c vendor/clang/dist/test/Analysis/dead-stores.cpp vendor/clang/dist/test/Analysis/dead-stores.m vendor/clang/dist/test/Analysis/delegates.m vendor/clang/dist/test/Analysis/elementtype.c vendor/clang/dist/test/Analysis/exercise-ps.c vendor/clang/dist/test/Analysis/fields.c vendor/clang/dist/test/Analysis/func.c vendor/clang/dist/test/Analysis/malloc.c vendor/clang/dist/test/Analysis/misc-ps-64.m vendor/clang/dist/test/Analysis/misc-ps-basic-store.m vendor/clang/dist/test/Analysis/misc-ps-eager-assume.m vendor/clang/dist/test/Analysis/misc-ps-ranges.m vendor/clang/dist/test/Analysis/misc-ps-region-store-i386.m vendor/clang/dist/test/Analysis/misc-ps-region-store-x86_64.m vendor/clang/dist/test/Analysis/misc-ps-region-store.m vendor/clang/dist/test/Analysis/misc-ps.m vendor/clang/dist/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m vendor/clang/dist/test/Analysis/no-exit-cfg.c vendor/clang/dist/test/Analysis/no-outofbounds.c vendor/clang/dist/test/Analysis/null-deref-ps-region.c vendor/clang/dist/test/Analysis/null-deref-ps.c vendor/clang/dist/test/Analysis/outofbound.c vendor/clang/dist/test/Analysis/override-werror.c vendor/clang/dist/test/Analysis/plist-output.m vendor/clang/dist/test/Analysis/pr4209.m vendor/clang/dist/test/Analysis/pr_2542_rdar_6793404.m vendor/clang/dist/test/Analysis/pr_4164.c vendor/clang/dist/test/Analysis/ptr-arith.c vendor/clang/dist/test/Analysis/rdar-6442306-1.m vendor/clang/dist/test/Analysis/rdar-6540084.m vendor/clang/dist/test/Analysis/rdar-6541136-region.c vendor/clang/dist/test/Analysis/rdar-6541136.c vendor/clang/dist/test/Analysis/rdar-6562655.m vendor/clang/dist/test/Analysis/rdar-6582778-basic-store.c vendor/clang/dist/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m vendor/clang/dist/test/Analysis/rdar-7168531.m vendor/clang/dist/test/Analysis/refcnt_naming.m vendor/clang/dist/test/Analysis/region-1.m vendor/clang/dist/test/Analysis/retain-release-basic-store.m vendor/clang/dist/test/Analysis/retain-release-gc-only.m vendor/clang/dist/test/Analysis/retain-release-region-store.m vendor/clang/dist/test/Analysis/retain-release.m vendor/clang/dist/test/Analysis/security-syntax-checks.m vendor/clang/dist/test/Analysis/sizeofpointer.c vendor/clang/dist/test/Analysis/stack-addr-ps.c vendor/clang/dist/test/Analysis/uninit-msg-expr.m vendor/clang/dist/test/Analysis/uninit-ps-rdar6145427.m vendor/clang/dist/test/Analysis/uninit-vals-ps-region.c vendor/clang/dist/test/Analysis/uninit-vals-ps.c vendor/clang/dist/test/Analysis/uninit-vals.c vendor/clang/dist/test/Analysis/uninit-vals.m vendor/clang/dist/test/Analysis/unions-region.m vendor/clang/dist/test/Analysis/unused-ivars.m vendor/clang/dist/test/CXX/basic/basic.def.odr/p2-typeid.cpp vendor/clang/dist/test/CXX/basic/basic.link/p9.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2-template-id.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.argdep/p3.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p2.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p3.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p4.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p5.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.udir/p1.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.unqual/p11.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.unqual/p12.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.unqual/p15.cpp vendor/clang/dist/test/CXX/basic/basic.lookup/basic.lookup.unqual/p3.cpp vendor/clang/dist/test/CXX/basic/basic.start/basic.start.main/p2a.cpp vendor/clang/dist/test/CXX/basic/basic.start/basic.start.main/p2b.cpp vendor/clang/dist/test/CXX/basic/basic.start/basic.start.main/p2c.cpp vendor/clang/dist/test/CXX/basic/basic.start/basic.start.main/p2d.cpp vendor/clang/dist/test/CXX/basic/basic.start/basic.start.main/p2e.cpp vendor/clang/dist/test/CXX/basic/basic.start/basic.start.main/p2f.cpp vendor/clang/dist/test/CXX/basic/basic.start/basic.start.main/p2g.cpp vendor/clang/dist/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.allocation/p1.cpp vendor/clang/dist/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/p1.cpp vendor/clang/dist/test/CXX/basic/basic.stc/basic.stc.dynamic/p2-nodef.cpp vendor/clang/dist/test/CXX/basic/basic.stc/basic.stc.dynamic/p2.cpp vendor/clang/dist/test/CXX/class.access/class.access.dcl/p1.cpp vendor/clang/dist/test/CXX/class.derived/class.virtual/p12.cpp vendor/clang/dist/test/CXX/class/class.friend/p1-ambiguous.cpp vendor/clang/dist/test/CXX/class/class.friend/p1.cpp vendor/clang/dist/test/CXX/class/class.friend/p2.cpp vendor/clang/dist/test/CXX/class/class.friend/p6.cpp vendor/clang/dist/test/CXX/class/class.local/p1.cpp vendor/clang/dist/test/CXX/class/class.local/p2.cpp vendor/clang/dist/test/CXX/class/class.local/p3.cpp vendor/clang/dist/test/CXX/class/class.local/p4.cpp vendor/clang/dist/test/CXX/class/class.mfct/class.mfct.non-static/p3.cpp vendor/clang/dist/test/CXX/class/class.nest/p1.cpp vendor/clang/dist/test/CXX/class/class.nested.type/p1.cpp vendor/clang/dist/test/CXX/class/class.union/p1.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/p3.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.unnamed/p1.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p1.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p10.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p11.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p12.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p13.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p3-cxx0x.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p4.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p5-cxx0x.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx0x.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p8-cxx0x.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p8.cpp vendor/clang/dist/test/CXX/dcl.dcl/basic.namespace/namespace.udir/p1.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p3.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p6.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p10.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p9.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p3.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p4-cxx0x.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p3.cpp vendor/clang/dist/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p4.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p4.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.list/basic.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p1.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p3.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-examples.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-var.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.array/p1-cxx0x.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.array/p1.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p10.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p2.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p3.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p4.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p5.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p6.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p7.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p8.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p3.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.mptr/p3.cpp vendor/clang/dist/test/CXX/dcl.decl/dcl.meaning/dcl.ref/p5.cpp vendor/clang/dist/test/CXX/expr/expr.unary/expr.delete/p5.cpp vendor/clang/dist/test/CXX/expr/p3.cpp vendor/clang/dist/test/CXX/expr/p8.cpp vendor/clang/dist/test/CXX/expr/p9.cpp vendor/clang/dist/test/CXX/lex/lex.trigraph/p1.cpp vendor/clang/dist/test/CXX/lex/lex.trigraph/p2.cpp vendor/clang/dist/test/CXX/lex/lex.trigraph/p3.cpp vendor/clang/dist/test/CXX/over/over.match/over.match.best/p1.cpp vendor/clang/dist/test/CXX/over/over.over/p1.cpp vendor/clang/dist/test/CXX/over/over.over/p2.cpp vendor/clang/dist/test/CXX/over/over.over/p4.cpp vendor/clang/dist/test/CXX/special/class.dtor/p2.cpp vendor/clang/dist/test/CXX/special/class.free/p1.cpp vendor/clang/dist/test/CXX/special/class.free/p6.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class.spec/p6.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/p2.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class.spec/temp.class.spec.mfunc/p1-neg.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class.spec/temp.class.spec.mfunc/p1.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class/temp.mem.class/p1.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class/temp.mem.func/p1-retmem.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class/temp.mem.func/p1.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class/temp.mem.func/p1inst.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class/temp.mem.func/pr5056.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class/temp.static/p1-inst.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.class/temp.static/p1.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p4.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p5.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p6.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.friend/p1.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.friend/p3.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.friend/p5.cpp vendor/clang/dist/test/CXX/temp/temp.decls/temp.mem/p1.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p1.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/sfinae-1.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/basic.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p2.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p2.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p3.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p4.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.funcaddr/p1.cpp vendor/clang/dist/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p11.cpp vendor/clang/dist/test/CXX/temp/temp.param/p10.cpp vendor/clang/dist/test/CXX/temp/temp.param/p11.cpp vendor/clang/dist/test/CXX/temp/temp.param/p12.cpp vendor/clang/dist/test/CXX/temp/temp.param/p13.cpp vendor/clang/dist/test/CXX/temp/temp.param/p14.cpp vendor/clang/dist/test/CXX/temp/temp.param/p15-cxx0x.cpp vendor/clang/dist/test/CXX/temp/temp.param/p15.cpp vendor/clang/dist/test/CXX/temp/temp.param/p2.cpp vendor/clang/dist/test/CXX/temp/temp.param/p3.cpp vendor/clang/dist/test/CXX/temp/temp.param/p4.cpp vendor/clang/dist/test/CXX/temp/temp.param/p7.cpp vendor/clang/dist/test/CXX/temp/temp.param/p8.cpp vendor/clang/dist/test/CXX/temp/temp.param/p9.cpp vendor/clang/dist/test/CXX/temp/temp.res/temp.dep.res/temp.point/p1.cpp vendor/clang/dist/test/CXX/temp/temp.res/temp.dep/p3.cpp vendor/clang/dist/test/CXX/temp/temp.spec/p5.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p1.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p10.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p11.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p13.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p14.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p15.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p16.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p17.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p18.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p19.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p2.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p20.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p21.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p3.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p4.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p5.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p6.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.expl.spec/p9.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p1-0x.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p1-emit.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p1.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p10.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p12.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p2.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p3.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p4.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p5.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p6.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p7.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p8.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp vendor/clang/dist/test/CXX/temp/temp.spec/temp.explicit/p9.cpp vendor/clang/dist/test/CodeCompletion/call.cpp vendor/clang/dist/test/CodeCompletion/enum-switch-case-qualified.cpp vendor/clang/dist/test/CodeCompletion/enum-switch-case.c vendor/clang/dist/test/CodeCompletion/enum-switch-case.cpp vendor/clang/dist/test/CodeCompletion/function-templates.cpp vendor/clang/dist/test/CodeCompletion/functions.cpp vendor/clang/dist/test/CodeCompletion/macros.c vendor/clang/dist/test/CodeCompletion/member-access.c vendor/clang/dist/test/CodeCompletion/member-access.cpp vendor/clang/dist/test/CodeCompletion/namespace-alias.cpp vendor/clang/dist/test/CodeCompletion/namespace.cpp vendor/clang/dist/test/CodeCompletion/nested-name-specifier.cpp vendor/clang/dist/test/CodeCompletion/objc-message.m vendor/clang/dist/test/CodeCompletion/operator.cpp vendor/clang/dist/test/CodeCompletion/ordinary-name.c vendor/clang/dist/test/CodeCompletion/tag.c vendor/clang/dist/test/CodeCompletion/tag.cpp vendor/clang/dist/test/CodeCompletion/templates.cpp vendor/clang/dist/test/CodeCompletion/truncation.c vendor/clang/dist/test/CodeCompletion/using-namespace.cpp vendor/clang/dist/test/CodeCompletion/using.cpp vendor/clang/dist/test/CodeGen/2007-11-29-ArraySizeFromInitializer.c vendor/clang/dist/test/CodeGen/2008-02-07-bitfield-bug.c vendor/clang/dist/test/CodeGen/2008-02-08-bitfield-bug.c vendor/clang/dist/test/CodeGen/2008-02-26-inline-asm-bug.c vendor/clang/dist/test/CodeGen/2008-07-17-no-emit-on-error.c vendor/clang/dist/test/CodeGen/2008-07-21-mixed-var-fn-decl.c vendor/clang/dist/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c vendor/clang/dist/test/CodeGen/2008-07-22-packed-bitfield-access.c vendor/clang/dist/test/CodeGen/2008-07-29-override-alias-decl.c vendor/clang/dist/test/CodeGen/2008-07-30-implicit-initialization.c vendor/clang/dist/test/CodeGen/2008-07-30-redef-of-bitcasted-decl.c vendor/clang/dist/test/CodeGen/2008-07-31-asm-labels.c vendor/clang/dist/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c vendor/clang/dist/test/CodeGen/2008-08-04-void-pointer-arithmetic.c vendor/clang/dist/test/CodeGen/2008-08-19-cast-of-typedef.c vendor/clang/dist/test/CodeGen/2008-08-25-incompatible-cond-expr.m vendor/clang/dist/test/CodeGen/2008-09-22-bad-switch-type.c vendor/clang/dist/test/CodeGen/2008-12-02-logical-or-fold.c vendor/clang/dist/test/CodeGen/2009-01-21-invalid-debug-info.m vendor/clang/dist/test/CodeGen/2009-03-22-increment-bitfield.c vendor/clang/dist/test/CodeGen/2009-04-23-dbg.c vendor/clang/dist/test/CodeGen/2009-05-22-callingconv.c vendor/clang/dist/test/CodeGen/2009-05-28-const-typedef.c vendor/clang/dist/test/CodeGen/2009-06-01-addrofknr.c vendor/clang/dist/test/CodeGen/2009-06-14-anonymous-union-init.c vendor/clang/dist/test/CodeGen/2009-07-31-DbgDeclare.c vendor/clang/dist/test/CodeGen/2009-08-14-vararray-crash.c vendor/clang/dist/test/CodeGen/2009-10-20-GlobalDebug.c vendor/clang/dist/test/CodeGen/OpaqueStruct.c vendor/clang/dist/test/CodeGen/PR2001-bitfield-reload.c vendor/clang/dist/test/CodeGen/PR2413-void-address-cast-error.c vendor/clang/dist/test/CodeGen/PR2643-null-store-to-bitfield.c vendor/clang/dist/test/CodeGen/PR2743-reference-missing-static.c vendor/clang/dist/test/CodeGen/PR3130-cond-constant.c vendor/clang/dist/test/CodeGen/PR3589-freestanding-libcalls.c vendor/clang/dist/test/CodeGen/PR3613-static-decl.c vendor/clang/dist/test/CodeGen/PR3709-int-to-pointer-sign.c vendor/clang/dist/test/CodeGen/PR4611-bitfield-layout.c vendor/clang/dist/test/CodeGen/PR5060-align.c vendor/clang/dist/test/CodeGen/address-space-cast.c vendor/clang/dist/test/CodeGen/address-space-compound-literal.c vendor/clang/dist/test/CodeGen/address-space-field1.c vendor/clang/dist/test/CodeGen/address-space-field2.c vendor/clang/dist/test/CodeGen/address-space-field3.c vendor/clang/dist/test/CodeGen/address-space-field4.c vendor/clang/dist/test/CodeGen/address-space.c vendor/clang/dist/test/CodeGen/alias.c vendor/clang/dist/test/CodeGen/align-local.c vendor/clang/dist/test/CodeGen/alignof.c vendor/clang/dist/test/CodeGen/always_inline.c vendor/clang/dist/test/CodeGen/arm-arguments.c vendor/clang/dist/test/CodeGen/arm_asm_clobber.c vendor/clang/dist/test/CodeGen/array.c vendor/clang/dist/test/CodeGen/asm-2.c vendor/clang/dist/test/CodeGen/asm-inout.c vendor/clang/dist/test/CodeGen/asm.c vendor/clang/dist/test/CodeGen/atomic.c vendor/clang/dist/test/CodeGen/attr-cleanup.c vendor/clang/dist/test/CodeGen/attr-nodebug.c vendor/clang/dist/test/CodeGen/attr-noinline.c vendor/clang/dist/test/CodeGen/attr-used.c vendor/clang/dist/test/CodeGen/attributes.c vendor/clang/dist/test/CodeGen/bitfield-assign.c vendor/clang/dist/test/CodeGen/bitfield-init.c vendor/clang/dist/test/CodeGen/bitfield-promote.c vendor/clang/dist/test/CodeGen/bitfield.c vendor/clang/dist/test/CodeGen/blocks-1.c vendor/clang/dist/test/CodeGen/blocks-2.c vendor/clang/dist/test/CodeGen/blocks-aligned-byref-variable.c vendor/clang/dist/test/CodeGen/blocks-seq.c vendor/clang/dist/test/CodeGen/blocks.c vendor/clang/dist/test/CodeGen/bool-bitfield.c vendor/clang/dist/test/CodeGen/bool-convert.c vendor/clang/dist/test/CodeGen/bool-init.c vendor/clang/dist/test/CodeGen/boolassign.c vendor/clang/dist/test/CodeGen/builtin-attributes.c vendor/clang/dist/test/CodeGen/builtin-count-zeros.c vendor/clang/dist/test/CodeGen/builtin-memfns.c vendor/clang/dist/test/CodeGen/builtin-nanf.c vendor/clang/dist/test/CodeGen/builtin-rename.c vendor/clang/dist/test/CodeGen/builtin-stackaddress.c vendor/clang/dist/test/CodeGen/builtin-unwind-init.c vendor/clang/dist/test/CodeGen/builtinmemcpy.c vendor/clang/dist/test/CodeGen/builtins-x86.c vendor/clang/dist/test/CodeGen/builtins.c vendor/clang/dist/test/CodeGen/builtinshufflevector.c vendor/clang/dist/test/CodeGen/c-strings.c vendor/clang/dist/test/CodeGen/call-knr-indirect.c vendor/clang/dist/test/CodeGen/cast.c vendor/clang/dist/test/CodeGen/cfstring.c vendor/clang/dist/test/CodeGen/cfstring2.c vendor/clang/dist/test/CodeGen/cleanup-stack.c vendor/clang/dist/test/CodeGen/complex.c vendor/clang/dist/test/CodeGen/compound-literal.c vendor/clang/dist/test/CodeGen/compound-type.c vendor/clang/dist/test/CodeGen/compound.c vendor/clang/dist/test/CodeGen/conditional-gnu-ext.c vendor/clang/dist/test/CodeGen/conditional.c vendor/clang/dist/test/CodeGen/const-init.c vendor/clang/dist/test/CodeGen/const-label-addr.c vendor/clang/dist/test/CodeGen/constant-comparison.c vendor/clang/dist/test/CodeGen/constructor-attribute.c vendor/clang/dist/test/CodeGen/cxx-condition.cpp vendor/clang/dist/test/CodeGen/cxx-default-arg.cpp vendor/clang/dist/test/CodeGen/cxx-value-init.cpp vendor/clang/dist/test/CodeGen/darwin-string-literals.c vendor/clang/dist/test/CodeGen/debug-info.c vendor/clang/dist/test/CodeGen/decl.c vendor/clang/dist/test/CodeGen/designated-initializers.c vendor/clang/dist/test/CodeGen/dllimport-dllexport.c vendor/clang/dist/test/CodeGen/dostmt.c vendor/clang/dist/test/CodeGen/emit-all-decls.c vendor/clang/dist/test/CodeGen/empty-union-init.c vendor/clang/dist/test/CodeGen/enum.c vendor/clang/dist/test/CodeGen/exprs.c vendor/clang/dist/test/CodeGen/ext-vector-shuffle.c vendor/clang/dist/test/CodeGen/ext-vector.c vendor/clang/dist/test/CodeGen/extern-block-var.c vendor/clang/dist/test/CodeGen/flexible-array-init.c vendor/clang/dist/test/CodeGen/func-decl-cleanup.c vendor/clang/dist/test/CodeGen/func-return-member.c vendor/clang/dist/test/CodeGen/function-attributes.c vendor/clang/dist/test/CodeGen/function-decay.m vendor/clang/dist/test/CodeGen/functions.c vendor/clang/dist/test/CodeGen/global-decls.c vendor/clang/dist/test/CodeGen/global-init.c vendor/clang/dist/test/CodeGen/global-with-initialiser.c vendor/clang/dist/test/CodeGen/globalinit.c vendor/clang/dist/test/CodeGen/illegal-UTF8.m vendor/clang/dist/test/CodeGen/incomplete-function-type.c vendor/clang/dist/test/CodeGen/indirect-goto.c vendor/clang/dist/test/CodeGen/init-with-member-expr.c vendor/clang/dist/test/CodeGen/init.c vendor/clang/dist/test/CodeGen/inline.c vendor/clang/dist/test/CodeGen/inline2.c vendor/clang/dist/test/CodeGen/int-to-pointer.c vendor/clang/dist/test/CodeGen/kr-func-promote.c vendor/clang/dist/test/CodeGen/kr-style-block.c vendor/clang/dist/test/CodeGen/libcalls.c vendor/clang/dist/test/CodeGen/lineno-dbginfo.c vendor/clang/dist/test/CodeGen/linkage-redecl.c vendor/clang/dist/test/CodeGen/long-double-x86.c vendor/clang/dist/test/CodeGen/mandel.c vendor/clang/dist/test/CodeGen/mangle.c vendor/clang/dist/test/CodeGen/merge-attrs.c vendor/clang/dist/test/CodeGen/merge-statics.c vendor/clang/dist/test/CodeGen/no-common.c vendor/clang/dist/test/CodeGen/object-size.c vendor/clang/dist/test/CodeGen/offsetof.c vendor/clang/dist/test/CodeGen/opaque-pointer.c vendor/clang/dist/test/CodeGen/overloadable.c vendor/clang/dist/test/CodeGen/packed-union.c vendor/clang/dist/test/CodeGen/palignr.c vendor/clang/dist/test/CodeGen/parameter-passing.c vendor/clang/dist/test/CodeGen/pascal-string.c vendor/clang/dist/test/CodeGen/pointer-arithmetic.c vendor/clang/dist/test/CodeGen/pointer-cmp-type.c vendor/clang/dist/test/CodeGen/pointer-to-int.c vendor/clang/dist/test/CodeGen/pragma-pack-1.c vendor/clang/dist/test/CodeGen/pragma-pack-2.c vendor/clang/dist/test/CodeGen/pragma-pack-3.c vendor/clang/dist/test/CodeGen/pragma-weak.c vendor/clang/dist/test/CodeGen/predefined-expr.c vendor/clang/dist/test/CodeGen/private-extern.c vendor/clang/dist/test/CodeGen/rdr-6098585-default-after-caserange.c vendor/clang/dist/test/CodeGen/rdr-6098585-default-fallthrough-to-caserange.c vendor/clang/dist/test/CodeGen/rdr-6098585-empty-case-range.c vendor/clang/dist/test/CodeGen/rdr-6098585-fallthrough-to-empty-range.c vendor/clang/dist/test/CodeGen/rdr-6098585-unsigned-caserange.c vendor/clang/dist/test/CodeGen/rdr-6732143-dangling-block-reference.m vendor/clang/dist/test/CodeGen/regparm.c vendor/clang/dist/test/CodeGen/shared-string-literals.c vendor/clang/dist/test/CodeGen/sizeof-vla.c vendor/clang/dist/test/CodeGen/stack-protector.c vendor/clang/dist/test/CodeGen/statements.c vendor/clang/dist/test/CodeGen/static-forward-decl-fun.c vendor/clang/dist/test/CodeGen/static-forward-decl.c vendor/clang/dist/test/CodeGen/static-local-union.c vendor/clang/dist/test/CodeGen/static-order.c vendor/clang/dist/test/CodeGen/staticinit.c vendor/clang/dist/test/CodeGen/stdcall-fastcall.c vendor/clang/dist/test/CodeGen/string-literal.c vendor/clang/dist/test/CodeGen/struct-comma.c vendor/clang/dist/test/CodeGen/struct-copy.c vendor/clang/dist/test/CodeGen/struct-init.c vendor/clang/dist/test/CodeGen/struct-passing.c vendor/clang/dist/test/CodeGen/struct-x86-darwin.c vendor/clang/dist/test/CodeGen/struct.c vendor/clang/dist/test/CodeGen/switch.c vendor/clang/dist/test/CodeGen/target-data.c vendor/clang/dist/test/CodeGen/tentative-decls.c vendor/clang/dist/test/CodeGen/thread-specifier.c vendor/clang/dist/test/CodeGen/trapv.c vendor/clang/dist/test/CodeGen/typedef-func.c vendor/clang/dist/test/CodeGen/typedef.c vendor/clang/dist/test/CodeGen/types.c vendor/clang/dist/test/CodeGen/uint128_t.c vendor/clang/dist/test/CodeGen/union-init.c vendor/clang/dist/test/CodeGen/union-init2.c vendor/clang/dist/test/CodeGen/union.c vendor/clang/dist/test/CodeGen/unreachable.c vendor/clang/dist/test/CodeGen/unwind-attr.c vendor/clang/dist/test/CodeGen/var-align.c vendor/clang/dist/test/CodeGen/variable-array.c vendor/clang/dist/test/CodeGen/vector.c vendor/clang/dist/test/CodeGen/vfprintf.c vendor/clang/dist/test/CodeGen/visibility.c vendor/clang/dist/test/CodeGen/vla.c vendor/clang/dist/test/CodeGen/volatile-1.c vendor/clang/dist/test/CodeGen/volatile.c vendor/clang/dist/test/CodeGen/weak-global.c vendor/clang/dist/test/CodeGen/weak-incomplete.c vendor/clang/dist/test/CodeGen/whilestmt.c vendor/clang/dist/test/CodeGen/writable-strings.c vendor/clang/dist/test/CodeGen/x86.c vendor/clang/dist/test/CodeGen/x86_32-arguments.c vendor/clang/dist/test/CodeGen/x86_64-arguments.c vendor/clang/dist/test/CodeGenCXX/PR4827-cast.cpp vendor/clang/dist/test/CodeGenCXX/PR4890-debug-info-dtor.cpp vendor/clang/dist/test/CodeGenCXX/PR4983-constructor-conversion.cpp vendor/clang/dist/test/CodeGenCXX/PR5050-constructor-conversion.cpp vendor/clang/dist/test/CodeGenCXX/PR5093-static-member-function.cpp vendor/clang/dist/test/CodeGenCXX/__null.cpp vendor/clang/dist/test/CodeGenCXX/address-of-fntemplate.cpp vendor/clang/dist/test/CodeGenCXX/anonymous-namespaces.cpp vendor/clang/dist/test/CodeGenCXX/anonymous-union-member-initializer.cpp vendor/clang/dist/test/CodeGenCXX/array-construction.cpp vendor/clang/dist/test/CodeGenCXX/array-operator-delete-call.cpp vendor/clang/dist/test/CodeGenCXX/array-pointer-decay.cpp vendor/clang/dist/test/CodeGenCXX/array-value-initialize.cpp vendor/clang/dist/test/CodeGenCXX/assign-operator.cpp vendor/clang/dist/test/CodeGenCXX/attr.cpp vendor/clang/dist/test/CodeGenCXX/call-arg-zero-temp.cpp vendor/clang/dist/test/CodeGenCXX/cast-conversion.cpp vendor/clang/dist/test/CodeGenCXX/casts.cpp vendor/clang/dist/test/CodeGenCXX/class-layout.cpp vendor/clang/dist/test/CodeGenCXX/condition.cpp vendor/clang/dist/test/CodeGenCXX/conditional-expr-lvalue.cpp vendor/clang/dist/test/CodeGenCXX/conditional-temporaries.cpp vendor/clang/dist/test/CodeGenCXX/const-global-linkage.cpp vendor/clang/dist/test/CodeGenCXX/const-init.cpp vendor/clang/dist/test/CodeGenCXX/constructor-conversion.cpp vendor/clang/dist/test/CodeGenCXX/constructor-convert.cpp vendor/clang/dist/test/CodeGenCXX/constructor-default-arg.cpp vendor/clang/dist/test/CodeGenCXX/constructor-for-array-members.cpp vendor/clang/dist/test/CodeGenCXX/constructor-init-reference.cpp vendor/clang/dist/test/CodeGenCXX/constructor-init.cpp vendor/clang/dist/test/CodeGenCXX/constructor-template.cpp vendor/clang/dist/test/CodeGenCXX/conversion-function.cpp vendor/clang/dist/test/CodeGenCXX/conversion-operator-base.cpp vendor/clang/dist/test/CodeGenCXX/convert-to-fptr.cpp vendor/clang/dist/test/CodeGenCXX/copy-assign-synthesis-1.cpp vendor/clang/dist/test/CodeGenCXX/copy-assign-synthesis-2.cpp vendor/clang/dist/test/CodeGenCXX/copy-assign-synthesis-3.cpp vendor/clang/dist/test/CodeGenCXX/copy-assign-synthesis.cpp vendor/clang/dist/test/CodeGenCXX/copy-constructor-elim.cpp vendor/clang/dist/test/CodeGenCXX/copy-constructor-synthesis-2.cpp vendor/clang/dist/test/CodeGenCXX/copy-constructor-synthesis.cpp vendor/clang/dist/test/CodeGenCXX/debug-info.cpp vendor/clang/dist/test/CodeGenCXX/decl-ref-init.cpp vendor/clang/dist/test/CodeGenCXX/default-arg-temps.cpp vendor/clang/dist/test/CodeGenCXX/default-arguments.cpp vendor/clang/dist/test/CodeGenCXX/default-constructor-default-argument.cpp vendor/clang/dist/test/CodeGenCXX/default-constructor-for-members.cpp vendor/clang/dist/test/CodeGenCXX/default-constructor-template-member.cpp vendor/clang/dist/test/CodeGenCXX/default-destructor-synthesis.cpp vendor/clang/dist/test/CodeGenCXX/delete-two-arg.cpp vendor/clang/dist/test/CodeGenCXX/delete.cpp vendor/clang/dist/test/CodeGenCXX/derived-to-base-conv.cpp vendor/clang/dist/test/CodeGenCXX/derived-to-base.cpp vendor/clang/dist/test/CodeGenCXX/destructor-calls.cpp vendor/clang/dist/test/CodeGenCXX/destructors.cpp vendor/clang/dist/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp vendor/clang/dist/test/CodeGenCXX/dyncast.cpp vendor/clang/dist/test/CodeGenCXX/eh.cpp vendor/clang/dist/test/CodeGenCXX/elide-call-reference.cpp vendor/clang/dist/test/CodeGenCXX/empty-union.cpp vendor/clang/dist/test/CodeGenCXX/enum.cpp vendor/clang/dist/test/CodeGenCXX/eval-recursive-constant.cpp vendor/clang/dist/test/CodeGenCXX/exceptions.cpp vendor/clang/dist/test/CodeGenCXX/explicit-instantiation.cpp vendor/clang/dist/test/CodeGenCXX/expr.cpp vendor/clang/dist/test/CodeGenCXX/extern-c.cpp vendor/clang/dist/test/CodeGenCXX/function-template-explicit-specialization.cpp vendor/clang/dist/test/CodeGenCXX/function-template-specialization.cpp vendor/clang/dist/test/CodeGenCXX/global-array-destruction.cpp vendor/clang/dist/test/CodeGenCXX/global-init.cpp vendor/clang/dist/test/CodeGenCXX/global-llvm-constant.cpp vendor/clang/dist/test/CodeGenCXX/implicit-instantiation-1.cpp vendor/clang/dist/test/CodeGenCXX/init-incomplete-type.cpp vendor/clang/dist/test/CodeGenCXX/inline-functions.cpp vendor/clang/dist/test/CodeGenCXX/instantiate-init-list.cpp vendor/clang/dist/test/CodeGenCXX/key-function-vtable.cpp vendor/clang/dist/test/CodeGenCXX/mangle-extern-local.cpp vendor/clang/dist/test/CodeGenCXX/mangle-extreme.cpp vendor/clang/dist/test/CodeGenCXX/mangle-subst-std.cpp vendor/clang/dist/test/CodeGenCXX/mangle-subst.cpp vendor/clang/dist/test/CodeGenCXX/mangle-system-header.cpp vendor/clang/dist/test/CodeGenCXX/mangle-template.cpp vendor/clang/dist/test/CodeGenCXX/mangle-unnamed.cpp vendor/clang/dist/test/CodeGenCXX/mangle.cpp vendor/clang/dist/test/CodeGenCXX/member-call-parens.cpp vendor/clang/dist/test/CodeGenCXX/member-expressions.cpp vendor/clang/dist/test/CodeGenCXX/member-function-pointers.cpp vendor/clang/dist/test/CodeGenCXX/member-functions.cpp vendor/clang/dist/test/CodeGenCXX/member-init-struct.cpp vendor/clang/dist/test/CodeGenCXX/member-init-union.cpp vendor/clang/dist/test/CodeGenCXX/member-pointer-cast.cpp vendor/clang/dist/test/CodeGenCXX/member-pointer-type-convert.cpp vendor/clang/dist/test/CodeGenCXX/member-pointers-zero-init.cpp vendor/clang/dist/test/CodeGenCXX/member-templates.cpp vendor/clang/dist/test/CodeGenCXX/namespace-aliases.cpp vendor/clang/dist/test/CodeGenCXX/nested-base-member-access.cpp vendor/clang/dist/test/CodeGenCXX/new-operator-phi.cpp vendor/clang/dist/test/CodeGenCXX/new-with-default-arg.cpp vendor/clang/dist/test/CodeGenCXX/new.cpp vendor/clang/dist/test/CodeGenCXX/nullptr.cpp vendor/clang/dist/test/CodeGenCXX/overload-binop-implicitconvert.cpp vendor/clang/dist/test/CodeGenCXX/predefined-expr-sizeof.cpp vendor/clang/dist/test/CodeGenCXX/predefined-expr.cpp vendor/clang/dist/test/CodeGenCXX/ptr-to-datamember.cpp vendor/clang/dist/test/CodeGenCXX/ptr-to-member-function.cpp vendor/clang/dist/test/CodeGenCXX/reference-field.cpp vendor/clang/dist/test/CodeGenCXX/reference-init.cpp vendor/clang/dist/test/CodeGenCXX/references.cpp vendor/clang/dist/test/CodeGenCXX/reinterpret-cast.cpp vendor/clang/dist/test/CodeGenCXX/rtti-linkage.cpp vendor/clang/dist/test/CodeGenCXX/static-assert.cpp vendor/clang/dist/test/CodeGenCXX/static-data-member.cpp vendor/clang/dist/test/CodeGenCXX/static-init-1.cpp vendor/clang/dist/test/CodeGenCXX/static-init-2.cpp vendor/clang/dist/test/CodeGenCXX/static-init.cpp vendor/clang/dist/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp vendor/clang/dist/test/CodeGenCXX/temp-order.cpp vendor/clang/dist/test/CodeGenCXX/template-anonymous-union-member-initializer.cpp vendor/clang/dist/test/CodeGenCXX/template-linkage.cpp vendor/clang/dist/test/CodeGenCXX/temporaries.cpp vendor/clang/dist/test/CodeGenCXX/throw-expressions.cpp vendor/clang/dist/test/CodeGenCXX/trivial-constructor-init.cpp vendor/clang/dist/test/CodeGenCXX/unary-type-trait.cpp vendor/clang/dist/test/CodeGenCXX/vararg-conversion-ctor.cpp vendor/clang/dist/test/CodeGenCXX/virt-call-offsets.cpp vendor/clang/dist/test/CodeGenCXX/virt-canonical-decl.cpp vendor/clang/dist/test/CodeGenCXX/virt-dtor-gen.cpp vendor/clang/dist/test/CodeGenCXX/virt-dtor-key.cpp vendor/clang/dist/test/CodeGenCXX/virt-template-vtable.cpp vendor/clang/dist/test/CodeGenCXX/virt-thunk-reference.cpp vendor/clang/dist/test/CodeGenCXX/virt.cpp vendor/clang/dist/test/CodeGenCXX/virtual-base-cast.cpp vendor/clang/dist/test/CodeGenCXX/virtual-base-destructor-call.cpp vendor/clang/dist/test/CodeGenCXX/virtual-bases.cpp vendor/clang/dist/test/CodeGenCXX/virtual-destructor-calls.cpp vendor/clang/dist/test/CodeGenCXX/virtual-destructor-synthesis.cpp vendor/clang/dist/test/CodeGenCXX/virtual-function-calls.cpp vendor/clang/dist/test/CodeGenCXX/virtual-functions-incomplete-types.cpp vendor/clang/dist/test/CodeGenCXX/virtual-implicit-copy-assignment.cpp vendor/clang/dist/test/CodeGenCXX/virtual-inherited-destructor.cpp vendor/clang/dist/test/CodeGenCXX/virtual-operator-call.cpp vendor/clang/dist/test/CodeGenCXX/virtual-pseudo-destructor-call.cpp vendor/clang/dist/test/CodeGenCXX/vtable-cast-crash.cpp vendor/clang/dist/test/CodeGenCXX/vtable-key-function.cpp vendor/clang/dist/test/CodeGenCXX/vtable-linkage.cpp vendor/clang/dist/test/CodeGenCXX/x86_64-arguments.cpp vendor/clang/dist/test/CodeGenObjC/2008-10-23-invalid-icmp.m vendor/clang/dist/test/CodeGenObjC/PR4541.m vendor/clang/dist/test/CodeGenObjC/PR4894-recursive-debug-crash.m vendor/clang/dist/test/CodeGenObjC/attr-strong.c vendor/clang/dist/test/CodeGenObjC/bitfield-1.m vendor/clang/dist/test/CodeGenObjC/bitfield-ivar-metadata.m vendor/clang/dist/test/CodeGenObjC/bitfield-ivar-offsets.m vendor/clang/dist/test/CodeGenObjC/blocks-1.m vendor/clang/dist/test/CodeGenObjC/blocks-2.m vendor/clang/dist/test/CodeGenObjC/blocks-3.m vendor/clang/dist/test/CodeGenObjC/blocks.m vendor/clang/dist/test/CodeGenObjC/category-super-class-meth.m vendor/clang/dist/test/CodeGenObjC/class-getter-dotsyntax.m vendor/clang/dist/test/CodeGenObjC/class-type.m vendor/clang/dist/test/CodeGenObjC/compatibility-alias.m vendor/clang/dist/test/CodeGenObjC/constant-strings.m vendor/clang/dist/test/CodeGenObjC/continuation-class.m vendor/clang/dist/test/CodeGenObjC/deadcode_strip_used_var.m vendor/clang/dist/test/CodeGenObjC/debug-info-linkagename.m vendor/clang/dist/test/CodeGenObjC/dot-syntax-1.m vendor/clang/dist/test/CodeGenObjC/dot-syntax.m vendor/clang/dist/test/CodeGenObjC/encode-test-1.m vendor/clang/dist/test/CodeGenObjC/encode-test-2.m vendor/clang/dist/test/CodeGenObjC/encode-test-3.m vendor/clang/dist/test/CodeGenObjC/encode-test-4.m vendor/clang/dist/test/CodeGenObjC/encode-test-5.m vendor/clang/dist/test/CodeGenObjC/encode-test.m vendor/clang/dist/test/CodeGenObjC/for-in.m vendor/clang/dist/test/CodeGenObjC/forward-class-impl-metadata.m vendor/clang/dist/test/CodeGenObjC/hidden-visibility.m vendor/clang/dist/test/CodeGenObjC/hidden.m vendor/clang/dist/test/CodeGenObjC/id-isa-codegen.m vendor/clang/dist/test/CodeGenObjC/image-info.m vendor/clang/dist/test/CodeGenObjC/implicit-objc_msgSend.m vendor/clang/dist/test/CodeGenObjC/implicit-property.m vendor/clang/dist/test/CodeGenObjC/interface-layout-64.m vendor/clang/dist/test/CodeGenObjC/interface.m vendor/clang/dist/test/CodeGenObjC/ivar-layout-64-bitfields.m vendor/clang/dist/test/CodeGenObjC/ivar-layout-64.m vendor/clang/dist/test/CodeGenObjC/ivar-layout-no-optimize.m vendor/clang/dist/test/CodeGenObjC/ivars.m vendor/clang/dist/test/CodeGenObjC/link-errors.m vendor/clang/dist/test/CodeGenObjC/message-arrays.m vendor/clang/dist/test/CodeGenObjC/messages-2.m vendor/clang/dist/test/CodeGenObjC/messages.m vendor/clang/dist/test/CodeGenObjC/metadata-symbols-32.m vendor/clang/dist/test/CodeGenObjC/metadata-symbols-64.m vendor/clang/dist/test/CodeGenObjC/metadata_symbols.m vendor/clang/dist/test/CodeGenObjC/missing-atend-metadata.m vendor/clang/dist/test/CodeGenObjC/nested-rethrow.m vendor/clang/dist/test/CodeGenObjC/newproperty-nested-synthesis-1.m vendor/clang/dist/test/CodeGenObjC/no-category-class.m vendor/clang/dist/test/CodeGenObjC/non-lazy-classes.m vendor/clang/dist/test/CodeGenObjC/objc-align.m vendor/clang/dist/test/CodeGenObjC/objc-assign-ivar.m vendor/clang/dist/test/CodeGenObjC/objc-gc-aggr-assign.m vendor/clang/dist/test/CodeGenObjC/objc-read-weak-byref.m vendor/clang/dist/test/CodeGenObjC/objc2-assign-global.m vendor/clang/dist/test/CodeGenObjC/objc2-ivar-assign.m vendor/clang/dist/test/CodeGenObjC/objc2-new-gc-api-strongcast.m vendor/clang/dist/test/CodeGenObjC/objc2-no-strong-cast.m vendor/clang/dist/test/CodeGenObjC/objc2-no-write-barrier.m vendor/clang/dist/test/CodeGenObjC/objc2-property-encode.m vendor/clang/dist/test/CodeGenObjC/objc2-protocol-enc.m vendor/clang/dist/test/CodeGenObjC/objc2-retain-codegen.m vendor/clang/dist/test/CodeGenObjC/objc2-strong-cast-1.m vendor/clang/dist/test/CodeGenObjC/objc2-strong-cast.m vendor/clang/dist/test/CodeGenObjC/objc2-weak-assign.m vendor/clang/dist/test/CodeGenObjC/objc2-weak-compare.m vendor/clang/dist/test/CodeGenObjC/objc2-weak-import-attribute.m vendor/clang/dist/test/CodeGenObjC/objc2-weak-ivar-debug.m vendor/clang/dist/test/CodeGenObjC/objc2-weak-ivar.m vendor/clang/dist/test/CodeGenObjC/objc2-write-barrier-2.m vendor/clang/dist/test/CodeGenObjC/objc2-write-barrier-3.m vendor/clang/dist/test/CodeGenObjC/objc2-write-barrier-4.m vendor/clang/dist/test/CodeGenObjC/objc2-write-barrier-5.m vendor/clang/dist/test/CodeGenObjC/objc2-write-barrier.m vendor/clang/dist/test/CodeGenObjC/object-incr-decr-1.m vendor/clang/dist/test/CodeGenObjC/overloadable.m vendor/clang/dist/test/CodeGenObjC/predefined-expr.m vendor/clang/dist/test/CodeGenObjC/property-aggr-type.m vendor/clang/dist/test/CodeGenObjC/property-agrr-getter.m vendor/clang/dist/test/CodeGenObjC/property-complex.m vendor/clang/dist/test/CodeGenObjC/property-getter-dot-syntax.m vendor/clang/dist/test/CodeGenObjC/property-incr-decr-1.m vendor/clang/dist/test/CodeGenObjC/property-list-in-class.m vendor/clang/dist/test/CodeGenObjC/property-setter-attr.m vendor/clang/dist/test/CodeGenObjC/property.m vendor/clang/dist/test/CodeGenObjC/protocol-in-extended-class.m vendor/clang/dist/test/CodeGenObjC/protocol-property-synth.m vendor/clang/dist/test/CodeGenObjC/protocols-lazy.m vendor/clang/dist/test/CodeGenObjC/protocols.m vendor/clang/dist/test/CodeGenObjC/runtime-fns.m vendor/clang/dist/test/CodeGenObjC/sel-as-builtin-type.m vendor/clang/dist/test/CodeGenObjC/super-classmethod-category.m vendor/clang/dist/test/CodeGenObjC/super-dotsyntax-property.m vendor/clang/dist/test/CodeGenObjC/super-message-fragileabi.m vendor/clang/dist/test/CodeGenObjC/synchronized.m vendor/clang/dist/test/CodeGenObjC/synthesize_ivar-cont-class.m vendor/clang/dist/test/CodeGenObjC/synthesize_ivar.m vendor/clang/dist/test/CodeGenObjC/try.m vendor/clang/dist/test/CodeGenObjC/undefined-protocol.m vendor/clang/dist/test/CodeGenObjC/unname-bf-metadata.m vendor/clang/dist/test/CodeGenObjC/variadic-sends.m vendor/clang/dist/test/CodeGenObjCXX/mangle.mm vendor/clang/dist/test/Coverage/ast-printing.c vendor/clang/dist/test/Coverage/ast-printing.cpp vendor/clang/dist/test/Coverage/ast-printing.m vendor/clang/dist/test/Coverage/codegen-gnu.m vendor/clang/dist/test/Coverage/codegen-next.m vendor/clang/dist/test/Coverage/codegen.c vendor/clang/dist/test/Coverage/html-diagnostics.c vendor/clang/dist/test/Coverage/html-print.c vendor/clang/dist/test/Coverage/parse-callbacks.c vendor/clang/dist/test/Coverage/parse-callbacks.m vendor/clang/dist/test/Coverage/targets.c vendor/clang/dist/test/Coverage/verbose.c vendor/clang/dist/test/Driver/Xarch.c vendor/clang/dist/test/Driver/analyze.c vendor/clang/dist/test/Driver/arm-darwin-builtin.c vendor/clang/dist/test/Driver/ast.c vendor/clang/dist/test/Driver/bindings.c vendor/clang/dist/test/Driver/ccc-add-args.c vendor/clang/dist/test/Driver/clang-translation.c vendor/clang/dist/test/Driver/clang_cpp.c vendor/clang/dist/test/Driver/clang_f_opts.c vendor/clang/dist/test/Driver/cxx-pth.cpp vendor/clang/dist/test/Driver/darwin-arm.c vendor/clang/dist/test/Driver/darwin-as.c vendor/clang/dist/test/Driver/darwin-cc.c vendor/clang/dist/test/Driver/darwin-ld.c vendor/clang/dist/test/Driver/darwin-version.c vendor/clang/dist/test/Driver/default-toolchain.c vendor/clang/dist/test/Driver/dragonfly.c vendor/clang/dist/test/Driver/emit-llvm.c vendor/clang/dist/test/Driver/flags.c vendor/clang/dist/test/Driver/freebsd.c vendor/clang/dist/test/Driver/hello.c vendor/clang/dist/test/Driver/immediate-options.c vendor/clang/dist/test/Driver/lto.c vendor/clang/dist/test/Driver/openbsd.c vendor/clang/dist/test/Driver/parsing.c vendor/clang/dist/test/Driver/phases.c vendor/clang/dist/test/Driver/preprocessor.c vendor/clang/dist/test/Driver/pth.c vendor/clang/dist/test/Driver/qa_override.c vendor/clang/dist/test/Driver/redzone.c vendor/clang/dist/test/Driver/std.c vendor/clang/dist/test/Driver/unknown-gcc-arch.c vendor/clang/dist/test/Driver/x86_features.c vendor/clang/dist/test/FixIt/fixit-at.c vendor/clang/dist/test/FixIt/fixit-c90.c vendor/clang/dist/test/FixIt/fixit-cxx0x.cpp vendor/clang/dist/test/FixIt/fixit-errors-1.c vendor/clang/dist/test/FixIt/fixit-errors.c vendor/clang/dist/test/FixIt/fixit-objc.m vendor/clang/dist/test/FixIt/fixit-pmem.cpp vendor/clang/dist/test/FixIt/fixit.c vendor/clang/dist/test/FixIt/fixit.cpp vendor/clang/dist/test/Frontend/ast-codegen.c vendor/clang/dist/test/Frontend/ast-main.c vendor/clang/dist/test/Frontend/cpp-output.c vendor/clang/dist/test/Frontend/darwin-version.c vendor/clang/dist/test/Frontend/dependency-gen.c vendor/clang/dist/test/Frontend/output-failures.c vendor/clang/dist/test/Frontend/rewrite-macros.c vendor/clang/dist/test/Frontend/stdin.c vendor/clang/dist/test/Index/TestClassDecl.m vendor/clang/dist/test/Index/TestClassForwardDecl.m vendor/clang/dist/test/Index/c-index-api-fn-scan.m vendor/clang/dist/test/Index/c-index-api-loadTU-test.m vendor/clang/dist/test/Index/c-index-getCursor-test.m vendor/clang/dist/test/Index/c-index-pch.c vendor/clang/dist/test/Index/cindex-from-source.m vendor/clang/dist/test/Index/code-completion.cpp vendor/clang/dist/test/Index/comments.c vendor/clang/dist/test/Index/complete-member-access.m vendor/clang/dist/test/Index/complete-objc-message.m vendor/clang/dist/test/Index/complete-properties.m vendor/clang/dist/test/Index/complete-property-getset.m vendor/clang/dist/test/Index/cxx-operator-overload.cpp vendor/clang/dist/test/Index/find-decls.c vendor/clang/dist/test/Index/find-defs.c vendor/clang/dist/test/Index/find-refs.c vendor/clang/dist/test/Index/multiple-redecls.c vendor/clang/dist/test/Index/objc-decls.m vendor/clang/dist/test/Index/objc-message.m vendor/clang/dist/test/Index/remap-complete.c vendor/clang/dist/test/Index/resolve-loc.c vendor/clang/dist/test/Lexer/11-27-2007-FloatLiterals.c vendor/clang/dist/test/Lexer/badstring_in_if0.c vendor/clang/dist/test/Lexer/block_cmt_end.c vendor/clang/dist/test/Lexer/c90.c vendor/clang/dist/test/Lexer/char-escapes.c vendor/clang/dist/test/Lexer/comment-escape.c vendor/clang/dist/test/Lexer/constants-ms.c vendor/clang/dist/test/Lexer/constants.c vendor/clang/dist/test/Lexer/counter.c vendor/clang/dist/test/Lexer/cxx0x_keyword.cpp vendor/clang/dist/test/Lexer/cxx0x_keyword_as_cxx98.cpp vendor/clang/dist/test/Lexer/digraph.c vendor/clang/dist/test/Lexer/dollar-idents.c vendor/clang/dist/test/Lexer/escape_newline.c vendor/clang/dist/test/Lexer/has_feature_exceptions.cpp vendor/clang/dist/test/Lexer/has_feature_rtti.cpp vendor/clang/dist/test/Lexer/msdos-cpm-eof.c vendor/clang/dist/test/Lexer/multiple-include.c vendor/clang/dist/test/Lexer/numeric-literal-trash.c vendor/clang/dist/test/Lexer/pragma-mark.c vendor/clang/dist/test/Lexer/rdr-6096838-2.c vendor/clang/dist/test/Lexer/rdr-6096838.c vendor/clang/dist/test/Lexer/token-concat-2.c vendor/clang/dist/test/Lexer/token-concat.c vendor/clang/dist/test/Lexer/unknown-char.c vendor/clang/dist/test/Misc/caret-diags-macros.c vendor/clang/dist/test/Misc/caret-diags-scratch-buffer.c vendor/clang/dist/test/Misc/diag-mapping.c vendor/clang/dist/test/Misc/diag-mapping2.c vendor/clang/dist/test/Misc/emit-html-insert.c vendor/clang/dist/test/Misc/emit-html.c vendor/clang/dist/test/Misc/message-length.c vendor/clang/dist/test/Misc/predefines.c vendor/clang/dist/test/Misc/remap-file.c vendor/clang/dist/test/PCH/asm.c vendor/clang/dist/test/PCH/attrs.c vendor/clang/dist/test/PCH/blocks.c vendor/clang/dist/test/PCH/builtins.c vendor/clang/dist/test/PCH/cxx-method.cpp vendor/clang/dist/test/PCH/enum.c vendor/clang/dist/test/PCH/exprs.c vendor/clang/dist/test/PCH/ext_vector.c vendor/clang/dist/test/PCH/external-defs.c vendor/clang/dist/test/PCH/functions.c vendor/clang/dist/test/PCH/functions.h vendor/clang/dist/test/PCH/fuzzy-pch.c vendor/clang/dist/test/PCH/line-directive.c vendor/clang/dist/test/PCH/method_pool.m vendor/clang/dist/test/PCH/multiple_decls.c vendor/clang/dist/test/PCH/nonvisible-external-defs.c vendor/clang/dist/test/PCH/objc_exprs.m vendor/clang/dist/test/PCH/objc_import.m vendor/clang/dist/test/PCH/objc_methods.m vendor/clang/dist/test/PCH/objc_property.m vendor/clang/dist/test/PCH/pr4489.c vendor/clang/dist/test/PCH/preprocess.c vendor/clang/dist/test/PCH/reloc.c vendor/clang/dist/test/PCH/source-manager-stack.c vendor/clang/dist/test/PCH/stmts.c vendor/clang/dist/test/PCH/struct.c vendor/clang/dist/test/PCH/tentative-defs.c vendor/clang/dist/test/PCH/types.c vendor/clang/dist/test/PCH/va_arg.c vendor/clang/dist/test/PCH/variables.c vendor/clang/dist/test/PCH/variables.h vendor/clang/dist/test/Parser/2008-10-31-parse-noop-failure.c vendor/clang/dist/test/Parser/CompoundStmtScope.c vendor/clang/dist/test/Parser/MicrosoftExtensions.c vendor/clang/dist/test/Parser/argument_qualified.c vendor/clang/dist/test/Parser/argument_redef.c vendor/clang/dist/test/Parser/argument_scope.c vendor/clang/dist/test/Parser/asm.c vendor/clang/dist/test/Parser/attributes.c vendor/clang/dist/test/Parser/bad-control.c vendor/clang/dist/test/Parser/block-block-storageclass.c vendor/clang/dist/test/Parser/block-pointer-decl.c vendor/clang/dist/test/Parser/builtin_classify_type.c vendor/clang/dist/test/Parser/builtin_types_compatible.c vendor/clang/dist/test/Parser/c-namespace.c vendor/clang/dist/test/Parser/char-literal-printing.c vendor/clang/dist/test/Parser/check-objc2-syntax-1.m vendor/clang/dist/test/Parser/check-syntax-1.m vendor/clang/dist/test/Parser/check_cast.c vendor/clang/dist/test/Parser/compound_literal.c vendor/clang/dist/test/Parser/control-scope.c vendor/clang/dist/test/Parser/cxx-ambig-paren-expr.cpp vendor/clang/dist/test/Parser/cxx-attributes.cpp vendor/clang/dist/test/Parser/cxx-bool.cpp vendor/clang/dist/test/Parser/cxx-casting.cpp vendor/clang/dist/test/Parser/cxx-class.cpp vendor/clang/dist/test/Parser/cxx-condition.cpp vendor/clang/dist/test/Parser/cxx-decl.cpp vendor/clang/dist/test/Parser/cxx-exception-spec.cpp vendor/clang/dist/test/Parser/cxx-extern-c-array.cpp vendor/clang/dist/test/Parser/cxx-friend.cpp vendor/clang/dist/test/Parser/cxx-member-initializers.cpp vendor/clang/dist/test/Parser/cxx-namespace-alias.cpp vendor/clang/dist/test/Parser/cxx-reference.cpp vendor/clang/dist/test/Parser/cxx-stmt.cpp vendor/clang/dist/test/Parser/cxx-template-decl.cpp vendor/clang/dist/test/Parser/cxx-throw.cpp vendor/clang/dist/test/Parser/cxx-typeid.cpp vendor/clang/dist/test/Parser/cxx-typeof.cpp vendor/clang/dist/test/Parser/cxx-using-declaration.cpp vendor/clang/dist/test/Parser/cxx-using-directive.cpp vendor/clang/dist/test/Parser/cxx-variadic-func.cpp vendor/clang/dist/test/Parser/cxx0x-attributes.cpp vendor/clang/dist/test/Parser/cxx0x-literal-operators.cpp vendor/clang/dist/test/Parser/cxx0x-rvalue-reference.cpp vendor/clang/dist/test/Parser/declarators.c vendor/clang/dist/test/Parser/designator.c vendor/clang/dist/test/Parser/encode.m vendor/clang/dist/test/Parser/enhanced-proto-1.m vendor/clang/dist/test/Parser/expressions.c vendor/clang/dist/test/Parser/expressions.m vendor/clang/dist/test/Parser/extension.c vendor/clang/dist/test/Parser/function-decls.c vendor/clang/dist/test/Parser/goto-ident.c vendor/clang/dist/test/Parser/if-scope-c90.c vendor/clang/dist/test/Parser/if-scope-c99.c vendor/clang/dist/test/Parser/implicit-casts.c vendor/clang/dist/test/Parser/method-prototype-1.m vendor/clang/dist/test/Parser/namelookup-bug-1.c vendor/clang/dist/test/Parser/namelookup-bug-2.c vendor/clang/dist/test/Parser/namespace-alias-attr.cpp vendor/clang/dist/test/Parser/objc-alias-printing.m vendor/clang/dist/test/Parser/objc-category-neg-1.m vendor/clang/dist/test/Parser/objc-forcollection-1.m vendor/clang/dist/test/Parser/objc-forcollection-neg-2.m vendor/clang/dist/test/Parser/objc-forcollection-neg.m vendor/clang/dist/test/Parser/objc-foreach-syntax.m vendor/clang/dist/test/Parser/objc-init.m vendor/clang/dist/test/Parser/objc-interfaces.m vendor/clang/dist/test/Parser/objc-messaging-1.m vendor/clang/dist/test/Parser/objc-messaging-neg-1.m vendor/clang/dist/test/Parser/objc-missing-impl.m vendor/clang/dist/test/Parser/objc-property-syntax.m vendor/clang/dist/test/Parser/objc-quirks.m vendor/clang/dist/test/Parser/objc-synthesized-recover.m vendor/clang/dist/test/Parser/objc-try-catch-1.m vendor/clang/dist/test/Parser/objc-type-printing.m vendor/clang/dist/test/Parser/offsetof.c vendor/clang/dist/test/Parser/parmvardecl_conversion.c vendor/clang/dist/test/Parser/pointer-arithmetic.c vendor/clang/dist/test/Parser/pointer_promotion.c vendor/clang/dist/test/Parser/pragma-pack.c vendor/clang/dist/test/Parser/pragma-weak.c vendor/clang/dist/test/Parser/prefix-attributes.m vendor/clang/dist/test/Parser/promote_types_in_proto.c vendor/clang/dist/test/Parser/recovery.c vendor/clang/dist/test/Parser/selector-1.m vendor/clang/dist/test/Parser/statements.c vendor/clang/dist/test/Parser/struct-recursion.c vendor/clang/dist/test/Parser/top-level-semi-cxx0x.cpp vendor/clang/dist/test/Parser/traditional_arg_scope.c vendor/clang/dist/test/Parser/typeof.c vendor/clang/dist/test/Parser/types.c vendor/clang/dist/test/Preprocessor/_Pragma-dependency.c vendor/clang/dist/test/Preprocessor/_Pragma-dependency2.c vendor/clang/dist/test/Preprocessor/_Pragma-location.c vendor/clang/dist/test/Preprocessor/_Pragma-physloc.c vendor/clang/dist/test/Preprocessor/_Pragma.c vendor/clang/dist/test/Preprocessor/assembler-with-cpp.c vendor/clang/dist/test/Preprocessor/builtin_line.c vendor/clang/dist/test/Preprocessor/c90.c vendor/clang/dist/test/Preprocessor/c99-6_10_3_3_p4.c vendor/clang/dist/test/Preprocessor/c99-6_10_3_4_p5.c vendor/clang/dist/test/Preprocessor/c99-6_10_3_4_p6.c vendor/clang/dist/test/Preprocessor/c99-6_10_3_4_p7.c vendor/clang/dist/test/Preprocessor/c99-6_10_3_4_p9.c vendor/clang/dist/test/Preprocessor/clang_headers.c vendor/clang/dist/test/Preprocessor/comment_save.c vendor/clang/dist/test/Preprocessor/comment_save_if.c vendor/clang/dist/test/Preprocessor/comment_save_macro.c vendor/clang/dist/test/Preprocessor/cxx_and.cpp vendor/clang/dist/test/Preprocessor/cxx_bitand.cpp vendor/clang/dist/test/Preprocessor/cxx_bitor.cpp vendor/clang/dist/test/Preprocessor/cxx_compl.cpp vendor/clang/dist/test/Preprocessor/cxx_not.cpp vendor/clang/dist/test/Preprocessor/cxx_not_eq.cpp vendor/clang/dist/test/Preprocessor/cxx_oper_keyword.cpp vendor/clang/dist/test/Preprocessor/cxx_oper_spelling.cpp vendor/clang/dist/test/Preprocessor/cxx_or.cpp vendor/clang/dist/test/Preprocessor/cxx_true.cpp vendor/clang/dist/test/Preprocessor/cxx_xor.cpp vendor/clang/dist/test/Preprocessor/dependencies-and-pp.c vendor/clang/dist/test/Preprocessor/disabled-cond-diags.c vendor/clang/dist/test/Preprocessor/dump-macros-spacing.c vendor/clang/dist/test/Preprocessor/dump-options.c vendor/clang/dist/test/Preprocessor/dump_macros.c vendor/clang/dist/test/Preprocessor/dumptokens_phyloc.c vendor/clang/dist/test/Preprocessor/expr_comma.c vendor/clang/dist/test/Preprocessor/expr_invalid_tok.c vendor/clang/dist/test/Preprocessor/expr_liveness.c vendor/clang/dist/test/Preprocessor/expr_multichar.c vendor/clang/dist/test/Preprocessor/expr_usual_conversions.c vendor/clang/dist/test/Preprocessor/extension-warning.c vendor/clang/dist/test/Preprocessor/feature_tests.c vendor/clang/dist/test/Preprocessor/function_macro_file.c vendor/clang/dist/test/Preprocessor/has_include.c vendor/clang/dist/test/Preprocessor/hash_line.c vendor/clang/dist/test/Preprocessor/hash_space.c vendor/clang/dist/test/Preprocessor/header_lookup1.c vendor/clang/dist/test/Preprocessor/if_warning.c vendor/clang/dist/test/Preprocessor/ifdef-recover.c vendor/clang/dist/test/Preprocessor/import_self.c vendor/clang/dist/test/Preprocessor/include-directive1.c vendor/clang/dist/test/Preprocessor/include-directive2.c vendor/clang/dist/test/Preprocessor/include-directive3.c vendor/clang/dist/test/Preprocessor/include-macros.c vendor/clang/dist/test/Preprocessor/include-pth.c vendor/clang/dist/test/Preprocessor/indent_macro.c vendor/clang/dist/test/Preprocessor/init.c vendor/clang/dist/test/Preprocessor/line-directive.c vendor/clang/dist/test/Preprocessor/macro-multiline.c vendor/clang/dist/test/Preprocessor/macro_arg_keyword.c vendor/clang/dist/test/Preprocessor/macro_disable.c vendor/clang/dist/test/Preprocessor/macro_disable2.c vendor/clang/dist/test/Preprocessor/macro_disable3.c vendor/clang/dist/test/Preprocessor/macro_disable4.c vendor/clang/dist/test/Preprocessor/macro_expand.c vendor/clang/dist/test/Preprocessor/macro_expandloc.c vendor/clang/dist/test/Preprocessor/macro_expandloc2.c vendor/clang/dist/test/Preprocessor/macro_fn.c vendor/clang/dist/test/Preprocessor/macro_fn_comma_swallow.c vendor/clang/dist/test/Preprocessor/macro_fn_disable_expand.c vendor/clang/dist/test/Preprocessor/macro_fn_lparen_scan.c vendor/clang/dist/test/Preprocessor/macro_fn_lparen_scan2.c vendor/clang/dist/test/Preprocessor/macro_fn_placemarker.c vendor/clang/dist/test/Preprocessor/macro_fn_preexpand.c vendor/clang/dist/test/Preprocessor/macro_fn_varargs_iso.c vendor/clang/dist/test/Preprocessor/macro_fn_varargs_named.c vendor/clang/dist/test/Preprocessor/macro_misc.c vendor/clang/dist/test/Preprocessor/macro_not_define.c vendor/clang/dist/test/Preprocessor/macro_paste_bad.c vendor/clang/dist/test/Preprocessor/macro_paste_bcpl_comment.c vendor/clang/dist/test/Preprocessor/macro_paste_c_block_comment.c vendor/clang/dist/test/Preprocessor/macro_paste_commaext.c vendor/clang/dist/test/Preprocessor/macro_paste_empty.c vendor/clang/dist/test/Preprocessor/macro_paste_hard.c vendor/clang/dist/test/Preprocessor/macro_paste_hashhash.c vendor/clang/dist/test/Preprocessor/macro_paste_mscomment.c vendor/clang/dist/test/Preprocessor/macro_paste_none.c vendor/clang/dist/test/Preprocessor/macro_paste_simple.c vendor/clang/dist/test/Preprocessor/macro_paste_spacing.c vendor/clang/dist/test/Preprocessor/macro_paste_spacing2.c vendor/clang/dist/test/Preprocessor/macro_rescan.c vendor/clang/dist/test/Preprocessor/macro_rescan2.c vendor/clang/dist/test/Preprocessor/macro_rescan_varargs.c vendor/clang/dist/test/Preprocessor/macro_rparen_scan.c vendor/clang/dist/test/Preprocessor/macro_rparen_scan2.c vendor/clang/dist/test/Preprocessor/macro_space.c vendor/clang/dist/test/Preprocessor/macro_undef.c vendor/clang/dist/test/Preprocessor/mi_opt.c vendor/clang/dist/test/Preprocessor/non_fragile_feature.m vendor/clang/dist/test/Preprocessor/non_fragile_feature1.m vendor/clang/dist/test/Preprocessor/objc-pp.m vendor/clang/dist/test/Preprocessor/optimize.c vendor/clang/dist/test/Preprocessor/output_paste_avoid.c vendor/clang/dist/test/Preprocessor/overflow.c vendor/clang/dist/test/Preprocessor/pic.c vendor/clang/dist/test/Preprocessor/pr2086.c vendor/clang/dist/test/Preprocessor/pragma_microsoft.c vendor/clang/dist/test/Preprocessor/pragma_poison.c vendor/clang/dist/test/Preprocessor/pragma_sysheader.c vendor/clang/dist/test/Preprocessor/pragma_unknown.c vendor/clang/dist/test/Preprocessor/print_line_count.c vendor/clang/dist/test/Preprocessor/print_line_track.c vendor/clang/dist/test/Preprocessor/pushable-diagnostics.c vendor/clang/dist/test/Preprocessor/skipping_unclean.c vendor/clang/dist/test/Preprocessor/stdint.c vendor/clang/dist/test/Preprocessor/stringize_misc.c vendor/clang/dist/test/Preprocessor/stringize_space.c vendor/clang/dist/test/Preprocessor/stringize_space2.c vendor/clang/dist/test/Preprocessor/undef-error.c vendor/clang/dist/test/Preprocessor/unterminated.c vendor/clang/dist/test/Preprocessor/x86_target_features.c vendor/clang/dist/test/Rewriter/crash.m vendor/clang/dist/test/Rewriter/finally.m vendor/clang/dist/test/Rewriter/id-test-3.m vendor/clang/dist/test/Rewriter/ivar-encoding-1.m vendor/clang/dist/test/Rewriter/ivar-encoding-2.m vendor/clang/dist/test/Rewriter/metadata-test-1.m vendor/clang/dist/test/Rewriter/metadata-test-2.m vendor/clang/dist/test/Rewriter/method-encoding-1.m vendor/clang/dist/test/Rewriter/objc-encoding-bug-1.m vendor/clang/dist/test/Rewriter/objc-ivar-receiver-1.m vendor/clang/dist/test/Rewriter/objc-string-concat-1.m vendor/clang/dist/test/Rewriter/objc-super-test.m vendor/clang/dist/test/Rewriter/objc-synchronized-1.m vendor/clang/dist/test/Rewriter/properties.m vendor/clang/dist/test/Rewriter/protocol-rewrite-1.m vendor/clang/dist/test/Rewriter/rewrite-api-bug.m vendor/clang/dist/test/Rewriter/rewrite-foreach-1.m vendor/clang/dist/test/Rewriter/rewrite-foreach-2.m vendor/clang/dist/test/Rewriter/rewrite-foreach-3.m vendor/clang/dist/test/Rewriter/rewrite-foreach-4.m vendor/clang/dist/test/Rewriter/rewrite-foreach-5.m vendor/clang/dist/test/Rewriter/rewrite-foreach-6.m vendor/clang/dist/test/Rewriter/rewrite-nest.m vendor/clang/dist/test/Rewriter/rewrite-protocol-type-1.m vendor/clang/dist/test/Rewriter/rewrite-try-catch.m vendor/clang/dist/test/Rewriter/static-type-protocol-1.m vendor/clang/dist/test/Rewriter/undecl-objc-h.m vendor/clang/dist/test/Rewriter/undeclared-method-1.m vendor/clang/dist/test/Rewriter/undef-field-reference-1.m vendor/clang/dist/test/Rewriter/va-method.m vendor/clang/dist/test/Sema/128bitint.c vendor/clang/dist/test/Sema/PR2727.c vendor/clang/dist/test/Sema/PR2728.c vendor/clang/dist/test/Sema/PR2919-builtin-types-compat-strips-crv.c vendor/clang/dist/test/Sema/PR2923.c vendor/clang/dist/test/Sema/PR2963-enum-constant.c vendor/clang/dist/test/Sema/address-constant.c vendor/clang/dist/test/Sema/address_spaces.c vendor/clang/dist/test/Sema/align-arm-apcs.c vendor/clang/dist/test/Sema/align-x86.c vendor/clang/dist/test/Sema/altivec-init.c vendor/clang/dist/test/Sema/annotate.c vendor/clang/dist/test/Sema/anonymous-struct-union.c vendor/clang/dist/test/Sema/arg-duplicate.c vendor/clang/dist/test/Sema/arg-scope-c99.c vendor/clang/dist/test/Sema/arg-scope.c vendor/clang/dist/test/Sema/array-constraint.c vendor/clang/dist/test/Sema/array-declared-as-incorrect-type.c vendor/clang/dist/test/Sema/array-init.c vendor/clang/dist/test/Sema/asm.c vendor/clang/dist/test/Sema/assign-null.c vendor/clang/dist/test/Sema/assign.c vendor/clang/dist/test/Sema/ast-print.c vendor/clang/dist/test/Sema/attr-aligned.c vendor/clang/dist/test/Sema/attr-cleanup.c vendor/clang/dist/test/Sema/attr-decl-after-definition.c vendor/clang/dist/test/Sema/attr-deprecated.c vendor/clang/dist/test/Sema/attr-format_arg.c vendor/clang/dist/test/Sema/attr-malloc.c vendor/clang/dist/test/Sema/attr-mode.c vendor/clang/dist/test/Sema/attr-nodebug.c vendor/clang/dist/test/Sema/attr-noinline.c vendor/clang/dist/test/Sema/attr-noreturn.c vendor/clang/dist/test/Sema/attr-regparm.c vendor/clang/dist/test/Sema/attr-section.c vendor/clang/dist/test/Sema/attr-unused.c vendor/clang/dist/test/Sema/attr-used.c vendor/clang/dist/test/Sema/attr-weak.c vendor/clang/dist/test/Sema/bitfield-layout.c vendor/clang/dist/test/Sema/bitfield-promote-int-16bit.c vendor/clang/dist/test/Sema/bitfield-promote.c vendor/clang/dist/test/Sema/bitfield.c vendor/clang/dist/test/Sema/block-args.c vendor/clang/dist/test/Sema/block-as-object.m vendor/clang/dist/test/Sema/block-byref-args.c vendor/clang/dist/test/Sema/block-call.c vendor/clang/dist/test/Sema/block-labels.c vendor/clang/dist/test/Sema/block-literal.c vendor/clang/dist/test/Sema/block-misc.c vendor/clang/dist/test/Sema/block-printf-attribute-1.c vendor/clang/dist/test/Sema/block-return-1.c vendor/clang/dist/test/Sema/block-return-2.c vendor/clang/dist/test/Sema/block-return-3.c vendor/clang/dist/test/Sema/block-return.c vendor/clang/dist/test/Sema/block-sentinel-attribute.c vendor/clang/dist/test/Sema/block-storageclass.c vendor/clang/dist/test/Sema/builtin-object-size.c vendor/clang/dist/test/Sema/builtin-prefetch.c vendor/clang/dist/test/Sema/builtin-stackaddress.c vendor/clang/dist/test/Sema/builtin-unary-fp.c vendor/clang/dist/test/Sema/builtins.c vendor/clang/dist/test/Sema/c89-2.c vendor/clang/dist/test/Sema/c89.c vendor/clang/dist/test/Sema/callingconv.c vendor/clang/dist/test/Sema/carbon.c vendor/clang/dist/test/Sema/cast-to-union.c vendor/clang/dist/test/Sema/cast.c vendor/clang/dist/test/Sema/check-increment.c vendor/clang/dist/test/Sema/compare.c vendor/clang/dist/test/Sema/complex-int.c vendor/clang/dist/test/Sema/complex-promotion.c vendor/clang/dist/test/Sema/compound-literal.c vendor/clang/dist/test/Sema/conditional-expr.c vendor/clang/dist/test/Sema/conditional.c vendor/clang/dist/test/Sema/const-eval.c vendor/clang/dist/test/Sema/const-ptr-int-ptr-cast.c vendor/clang/dist/test/Sema/constant-builtins-2.c vendor/clang/dist/test/Sema/constant-builtins.c vendor/clang/dist/test/Sema/constructor-attribute.c vendor/clang/dist/test/Sema/conversion-64-32.c vendor/clang/dist/test/Sema/conversion.c vendor/clang/dist/test/Sema/darwin-align-cast.c vendor/clang/dist/test/Sema/decl-invalid.c vendor/clang/dist/test/Sema/decl-type-merging.c vendor/clang/dist/test/Sema/declspec.c vendor/clang/dist/test/Sema/default.c vendor/clang/dist/test/Sema/default1.c vendor/clang/dist/test/Sema/deref.c vendor/clang/dist/test/Sema/designated-initializers.c vendor/clang/dist/test/Sema/dllimport-dllexport.c vendor/clang/dist/test/Sema/enum.c vendor/clang/dist/test/Sema/expr-address-of.c vendor/clang/dist/test/Sema/expr-comma-c89.c vendor/clang/dist/test/Sema/expr-comma.c vendor/clang/dist/test/Sema/exprs.c vendor/clang/dist/test/Sema/ext_vector_casts.c vendor/clang/dist/test/Sema/ext_vector_components.c vendor/clang/dist/test/Sema/flexible-array-init.c vendor/clang/dist/test/Sema/floating-point-compare.c vendor/clang/dist/test/Sema/for.c vendor/clang/dist/test/Sema/format-attr-pr4470.c vendor/clang/dist/test/Sema/format-attribute-printf0.c vendor/clang/dist/test/Sema/format-attribute.c vendor/clang/dist/test/Sema/format-string-percentm.c vendor/clang/dist/test/Sema/format-strings.c vendor/clang/dist/test/Sema/freemain.c vendor/clang/dist/test/Sema/function-pointer-sentinel-attribute.c vendor/clang/dist/test/Sema/function-ptr.c vendor/clang/dist/test/Sema/function-redecl.c vendor/clang/dist/test/Sema/function-sentinel-attr.c vendor/clang/dist/test/Sema/function.c vendor/clang/dist/test/Sema/gnu89.c vendor/clang/dist/test/Sema/heinous-extensions-off.c vendor/clang/dist/test/Sema/heinous-extensions-on.c vendor/clang/dist/test/Sema/i-c-e.c vendor/clang/dist/test/Sema/if-empty-body.c vendor/clang/dist/test/Sema/illegal-types.c vendor/clang/dist/test/Sema/implicit-builtin-decl.c vendor/clang/dist/test/Sema/implicit-builtin-freestanding.c vendor/clang/dist/test/Sema/implicit-builtin-redecl.c vendor/clang/dist/test/Sema/implicit-cast.c vendor/clang/dist/test/Sema/implicit-decl.c vendor/clang/dist/test/Sema/implicit-def.c vendor/clang/dist/test/Sema/implicit-int.c vendor/clang/dist/test/Sema/incompatible-sign.c vendor/clang/dist/test/Sema/incomplete-call.c vendor/clang/dist/test/Sema/incomplete-decl.c vendor/clang/dist/test/Sema/indirect-goto.c vendor/clang/dist/test/Sema/init-struct-qualified.c vendor/clang/dist/test/Sema/init-vector.c vendor/clang/dist/test/Sema/init.c vendor/clang/dist/test/Sema/inline.c vendor/clang/dist/test/Sema/int-arith-convert.c vendor/clang/dist/test/Sema/invalid-decl.c vendor/clang/dist/test/Sema/invalid-init-diag.c vendor/clang/dist/test/Sema/invalid-struct-init.c vendor/clang/dist/test/Sema/knr-def-call.c vendor/clang/dist/test/Sema/knr-variadic-def.c vendor/clang/dist/test/Sema/member-reference.c vendor/clang/dist/test/Sema/merge-decls.c vendor/clang/dist/test/Sema/ms-fuzzy-asm.c vendor/clang/dist/test/Sema/nested-redef.c vendor/clang/dist/test/Sema/offsetof.c vendor/clang/dist/test/Sema/overloadable-complex.c vendor/clang/dist/test/Sema/overloadable.c vendor/clang/dist/test/Sema/parentheses.c vendor/clang/dist/test/Sema/pointer-addition.c vendor/clang/dist/test/Sema/pointer-conversion.c vendor/clang/dist/test/Sema/pointer-subtract-compat.c vendor/clang/dist/test/Sema/pragma-pack-2.c vendor/clang/dist/test/Sema/pragma-pack-3.c vendor/clang/dist/test/Sema/pragma-pack-4.c vendor/clang/dist/test/Sema/pragma-pack.c vendor/clang/dist/test/Sema/pragma-unused.c vendor/clang/dist/test/Sema/predef.c vendor/clang/dist/test/Sema/predefined-function.c vendor/clang/dist/test/Sema/private-extern.c vendor/clang/dist/test/Sema/promote-int-16bit.c vendor/clang/dist/test/Sema/rdar6248119.m vendor/clang/dist/test/Sema/rdr6094103-unordered-compare-promote.c vendor/clang/dist/test/Sema/recover-goto.c vendor/clang/dist/test/Sema/redefinition.c vendor/clang/dist/test/Sema/return-noreturn.c vendor/clang/dist/test/Sema/return-silent.c vendor/clang/dist/test/Sema/return.c vendor/clang/dist/test/Sema/scope-check.c vendor/clang/dist/test/Sema/self-comparison.c vendor/clang/dist/test/Sema/sentinel-attribute.c vendor/clang/dist/test/Sema/shift.c vendor/clang/dist/test/Sema/statements.c vendor/clang/dist/test/Sema/static-init.c vendor/clang/dist/test/Sema/stdcall-fastcall.c vendor/clang/dist/test/Sema/struct-cast.c vendor/clang/dist/test/Sema/struct-compat.c vendor/clang/dist/test/Sema/struct-decl.c vendor/clang/dist/test/Sema/struct-packed-align.c vendor/clang/dist/test/Sema/surpress-deprecated.c vendor/clang/dist/test/Sema/switch.c vendor/clang/dist/test/Sema/tentative-decls.c vendor/clang/dist/test/Sema/text-diag.c vendor/clang/dist/test/Sema/thread-specifier.c vendor/clang/dist/test/Sema/transparent-union-pointer.c vendor/clang/dist/test/Sema/transparent-union.c vendor/clang/dist/test/Sema/type-spec-struct-union.c vendor/clang/dist/test/Sema/typecheck-binop.c vendor/clang/dist/test/Sema/typedef-prototype.c vendor/clang/dist/test/Sema/typedef-redef.c vendor/clang/dist/test/Sema/typedef-retain.c vendor/clang/dist/test/Sema/typedef-variable-type.c vendor/clang/dist/test/Sema/types.c vendor/clang/dist/test/Sema/ucn-cstring.c vendor/clang/dist/test/Sema/unnamed-bitfield-init.c vendor/clang/dist/test/Sema/unused-expr.c vendor/clang/dist/test/Sema/usual-float.c vendor/clang/dist/test/Sema/va_arg_x86_32.c vendor/clang/dist/test/Sema/va_arg_x86_64.c vendor/clang/dist/test/Sema/var-redecl.c vendor/clang/dist/test/Sema/varargs-x86-64.c vendor/clang/dist/test/Sema/varargs.c vendor/clang/dist/test/Sema/variadic-block.c vendor/clang/dist/test/Sema/vector-assign.c vendor/clang/dist/test/Sema/vector-cast.c vendor/clang/dist/test/Sema/vector-init.c vendor/clang/dist/test/Sema/vfprintf-invalid-redecl.c vendor/clang/dist/test/Sema/vfprintf-valid-redecl.c vendor/clang/dist/test/Sema/vla.c vendor/clang/dist/test/Sema/void_arg.c vendor/clang/dist/test/Sema/warn-char-subscripts.c vendor/clang/dist/test/Sema/warn-freestanding-complex.c vendor/clang/dist/test/Sema/warn-missing-prototypes.c vendor/clang/dist/test/Sema/warn-unused-parameters.c vendor/clang/dist/test/Sema/warn-unused-variables.c vendor/clang/dist/test/Sema/wchar.c vendor/clang/dist/test/Sema/x86-intrinsics-headers.c vendor/clang/dist/test/SemaCXX/PR5086-ambig-resolution-enum.cpp vendor/clang/dist/test/SemaCXX/__null.cpp vendor/clang/dist/test/SemaCXX/abstract.cpp vendor/clang/dist/test/SemaCXX/access-base-class.cpp vendor/clang/dist/test/SemaCXX/access-control-check.cpp vendor/clang/dist/test/SemaCXX/access.cpp vendor/clang/dist/test/SemaCXX/addr-of-overloaded-function.cpp vendor/clang/dist/test/SemaCXX/address-of.cpp vendor/clang/dist/test/SemaCXX/aggregate-initialization.cpp vendor/clang/dist/test/SemaCXX/alignof-sizeof-reference.cpp vendor/clang/dist/test/SemaCXX/ambig-user-defined-conversions.cpp vendor/clang/dist/test/SemaCXX/ambiguous-builtin-unary-operator.cpp vendor/clang/dist/test/SemaCXX/anonymous-union.cpp vendor/clang/dist/test/SemaCXX/array-bound-merge.cpp vendor/clang/dist/test/SemaCXX/arrow-operator.cpp vendor/clang/dist/test/SemaCXX/attr-after-definition.cpp vendor/clang/dist/test/SemaCXX/attr-cxx0x.cpp vendor/clang/dist/test/SemaCXX/attr-deprecated.cpp vendor/clang/dist/test/SemaCXX/attr-format.cpp vendor/clang/dist/test/SemaCXX/attr-noreturn.cpp vendor/clang/dist/test/SemaCXX/attr-sentinel.cpp vendor/clang/dist/test/SemaCXX/attr-unavailable.cpp vendor/clang/dist/test/SemaCXX/auto-cxx0x.cpp vendor/clang/dist/test/SemaCXX/auto-cxx98.cpp vendor/clang/dist/test/SemaCXX/blocks.cpp vendor/clang/dist/test/SemaCXX/bool.cpp vendor/clang/dist/test/SemaCXX/builtin-ptrtomember-ambig.cpp vendor/clang/dist/test/SemaCXX/builtin-ptrtomember-overload-1.cpp vendor/clang/dist/test/SemaCXX/builtin-ptrtomember-overload.cpp vendor/clang/dist/test/SemaCXX/builtins.cpp vendor/clang/dist/test/SemaCXX/c99.cpp vendor/clang/dist/test/SemaCXX/cast-conversion.cpp vendor/clang/dist/test/SemaCXX/cast-explicit-ctor.cpp vendor/clang/dist/test/SemaCXX/class-base-member-init.cpp vendor/clang/dist/test/SemaCXX/class-layout.cpp vendor/clang/dist/test/SemaCXX/class-names.cpp vendor/clang/dist/test/SemaCXX/class.cpp vendor/clang/dist/test/SemaCXX/compare.cpp vendor/clang/dist/test/SemaCXX/complex-overload.cpp vendor/clang/dist/test/SemaCXX/composite-pointer-type.cpp vendor/clang/dist/test/SemaCXX/condition.cpp vendor/clang/dist/test/SemaCXX/conditional-expr.cpp vendor/clang/dist/test/SemaCXX/const-cast.cpp vendor/clang/dist/test/SemaCXX/constant-expression.cpp vendor/clang/dist/test/SemaCXX/constructor-initializer.cpp vendor/clang/dist/test/SemaCXX/constructor-recovery.cpp vendor/clang/dist/test/SemaCXX/constructor.cpp vendor/clang/dist/test/SemaCXX/conversion-delete-expr.cpp vendor/clang/dist/test/SemaCXX/conversion-function.cpp vendor/clang/dist/test/SemaCXX/convert-to-bool.cpp vendor/clang/dist/test/SemaCXX/converting-constructor.cpp vendor/clang/dist/test/SemaCXX/copy-assignment.cpp vendor/clang/dist/test/SemaCXX/copy-constructor-error.cpp vendor/clang/dist/test/SemaCXX/copy-initialization.cpp vendor/clang/dist/test/SemaCXX/cstyle-cast.cpp vendor/clang/dist/test/SemaCXX/cxx-member-pointer-op.cpp vendor/clang/dist/test/SemaCXX/dcl_ambig_res.cpp vendor/clang/dist/test/SemaCXX/dcl_init_aggr.cpp vendor/clang/dist/test/SemaCXX/decl-expr-ambiguity.cpp vendor/clang/dist/test/SemaCXX/decl-init-ref.cpp vendor/clang/dist/test/SemaCXX/decltype-crash.cpp vendor/clang/dist/test/SemaCXX/decltype-overloaded-functions.cpp vendor/clang/dist/test/SemaCXX/decltype-pr4444.cpp vendor/clang/dist/test/SemaCXX/decltype-pr4448.cpp vendor/clang/dist/test/SemaCXX/decltype-this.cpp vendor/clang/dist/test/SemaCXX/default-argument-temporaries.cpp vendor/clang/dist/test/SemaCXX/default-assignment-operator.cpp vendor/clang/dist/test/SemaCXX/default-constructor-initializers.cpp vendor/clang/dist/test/SemaCXX/default1.cpp vendor/clang/dist/test/SemaCXX/default2.cpp vendor/clang/dist/test/SemaCXX/deleted-function.cpp vendor/clang/dist/test/SemaCXX/dependent-types.cpp vendor/clang/dist/test/SemaCXX/derived-to-base-ambig.cpp vendor/clang/dist/test/SemaCXX/destructor.cpp vendor/clang/dist/test/SemaCXX/direct-initializer.cpp vendor/clang/dist/test/SemaCXX/do-while-scope.cpp vendor/clang/dist/test/SemaCXX/dynamic-cast.cpp vendor/clang/dist/test/SemaCXX/elaborated-type-specifier.cpp vendor/clang/dist/test/SemaCXX/empty-class-layout.cpp vendor/clang/dist/test/SemaCXX/enum.cpp vendor/clang/dist/test/SemaCXX/exception-spec.cpp vendor/clang/dist/test/SemaCXX/exceptions.cpp vendor/clang/dist/test/SemaCXX/expressions.cpp vendor/clang/dist/test/SemaCXX/fntype-decl.cpp vendor/clang/dist/test/SemaCXX/format-attribute.cpp vendor/clang/dist/test/SemaCXX/friend-class-nodecl.cpp vendor/clang/dist/test/SemaCXX/friend.cpp vendor/clang/dist/test/SemaCXX/function-overloaded-redecl.cpp vendor/clang/dist/test/SemaCXX/function-redecl.cpp vendor/clang/dist/test/SemaCXX/function-type-qual.cpp vendor/clang/dist/test/SemaCXX/functional-cast.cpp vendor/clang/dist/test/SemaCXX/i-c-e-cxx.cpp vendor/clang/dist/test/SemaCXX/illegal-member-initialization.cpp vendor/clang/dist/test/SemaCXX/implicit-int.cpp vendor/clang/dist/test/SemaCXX/implicit-member-functions.cpp vendor/clang/dist/test/SemaCXX/implicit-virtual-member-functions.cpp vendor/clang/dist/test/SemaCXX/incomplete-call.cpp vendor/clang/dist/test/SemaCXX/inherit.cpp vendor/clang/dist/test/SemaCXX/inline.cpp vendor/clang/dist/test/SemaCXX/invalid-member-expr.cpp vendor/clang/dist/test/SemaCXX/invalid-template-specifier.cpp vendor/clang/dist/test/SemaCXX/libstdcxx_is_pod_hack.cpp vendor/clang/dist/test/SemaCXX/linkage-spec.cpp vendor/clang/dist/test/SemaCXX/literal-type.cpp vendor/clang/dist/test/SemaCXX/member-expr-anonymous-union.cpp vendor/clang/dist/test/SemaCXX/member-expr-static.cpp vendor/clang/dist/test/SemaCXX/member-expr.cpp vendor/clang/dist/test/SemaCXX/member-location.cpp vendor/clang/dist/test/SemaCXX/member-name-lookup.cpp vendor/clang/dist/test/SemaCXX/member-operator-expr.cpp vendor/clang/dist/test/SemaCXX/member-pointer-size.cpp vendor/clang/dist/test/SemaCXX/member-pointer.cpp vendor/clang/dist/test/SemaCXX/member-pointers-2.cpp vendor/clang/dist/test/SemaCXX/missing-members.cpp vendor/clang/dist/test/SemaCXX/ms-exception-spec.cpp vendor/clang/dist/test/SemaCXX/namespace-alias.cpp vendor/clang/dist/test/SemaCXX/namespace.cpp vendor/clang/dist/test/SemaCXX/nested-name-spec.cpp vendor/clang/dist/test/SemaCXX/new-delete.cpp vendor/clang/dist/test/SemaCXX/no-implicit-builtin-decls.cpp vendor/clang/dist/test/SemaCXX/nullptr.cpp vendor/clang/dist/test/SemaCXX/offsetof.cpp vendor/clang/dist/test/SemaCXX/overload-call-copycon.cpp vendor/clang/dist/test/SemaCXX/overload-call.cpp vendor/clang/dist/test/SemaCXX/overload-decl.cpp vendor/clang/dist/test/SemaCXX/overload-member-call.cpp vendor/clang/dist/test/SemaCXX/overload-value-dep-arg.cpp vendor/clang/dist/test/SemaCXX/overloaded-builtin-operators.cpp vendor/clang/dist/test/SemaCXX/overloaded-operator-decl.cpp vendor/clang/dist/test/SemaCXX/overloaded-operator.cpp vendor/clang/dist/test/SemaCXX/prefetch-enum.cpp vendor/clang/dist/test/SemaCXX/primary-base.cpp vendor/clang/dist/test/SemaCXX/pseudo-destructors.cpp vendor/clang/dist/test/SemaCXX/ptrtomember-badcall.cpp vendor/clang/dist/test/SemaCXX/ptrtomember-overload-resolution.cpp vendor/clang/dist/test/SemaCXX/qual-id-test.cpp vendor/clang/dist/test/SemaCXX/qualification-conversion.cpp vendor/clang/dist/test/SemaCXX/qualified-id-lookup.cpp vendor/clang/dist/test/SemaCXX/qualified-names-diag.cpp vendor/clang/dist/test/SemaCXX/qualified-names-print.cpp vendor/clang/dist/test/SemaCXX/ref-init-ambiguous.cpp vendor/clang/dist/test/SemaCXX/references.cpp vendor/clang/dist/test/SemaCXX/reinterpret-cast.cpp vendor/clang/dist/test/SemaCXX/reinterpret-fn-obj-pedantic.cpp vendor/clang/dist/test/SemaCXX/return-stack-addr.cpp vendor/clang/dist/test/SemaCXX/return.cpp vendor/clang/dist/test/SemaCXX/rval-references.cpp vendor/clang/dist/test/SemaCXX/statements.cpp vendor/clang/dist/test/SemaCXX/static-array-member.cpp vendor/clang/dist/test/SemaCXX/static-assert.cpp vendor/clang/dist/test/SemaCXX/static-cast-complete-type.cpp vendor/clang/dist/test/SemaCXX/static-cast.cpp vendor/clang/dist/test/SemaCXX/static-initializers.cpp vendor/clang/dist/test/SemaCXX/struct-class-redecl.cpp vendor/clang/dist/test/SemaCXX/switch-0x.cpp vendor/clang/dist/test/SemaCXX/switch.cpp vendor/clang/dist/test/SemaCXX/this.cpp vendor/clang/dist/test/SemaCXX/trivial-constructor.cpp vendor/clang/dist/test/SemaCXX/trivial-destructor.cpp vendor/clang/dist/test/SemaCXX/type-convert-construct.cpp vendor/clang/dist/test/SemaCXX/type-definition-in-specifier.cpp vendor/clang/dist/test/SemaCXX/type-dependent-exprs.cpp vendor/clang/dist/test/SemaCXX/type-traits-incomplete.cpp vendor/clang/dist/test/SemaCXX/type-traits.cpp vendor/clang/dist/test/SemaCXX/typedef-redecl.cpp vendor/clang/dist/test/SemaCXX/typeid.cpp vendor/clang/dist/test/SemaCXX/types_compatible_p.cpp vendor/clang/dist/test/SemaCXX/unknown-type-name.cpp vendor/clang/dist/test/SemaCXX/unreachable-catch-clauses.cpp vendor/clang/dist/test/SemaCXX/unused.cpp vendor/clang/dist/test/SemaCXX/user-defined-conversions.cpp vendor/clang/dist/test/SemaCXX/using-decl-1.cpp vendor/clang/dist/test/SemaCXX/using-decl-pr4441.cpp vendor/clang/dist/test/SemaCXX/using-decl-pr4450.cpp vendor/clang/dist/test/SemaCXX/using-decl-templates.cpp vendor/clang/dist/test/SemaCXX/using-directive.cpp vendor/clang/dist/test/SemaCXX/value-dependent-exprs.cpp vendor/clang/dist/test/SemaCXX/value-initialization.cpp vendor/clang/dist/test/SemaCXX/vararg-default-arg.cpp vendor/clang/dist/test/SemaCXX/vararg-non-pod.cpp vendor/clang/dist/test/SemaCXX/vector-casts.cpp vendor/clang/dist/test/SemaCXX/virtual-member-functions-key-function.cpp vendor/clang/dist/test/SemaCXX/virtual-override.cpp vendor/clang/dist/test/SemaCXX/virtuals.cpp vendor/clang/dist/test/SemaCXX/warn-assignment-condition.cpp vendor/clang/dist/test/SemaCXX/warn-char-subscripts.cpp vendor/clang/dist/test/SemaCXX/warn-for-var-in-else.cpp vendor/clang/dist/test/SemaCXX/warn-missing-prototypes.cpp vendor/clang/dist/test/SemaCXX/warn-reorder-ctor-initialization.cpp vendor/clang/dist/test/SemaCXX/warn-unused-variables.cpp vendor/clang/dist/test/SemaCXX/wchar_t.cpp vendor/clang/dist/test/SemaObjC/ContClassPropertyLookup.m vendor/clang/dist/test/SemaObjC/DoubleMethod.m vendor/clang/dist/test/SemaObjC/access-property-getter.m vendor/clang/dist/test/SemaObjC/alias-test-1.m vendor/clang/dist/test/SemaObjC/alias-test-2.m vendor/clang/dist/test/SemaObjC/argument-checking.m vendor/clang/dist/test/SemaObjC/at-defs.m vendor/clang/dist/test/SemaObjC/atomoic-property-synnthesis-rules.m vendor/clang/dist/test/SemaObjC/attr-cleanup.m vendor/clang/dist/test/SemaObjC/attr-deprecated.m vendor/clang/dist/test/SemaObjC/attr-malloc.m vendor/clang/dist/test/SemaObjC/attr-objc-exception.m vendor/clang/dist/test/SemaObjC/attr-objc-gc.m vendor/clang/dist/test/SemaObjC/bad-receiver-1.m vendor/clang/dist/test/SemaObjC/block-attr.m vendor/clang/dist/test/SemaObjC/block-explicit-return-type.m vendor/clang/dist/test/SemaObjC/block-ivar.m vendor/clang/dist/test/SemaObjC/blocks.m vendor/clang/dist/test/SemaObjC/call-super-2.m vendor/clang/dist/test/SemaObjC/catch-stmt.m vendor/clang/dist/test/SemaObjC/category-1.m vendor/clang/dist/test/SemaObjC/category-method-lookup-2.m vendor/clang/dist/test/SemaObjC/category-method-lookup.m vendor/clang/dist/test/SemaObjC/check-dup-decl-methods-1.m vendor/clang/dist/test/SemaObjC/check-dup-objc-decls-1.m vendor/clang/dist/test/SemaObjC/class-bitfield.m vendor/clang/dist/test/SemaObjC/class-conforming-protocol-1.m vendor/clang/dist/test/SemaObjC/class-conforming-protocol-2.m vendor/clang/dist/test/SemaObjC/class-def-test-1.m vendor/clang/dist/test/SemaObjC/class-extension-dup-methods.m vendor/clang/dist/test/SemaObjC/class-getter-using-dotsyntax.m vendor/clang/dist/test/SemaObjC/class-impl-1.m vendor/clang/dist/test/SemaObjC/class-method-lookup.m vendor/clang/dist/test/SemaObjC/class-method-self.m vendor/clang/dist/test/SemaObjC/class-property-access.m vendor/clang/dist/test/SemaObjC/class-proto-1.m vendor/clang/dist/test/SemaObjC/class-protocol.m vendor/clang/dist/test/SemaObjC/cocoa.m vendor/clang/dist/test/SemaObjC/compare-qualified-id.m vendor/clang/dist/test/SemaObjC/compatible-protocol-qualified-types.m vendor/clang/dist/test/SemaObjC/comptypes-1.m vendor/clang/dist/test/SemaObjC/comptypes-2.m vendor/clang/dist/test/SemaObjC/comptypes-3.m vendor/clang/dist/test/SemaObjC/comptypes-4.m vendor/clang/dist/test/SemaObjC/comptypes-5.m vendor/clang/dist/test/SemaObjC/comptypes-6.m vendor/clang/dist/test/SemaObjC/comptypes-7.m vendor/clang/dist/test/SemaObjC/comptypes-8.m vendor/clang/dist/test/SemaObjC/comptypes-9.m vendor/clang/dist/test/SemaObjC/comptypes-a.m vendor/clang/dist/test/SemaObjC/comptypes-legal.m vendor/clang/dist/test/SemaObjC/conditional-expr-2.m vendor/clang/dist/test/SemaObjC/conditional-expr-3.m vendor/clang/dist/test/SemaObjC/conditional-expr-4.m vendor/clang/dist/test/SemaObjC/conditional-expr-5.m vendor/clang/dist/test/SemaObjC/conditional-expr-6.m vendor/clang/dist/test/SemaObjC/conditional-expr.m vendor/clang/dist/test/SemaObjC/conflicting-ivar-test-1.m vendor/clang/dist/test/SemaObjC/continuation-class-err.m vendor/clang/dist/test/SemaObjC/crash-label.m vendor/clang/dist/test/SemaObjC/deref-interface.m vendor/clang/dist/test/SemaObjC/duplicate-ivar-check.m vendor/clang/dist/test/SemaObjC/enhanced-proto-2.m vendor/clang/dist/test/SemaObjC/error-property-gc-attr.m vendor/clang/dist/test/SemaObjC/exprs.m vendor/clang/dist/test/SemaObjC/foreach.m vendor/clang/dist/test/SemaObjC/format-arg-attribute.m vendor/clang/dist/test/SemaObjC/format-strings-objc.m vendor/clang/dist/test/SemaObjC/forward-class-1.m vendor/clang/dist/test/SemaObjC/forward-class-receiver.m vendor/clang/dist/test/SemaObjC/gcc-cast-ext.m vendor/clang/dist/test/SemaObjC/id-isa-ref.m vendor/clang/dist/test/SemaObjC/id.m vendor/clang/dist/test/SemaObjC/id_builtin.m vendor/clang/dist/test/SemaObjC/idiomatic-parentheses.m vendor/clang/dist/test/SemaObjC/ignore-weakimport-method.m vendor/clang/dist/test/SemaObjC/incompatible-protocol-qualified-types.m vendor/clang/dist/test/SemaObjC/inst-method-lookup-in-root.m vendor/clang/dist/test/SemaObjC/interface-1.m vendor/clang/dist/test/SemaObjC/interface-layout-2.m vendor/clang/dist/test/SemaObjC/interface-layout.m vendor/clang/dist/test/SemaObjC/interface-scope-2.m vendor/clang/dist/test/SemaObjC/interface-scope.m vendor/clang/dist/test/SemaObjC/interface-tu-variable.m vendor/clang/dist/test/SemaObjC/invalid-code.m vendor/clang/dist/test/SemaObjC/invalid-objc-decls-1.m vendor/clang/dist/test/SemaObjC/invalid-receiver.m vendor/clang/dist/test/SemaObjC/invalid-typename.m vendor/clang/dist/test/SemaObjC/ivar-access-package.m vendor/clang/dist/test/SemaObjC/ivar-access-tests.m vendor/clang/dist/test/SemaObjC/ivar-lookup.m vendor/clang/dist/test/SemaObjC/ivar-ref-misuse.m vendor/clang/dist/test/SemaObjC/ivar-sem-check-1.m vendor/clang/dist/test/SemaObjC/ivar-sem-check-2.m vendor/clang/dist/test/SemaObjC/legacy-implementation-1.m vendor/clang/dist/test/SemaObjC/message.m vendor/clang/dist/test/SemaObjC/method-arg-decay.m vendor/clang/dist/test/SemaObjC/method-arg-qualifier-warning.m vendor/clang/dist/test/SemaObjC/method-attributes.m vendor/clang/dist/test/SemaObjC/method-bad-param.m vendor/clang/dist/test/SemaObjC/method-conflict.m vendor/clang/dist/test/SemaObjC/method-def-1.m vendor/clang/dist/test/SemaObjC/method-def-2.m vendor/clang/dist/test/SemaObjC/method-encoding-2.m vendor/clang/dist/test/SemaObjC/method-lookup-2.m vendor/clang/dist/test/SemaObjC/method-lookup-3.m vendor/clang/dist/test/SemaObjC/method-lookup-4.m vendor/clang/dist/test/SemaObjC/method-lookup.m vendor/clang/dist/test/SemaObjC/method-no-context.m vendor/clang/dist/test/SemaObjC/method-not-defined.m vendor/clang/dist/test/SemaObjC/method-sentinel-attr.m vendor/clang/dist/test/SemaObjC/method-typecheck-1.m vendor/clang/dist/test/SemaObjC/method-typecheck-2.m vendor/clang/dist/test/SemaObjC/method-undef-category-warn-1.m vendor/clang/dist/test/SemaObjC/method-undef-extension-warn-1.m vendor/clang/dist/test/SemaObjC/method-undefined-warn-1.m vendor/clang/dist/test/SemaObjC/missing-method-context.m vendor/clang/dist/test/SemaObjC/newproperty-class-method-1.m vendor/clang/dist/test/SemaObjC/no-gc-weak-test.m vendor/clang/dist/test/SemaObjC/no-warn-qual-mismatch.m vendor/clang/dist/test/SemaObjC/no-warn-synth-protocol-meth.m vendor/clang/dist/test/SemaObjC/no-warn-unimpl-method.m vendor/clang/dist/test/SemaObjC/nonnull.m vendor/clang/dist/test/SemaObjC/nsobject-attribute-1.m vendor/clang/dist/test/SemaObjC/nsobject-attribute.m vendor/clang/dist/test/SemaObjC/objc-string-constant.m vendor/clang/dist/test/SemaObjC/objc2-merge-gc-attribue-decl.m vendor/clang/dist/test/SemaObjC/objc2-warn-weak-decl.m vendor/clang/dist/test/SemaObjC/property-10.m vendor/clang/dist/test/SemaObjC/property-11.m vendor/clang/dist/test/SemaObjC/property-12.m vendor/clang/dist/test/SemaObjC/property-13.m vendor/clang/dist/test/SemaObjC/property-2.m vendor/clang/dist/test/SemaObjC/property-3.m vendor/clang/dist/test/SemaObjC/property-4.m vendor/clang/dist/test/SemaObjC/property-5.m vendor/clang/dist/test/SemaObjC/property-6.m vendor/clang/dist/test/SemaObjC/property-7.m vendor/clang/dist/test/SemaObjC/property-8.m vendor/clang/dist/test/SemaObjC/property-9-impl-method.m vendor/clang/dist/test/SemaObjC/property-9.m vendor/clang/dist/test/SemaObjC/property-category-1.m vendor/clang/dist/test/SemaObjC/property-category-2.m vendor/clang/dist/test/SemaObjC/property-category-3.m vendor/clang/dist/test/SemaObjC/property-category-4.m vendor/clang/dist/test/SemaObjC/property-error-readonly-assign.m vendor/clang/dist/test/SemaObjC/property-expression-error.m vendor/clang/dist/test/SemaObjC/property-impl-misuse.m vendor/clang/dist/test/SemaObjC/property-inherited.m vendor/clang/dist/test/SemaObjC/property-ivar-mismatch.m vendor/clang/dist/test/SemaObjC/property-method-lookup-impl.m vendor/clang/dist/test/SemaObjC/property-missing.m vendor/clang/dist/test/SemaObjC/property-nonfragile-abi.m vendor/clang/dist/test/SemaObjC/property-noprotocol-warning.m vendor/clang/dist/test/SemaObjC/property-redundant-decl-accessor.m vendor/clang/dist/test/SemaObjC/property-typecheck-1.m vendor/clang/dist/test/SemaObjC/property-user-setter.m vendor/clang/dist/test/SemaObjC/property-weak.m vendor/clang/dist/test/SemaObjC/property.m vendor/clang/dist/test/SemaObjC/props-on-prots.m vendor/clang/dist/test/SemaObjC/protocol-archane.m vendor/clang/dist/test/SemaObjC/protocol-attribute.m vendor/clang/dist/test/SemaObjC/protocol-expr-1.m vendor/clang/dist/test/SemaObjC/protocol-expr-neg-1.m vendor/clang/dist/test/SemaObjC/protocol-id-test-1.m vendor/clang/dist/test/SemaObjC/protocol-id-test-2.m vendor/clang/dist/test/SemaObjC/protocol-id-test-3.m vendor/clang/dist/test/SemaObjC/protocol-implementation-inherited.m vendor/clang/dist/test/SemaObjC/protocol-lookup-2.m vendor/clang/dist/test/SemaObjC/protocol-lookup.m vendor/clang/dist/test/SemaObjC/protocol-qualified-class-unsupported.m vendor/clang/dist/test/SemaObjC/protocol-typecheck.m vendor/clang/dist/test/SemaObjC/protocols.m vendor/clang/dist/test/SemaObjC/rdr-6211479-array-property.m vendor/clang/dist/test/SemaObjC/restrict-id-type.m vendor/clang/dist/test/SemaObjC/return.m vendor/clang/dist/test/SemaObjC/scope-check.m vendor/clang/dist/test/SemaObjC/selector-1.m vendor/clang/dist/test/SemaObjC/selector-error.m vendor/clang/dist/test/SemaObjC/selector-overload.m vendor/clang/dist/test/SemaObjC/sizeof-interface.m vendor/clang/dist/test/SemaObjC/static-ivar-ref-1.m vendor/clang/dist/test/SemaObjC/stmts.m vendor/clang/dist/test/SemaObjC/string.m vendor/clang/dist/test/SemaObjC/super-cat-prot.m vendor/clang/dist/test/SemaObjC/super-property-message-expr.m vendor/clang/dist/test/SemaObjC/super-property-notation.m vendor/clang/dist/test/SemaObjC/super.m vendor/clang/dist/test/SemaObjC/synchronized.m vendor/clang/dist/test/SemaObjC/synthesize-setter-contclass.m vendor/clang/dist/test/SemaObjC/synthesized-ivar.m vendor/clang/dist/test/SemaObjC/try-catch.m vendor/clang/dist/test/SemaObjC/typedef-class.m vendor/clang/dist/test/SemaObjC/ucn-objc-string.m vendor/clang/dist/test/SemaObjC/undeclared-selector.m vendor/clang/dist/test/SemaObjC/undef-class-messagin-error.m vendor/clang/dist/test/SemaObjC/undef-protocol-methods-1.m vendor/clang/dist/test/SemaObjC/undef-superclass-1.m vendor/clang/dist/test/SemaObjC/undefined-protocol-type-1.m vendor/clang/dist/test/SemaObjC/unused.m vendor/clang/dist/test/SemaObjC/va-method-1.m vendor/clang/dist/test/SemaObjC/warn-assign-property-nscopying.m vendor/clang/dist/test/SemaObjC/warn-selector-selection.m vendor/clang/dist/test/SemaObjC/warn-superclass-method-mismatch.m vendor/clang/dist/test/SemaObjC/warn-weak-field.m vendor/clang/dist/test/SemaObjC/weak-attr-ivar.m vendor/clang/dist/test/SemaObjC/writable-property-in-superclass.m vendor/clang/dist/test/SemaObjCXX/blocks.mm vendor/clang/dist/test/SemaObjCXX/category-lookup.mm vendor/clang/dist/test/SemaObjCXX/composite-objc-pointertype.mm vendor/clang/dist/test/SemaObjCXX/conditional-expr.mm vendor/clang/dist/test/SemaObjCXX/cstyle-cast.mm vendor/clang/dist/test/SemaObjCXX/linkage-spec.mm vendor/clang/dist/test/SemaObjCXX/objc-decls-inside-namespace.mm vendor/clang/dist/test/SemaObjCXX/overload.mm vendor/clang/dist/test/SemaObjCXX/protocol-lookup.mm vendor/clang/dist/test/SemaObjCXX/references.mm vendor/clang/dist/test/SemaObjCXX/reserved-keyword-selectors.mm vendor/clang/dist/test/SemaObjCXX/standard-conversion-to-bool.mm vendor/clang/dist/test/SemaObjCXX/vararg-non-pod.mm vendor/clang/dist/test/SemaObjCXX/void_to_obj.mm vendor/clang/dist/test/SemaTemplate/ackermann.cpp vendor/clang/dist/test/SemaTemplate/ambiguous-ovl-print.cpp vendor/clang/dist/test/SemaTemplate/canonical-expr-type-0x.cpp vendor/clang/dist/test/SemaTemplate/canonical-expr-type.cpp vendor/clang/dist/test/SemaTemplate/class-template-ctor-initializer.cpp vendor/clang/dist/test/SemaTemplate/class-template-decl.cpp vendor/clang/dist/test/SemaTemplate/class-template-id-2.cpp vendor/clang/dist/test/SemaTemplate/class-template-id.cpp vendor/clang/dist/test/SemaTemplate/class-template-spec.cpp vendor/clang/dist/test/SemaTemplate/constructor-template.cpp vendor/clang/dist/test/SemaTemplate/copy-ctor-assign.cpp vendor/clang/dist/test/SemaTemplate/current-instantiation.cpp vendor/clang/dist/test/SemaTemplate/deduction.cpp vendor/clang/dist/test/SemaTemplate/default-arguments-cxx0x.cpp vendor/clang/dist/test/SemaTemplate/default-arguments.cpp vendor/clang/dist/test/SemaTemplate/default-expr-arguments.cpp vendor/clang/dist/test/SemaTemplate/dependent-base-member-init.cpp vendor/clang/dist/test/SemaTemplate/dependent-names.cpp vendor/clang/dist/test/SemaTemplate/dependent-sized_array.cpp vendor/clang/dist/test/SemaTemplate/dependent-type-identity.cpp vendor/clang/dist/test/SemaTemplate/destructor-template.cpp vendor/clang/dist/test/SemaTemplate/enum-argument.cpp vendor/clang/dist/test/SemaTemplate/example-dynarray.cpp vendor/clang/dist/test/SemaTemplate/example-typelist.cpp vendor/clang/dist/test/SemaTemplate/explicit-instantiation.cpp vendor/clang/dist/test/SemaTemplate/explicit-specialization-member.cpp vendor/clang/dist/test/SemaTemplate/ext-vector-type.cpp vendor/clang/dist/test/SemaTemplate/extern-templates.cpp vendor/clang/dist/test/SemaTemplate/fibonacci.cpp vendor/clang/dist/test/SemaTemplate/friend-template.cpp vendor/clang/dist/test/SemaTemplate/friend.cpp vendor/clang/dist/test/SemaTemplate/fun-template-def.cpp vendor/clang/dist/test/SemaTemplate/function-template-specialization.cpp vendor/clang/dist/test/SemaTemplate/implicit-instantiation-1.cpp vendor/clang/dist/test/SemaTemplate/injected-class-name.cpp vendor/clang/dist/test/SemaTemplate/instantiate-anonymous-union.cpp vendor/clang/dist/test/SemaTemplate/instantiate-array.cpp vendor/clang/dist/test/SemaTemplate/instantiate-attr.cpp vendor/clang/dist/test/SemaTemplate/instantiate-c99.cpp vendor/clang/dist/test/SemaTemplate/instantiate-call.cpp vendor/clang/dist/test/SemaTemplate/instantiate-case.cpp vendor/clang/dist/test/SemaTemplate/instantiate-cast.cpp vendor/clang/dist/test/SemaTemplate/instantiate-clang.cpp vendor/clang/dist/test/SemaTemplate/instantiate-complete.cpp vendor/clang/dist/test/SemaTemplate/instantiate-decl-init.cpp vendor/clang/dist/test/SemaTemplate/instantiate-declref-ice.cpp vendor/clang/dist/test/SemaTemplate/instantiate-declref.cpp vendor/clang/dist/test/SemaTemplate/instantiate-deeply.cpp vendor/clang/dist/test/SemaTemplate/instantiate-default-assignment-operator.cpp vendor/clang/dist/test/SemaTemplate/instantiate-dependent-nested-name.cpp vendor/clang/dist/test/SemaTemplate/instantiate-enum-2.cpp vendor/clang/dist/test/SemaTemplate/instantiate-enum.cpp vendor/clang/dist/test/SemaTemplate/instantiate-exception-spec.cpp vendor/clang/dist/test/SemaTemplate/instantiate-expr-1.cpp vendor/clang/dist/test/SemaTemplate/instantiate-expr-2.cpp vendor/clang/dist/test/SemaTemplate/instantiate-expr-3.cpp vendor/clang/dist/test/SemaTemplate/instantiate-expr-4.cpp vendor/clang/dist/test/SemaTemplate/instantiate-expr-5.cpp vendor/clang/dist/test/SemaTemplate/instantiate-expr-basic.cpp vendor/clang/dist/test/SemaTemplate/instantiate-field.cpp vendor/clang/dist/test/SemaTemplate/instantiate-friend-class.cpp vendor/clang/dist/test/SemaTemplate/instantiate-function-1.cpp vendor/clang/dist/test/SemaTemplate/instantiate-function-1.mm vendor/clang/dist/test/SemaTemplate/instantiate-function-2.cpp vendor/clang/dist/test/SemaTemplate/instantiate-init.cpp vendor/clang/dist/test/SemaTemplate/instantiate-member-class.cpp vendor/clang/dist/test/SemaTemplate/instantiate-member-initializers.cpp vendor/clang/dist/test/SemaTemplate/instantiate-member-pointers.cpp vendor/clang/dist/test/SemaTemplate/instantiate-member-template.cpp vendor/clang/dist/test/SemaTemplate/instantiate-method.cpp vendor/clang/dist/test/SemaTemplate/instantiate-non-type-template-parameter.cpp vendor/clang/dist/test/SemaTemplate/instantiate-objc-1.mm vendor/clang/dist/test/SemaTemplate/instantiate-overloaded-arrow.cpp vendor/clang/dist/test/SemaTemplate/instantiate-static-var.cpp vendor/clang/dist/test/SemaTemplate/instantiate-subscript.cpp vendor/clang/dist/test/SemaTemplate/instantiate-template-template-parm.cpp vendor/clang/dist/test/SemaTemplate/instantiate-try-catch.cpp vendor/clang/dist/test/SemaTemplate/instantiate-type.cpp vendor/clang/dist/test/SemaTemplate/instantiate-typedef.cpp vendor/clang/dist/test/SemaTemplate/instantiate-using-decl.cpp vendor/clang/dist/test/SemaTemplate/instantiation-backtrace.cpp vendor/clang/dist/test/SemaTemplate/instantiation-default-1.cpp vendor/clang/dist/test/SemaTemplate/instantiation-default-2.cpp vendor/clang/dist/test/SemaTemplate/instantiation-default-3.cpp vendor/clang/dist/test/SemaTemplate/instantiation-depth.cpp vendor/clang/dist/test/SemaTemplate/member-access-expr.cpp vendor/clang/dist/test/SemaTemplate/member-function-template.cpp vendor/clang/dist/test/SemaTemplate/member-initializers.cpp vendor/clang/dist/test/SemaTemplate/member-template-access-expr.cpp vendor/clang/dist/test/SemaTemplate/metafun-apply.cpp vendor/clang/dist/test/SemaTemplate/nested-linkage.cpp vendor/clang/dist/test/SemaTemplate/nested-name-spec-template.cpp vendor/clang/dist/test/SemaTemplate/nested-template.cpp vendor/clang/dist/test/SemaTemplate/operator-function-id-template.cpp vendor/clang/dist/test/SemaTemplate/operator-template.cpp vendor/clang/dist/test/SemaTemplate/overload-uneval.cpp vendor/clang/dist/test/SemaTemplate/partial-spec-instantiate.cpp vendor/clang/dist/test/SemaTemplate/qualified-id.cpp vendor/clang/dist/test/SemaTemplate/qualified-names-diag.cpp vendor/clang/dist/test/SemaTemplate/recursive-template-instantiation.cpp vendor/clang/dist/test/SemaTemplate/temp.cpp vendor/clang/dist/test/SemaTemplate/temp_arg.cpp vendor/clang/dist/test/SemaTemplate/temp_arg_nontype.cpp vendor/clang/dist/test/SemaTemplate/temp_arg_template.cpp vendor/clang/dist/test/SemaTemplate/temp_arg_type.cpp vendor/clang/dist/test/SemaTemplate/temp_class_order.cpp vendor/clang/dist/test/SemaTemplate/temp_class_spec.cpp vendor/clang/dist/test/SemaTemplate/temp_class_spec_blocks.cpp vendor/clang/dist/test/SemaTemplate/temp_class_spec_neg.cpp vendor/clang/dist/test/SemaTemplate/temp_explicit.cpp vendor/clang/dist/test/SemaTemplate/temp_explicit_cxx0x.cpp vendor/clang/dist/test/SemaTemplate/temp_func_order.cpp vendor/clang/dist/test/SemaTemplate/template-class-traits.cpp vendor/clang/dist/test/SemaTemplate/template-decl-fail.cpp vendor/clang/dist/test/SemaTemplate/template-id-expr.cpp vendor/clang/dist/test/SemaTemplate/template-id-printing.cpp vendor/clang/dist/test/SemaTemplate/typename-specifier-2.cpp vendor/clang/dist/test/SemaTemplate/typename-specifier-3.cpp vendor/clang/dist/test/SemaTemplate/typename-specifier-4.cpp vendor/clang/dist/test/SemaTemplate/typename-specifier.cpp vendor/clang/dist/test/SemaTemplate/value-dependent-null-pointer-constant.cpp vendor/clang/dist/test/SemaTemplate/variadic-class-template-1.cpp vendor/clang/dist/test/SemaTemplate/variadic-class-template-2.cpp vendor/clang/dist/test/SemaTemplate/variadic-parse.cpp vendor/clang/dist/test/SemaTemplate/variadic-unsupported.cpp vendor/clang/dist/test/SemaTemplate/virtual-member-functions.cpp vendor/clang/dist/test/lit.cfg vendor/clang/dist/tools/CIndex/CIndex.cpp vendor/clang/dist/tools/CIndex/CIndex.exports vendor/clang/dist/tools/c-index-test/c-index-test.c vendor/clang/dist/tools/driver/cc1_main.cpp vendor/clang/dist/tools/driver/driver.cpp vendor/clang/dist/tools/scan-build/ccc-analyzer vendor/clang/dist/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg vendor/clang/dist/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg vendor/clang/dist/utils/C++Tests/lit.cfg vendor/clang/dist/www/cxx_status.html Modified: vendor/clang/dist/Makefile ============================================================================== --- vendor/clang/dist/Makefile Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/Makefile Fri Jan 1 10:34:51 2010 (r201361) @@ -10,7 +10,7 @@ endif include $(LEVEL)/Makefile.common ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT)) -all:: +$(RecursiveTargets):: $(Verb) if [ ! -f test/Makefile ]; then \ $(MKDIR) test; \ $(CP) $(PROJ_SRC_DIR)/test/Makefile test/Makefile; \ Modified: vendor/clang/dist/TODO.txt ============================================================================== --- vendor/clang/dist/TODO.txt Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/TODO.txt Fri Jan 1 10:34:51 2010 (r201361) @@ -69,7 +69,6 @@ More ideas for code modification hints: //===---------------------------------------------------------------------===// Options to support: - -Wfatal-errors -ftabstop=width -fpreprocessed mode. -nostdinc++ Modified: vendor/clang/dist/clang.xcodeproj/project.pbxproj ============================================================================== --- vendor/clang/dist/clang.xcodeproj/project.pbxproj Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/clang.xcodeproj/project.pbxproj Fri Jan 1 10:34:51 2010 (r201361) @@ -46,6 +46,7 @@ 1A869AA80BA21ABA008DA07A /* LiteralSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A869AA70BA21ABA008DA07A /* LiteralSupport.cpp */; }; 1A986AB710D0746D00A8EA9E /* CGDeclCXX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A986AB610D0746D00A8EA9E /* CGDeclCXX.cpp */; }; 1AA1D91810125DE30078DEBC /* RecordLayoutBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AA1D91610125DE30078DEBC /* RecordLayoutBuilder.cpp */; }; + 1AA963C410D85A7300786C86 /* FullExpr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AA963C310D85A7300786C86 /* FullExpr.cpp */; }; 1ABC36940C7A4BDC006DB0AB /* CGBuiltin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ABC36930C7A4BDC006DB0AB /* CGBuiltin.cpp */; }; 1ADD795410A90C6100741BBA /* TypePrinter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADD795110A90C6100741BBA /* TypePrinter.cpp */; }; 1ADD795510A90C6100741BBA /* TypeLoc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1ADD795210A90C6100741BBA /* TypeLoc.cpp */; }; @@ -400,6 +401,8 @@ 1A986AB610D0746D00A8EA9E /* CGDeclCXX.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = CGDeclCXX.cpp; path = lib/CodeGen/CGDeclCXX.cpp; sourceTree = ""; tabWidth = 2; }; 1AA1D91610125DE30078DEBC /* RecordLayoutBuilder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = RecordLayoutBuilder.cpp; path = lib/AST/RecordLayoutBuilder.cpp; sourceTree = ""; tabWidth = 2; }; 1AA1D91710125DE30078DEBC /* RecordLayoutBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; name = RecordLayoutBuilder.h; path = lib/AST/RecordLayoutBuilder.h; sourceTree = ""; tabWidth = 2; }; + 1AA963AB10D8576800786C86 /* FullExpr.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; name = FullExpr.h; path = clang/AST/FullExpr.h; sourceTree = ""; tabWidth = 2; }; + 1AA963C310D85A7300786C86 /* FullExpr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = FullExpr.cpp; path = lib/AST/FullExpr.cpp; sourceTree = ""; tabWidth = 2; }; 1AB290021045858B00FE33D8 /* PartialDiagnostic.h */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; path = PartialDiagnostic.h; sourceTree = ""; tabWidth = 2; }; 1ABC36930C7A4BDC006DB0AB /* CGBuiltin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = CGBuiltin.cpp; path = lib/CodeGen/CGBuiltin.cpp; sourceTree = ""; tabWidth = 2; }; 1ADD795110A90C6100741BBA /* TypePrinter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TypePrinter.cpp; path = lib/AST/TypePrinter.cpp; sourceTree = ""; }; @@ -1348,6 +1351,7 @@ DE0FCA620A95859D00248FD5 /* Expr.h */, 1A30A9E80B93A4C800201A91 /* ExprCXX.h */, 35CEA05A0DF9E82700A41296 /* ExprObjC.h */, + 1AA963AB10D8576800786C86 /* FullExpr.h */, DEDFE5CB0F7206CC0035BD10 /* NestedNameSpecifier.h */, 35EE48AE0E0C4CB200715C54 /* ParentMap.h */, 3547129D0C88881300B3E1D5 /* PrettyPrinter.h */, @@ -1385,6 +1389,7 @@ DE0FCB330A9C21F100248FD5 /* Expr.cpp */, 1A32C17E0E1C87AD00A6B483 /* ExprConstant.cpp */, 35260CA40C7F75C000D66CE9 /* ExprCXX.cpp */, + 1AA963C310D85A7300786C86 /* FullExpr.cpp */, 3557D1A80EB136B100C59739 /* InheritViz.cpp */, DEDFE5CE0F7206E40035BD10 /* NestedNameSpecifier.cpp */, 35EE48B00E0C4CCA00715C54 /* ParentMap.cpp */, @@ -1929,6 +1934,7 @@ 1ADD795610A90C6100741BBA /* TemplateBase.cpp in Sources */, 1A986AB710D0746D00A8EA9E /* CGDeclCXX.cpp in Sources */, E16B523510D30B2400430AC9 /* cc1_main.cpp in Sources */, + 1AA963C410D85A7300786C86 /* FullExpr.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; Modified: vendor/clang/dist/docs/UsersManual.html ============================================================================== --- vendor/clang/dist/docs/UsersManual.html Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/docs/UsersManual.html Fri Jan 1 10:34:51 2010 (r201361) @@ -578,14 +578,24 @@ adds runtime checks for undefined runtim __builtin_trap() is used to indicate failure. The checks are:

    -

  • Subscripting where the static type of one operand is decayed from an - array type and the other operand is greater than the size of the array or - less than zero.
  • +
  • Subscripting where the static type of one operand is variable + which is decayed from an array type and the other operand is + greater than the size of the array or less than zero.
  • Shift operators where the amount shifted is greater or equal to the promoted bit-width of the left-hand-side or less than zero.
  • +
  • If control flow reaches __builtin_unreachable. +
  • When llvm implements more __builtin_object_size support, reads and + writes for objects that __builtin_object_size indicates we aren't + accessing valid memory. Bit-fields and vectors are not yet checked.

    +
    -fno-assume-sane-operator-new: +Don't assume that the C++'s new operator is sane.
    +
    This option tells the compiler to do not assume that C++'s global new +operator will always return a pointer that do not +alias any other pointer when the function returns.
    +

    C Language Features

    Added: vendor/clang/dist/examples/CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/examples/CMakeLists.txt Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,3 @@ +add_subdirectory(PrintFunctionNames) +add_subdirectory(wpa) + Added: vendor/clang/dist/examples/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/examples/Makefile Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,14 @@ +##===- examples/Makefile -----------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## + +LEVEL = ../../.. + +PARALLEL_DIRS := PrintFunctionNames wpa + +include $(LEVEL)/Makefile.common Added: vendor/clang/dist/examples/PrintFunctionNames/CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/examples/PrintFunctionNames/CMakeLists.txt Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,26 @@ +set(SHARED_LIBRARY TRUE) + +set(LLVM_NO_RTTI 1) + +set(LLVM_USED_LIBS + clangIndex + clangFrontend + clangDriver + clangSema + clangAnalysis + clangAST + clangParse + clangLex + clangBasic) + +set( LLVM_LINK_COMPONENTS + bitreader + mc + core + ) + +add_clang_library(PrintFunctionNames PrintFunctionNames.cpp) + +set_target_properties(PrintFunctionNames + PROPERTIES + LINKER_LANGUAGE CXX) Added: vendor/clang/dist/examples/PrintFunctionNames/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/examples/PrintFunctionNames/Makefile Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,28 @@ +##===- examples/PrintFunctionNames/Makefile ----------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## + +LEVEL = ../../../.. +LIBRARYNAME = PrintFunctionNames + +CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include +CXXFLAGS = -fno-rtti + +# Include this here so we can get the configuration of the targets that have +# been configured for construction. We have to do this early so we can set up +# LINK_COMPONENTS before including Makefile.rules +include $(LEVEL)/Makefile.config + +LINK_LIBS_IN_SHARED = 1 +SHARED_LIBRARY = 1 + +LINK_COMPONENTS := bitreader mc core +USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a \ + clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a + +include $(LEVEL)/Makefile.common Added: vendor/clang/dist/examples/PrintFunctionNames/PrintFunctionNames.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/examples/PrintFunctionNames/PrintFunctionNames.cpp Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,44 @@ +//===- PrintFunctionNames.cpp ---------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// Example clang plugin which simply prints the names of all the top-level decls +// in the input file. +// +//===----------------------------------------------------------------------===// + +#include "clang/Frontend/FrontendPluginRegistry.h" +#include "clang/AST/ASTConsumer.h" +#include "clang/AST/AST.h" +#include "llvm/Support/raw_ostream.h" +using namespace clang; + +namespace { + +class PrintFunctionsConsumer : public ASTConsumer { +public: + virtual void HandleTopLevelDecl(DeclGroupRef DG) { + for (DeclGroupRef::iterator i = DG.begin(), e = DG.end(); i != e; ++i) { + const Decl *D = *i; + if (const NamedDecl *ND = dyn_cast(D)) + llvm::errs() << "top-level-decl: \"" << ND->getNameAsString() << "\"\n"; + } + } +}; + +class PrintFunctionNamesAction : public ASTFrontendAction { +protected: + ASTConsumer *CreateASTConsumer(CompilerInstance &CI, llvm::StringRef) { + return new PrintFunctionsConsumer(); + } +}; + +} + +FrontendPluginRegistry::Add +X("print-fns", "print function names"); Added: vendor/clang/dist/examples/PrintFunctionNames/README.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/examples/PrintFunctionNames/README.txt Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,10 @@ +This is a simple example demonstrating how to use clang's facility for +providing AST consumers using a plugin. + +You will probably need to build clang so that it exports all symbols (disable +TOOL_NO_EXPORT in the tools/clang Makefile). + +Once the plugin is built, you can run it using: +-- +$ clang -cc1 -load path/to/PrintFunctionNames.so -plugin=print-fns some-input-file.c +-- Added: vendor/clang/dist/examples/wpa/CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/examples/wpa/CMakeLists.txt Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,23 @@ +set(LLVM_NO_RTTI 1) + +set(LLVM_USED_LIBS + clangIndex + clangFrontend + clangDriver + clangSema + clangAnalysis + clangAST + clangParse + clangLex + clangBasic) + +set( LLVM_LINK_COMPONENTS + bitreader + mc + core + ) + +add_clang_executable(clang-wpa + clang-wpa.cpp + ) +add_dependencies(clang-wpa clang-headers) Added: vendor/clang/dist/examples/wpa/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/examples/wpa/Makefile Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,17 @@ +LEVEL = ../../../.. + +TOOLNAME = clang-wpa +CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include +CXXFLAGS = -fno-rtti +NO_INSTALL = 1 + +# No plugins, optimize startup time. +TOOL_NO_EXPORTS = 1 + +include $(LEVEL)/Makefile.config + +LINK_COMPONENTS := bitreader mc core +USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a \ + clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a + +include $(LLVM_SRC_ROOT)/Makefile.rules Added: vendor/clang/dist/examples/wpa/clang-wpa.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/examples/wpa/clang-wpa.cpp Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,56 @@ +//===--- clang-wpa.cpp - clang whole program analyzer ---------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This tool reads a sequence of precompiled AST files, and do various +// cross translation unit analyses. +// +//===----------------------------------------------------------------------===// + +#include "clang/Basic/FileManager.h" +#include "clang/Basic/SourceManager.h" +#include "clang/Frontend/ASTUnit.h" +#include "clang/Frontend/CompilerInstance.h" +#include "clang/Index/CallGraph.h" +#include "llvm/Support/CommandLine.h" +#include "llvm/Support/raw_ostream.h" +using namespace clang; +using namespace idx; + +static llvm::cl::list +InputFilenames(llvm::cl::Positional, llvm::cl::desc("")); + +int main(int argc, char **argv) { + llvm::cl::ParseCommandLineOptions(argc, argv, "clang-wpa"); + FileManager FileMgr; + std::vector ASTUnits; + + if (InputFilenames.empty()) + return 0; + + DiagnosticOptions DiagOpts; + llvm::OwningPtr Diags( + CompilerInstance::createDiagnostics(DiagOpts, argc, argv)); + + for (unsigned i = 0, e = InputFilenames.size(); i != e; ++i) { + const std::string &InFile = InputFilenames[i]; + llvm::OwningPtr AST(ASTUnit::LoadFromPCHFile(InFile, *Diags)); + if (!AST) + return 1; + + ASTUnits.push_back(AST.take()); + } + + llvm::OwningPtr CG; + CG.reset(new CallGraph()); + + for (unsigned i = 0, e = ASTUnits.size(); i != e; ++i) + CG->addTU(ASTUnits[i]->getASTContext()); + + CG->ViewCallGraph(); +} Modified: vendor/clang/dist/include/clang-c/Index.h ============================================================================== --- vendor/clang/dist/include/clang-c/Index.h Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/include/clang-c/Index.h Fri Jan 1 10:34:51 2010 (r201361) @@ -17,6 +17,7 @@ #define CLANG_C_INDEX_H #include +#include #ifdef __cplusplus extern "C" { @@ -555,23 +556,16 @@ enum CXCompletionChunkKind { /** * \brief A comma separator (','). */ - CXCompletionChunk_Comma + CXCompletionChunk_Comma, + /** + * \brief Text that specifies the result type of a given result. + * + * This special kind of informative chunk is not meant to be inserted into + * the text buffer. Rather, it is meant to illustrate the type that an + * expression using the given completion string would have. + */ + CXCompletionChunk_ResultType }; - -/** - * \brief Callback function that receives a single code-completion result. - * - * This callback will be invoked by \c clang_codeComplete() for each - * code-completion result. - * - * \param completion_result a pointer to the current code-completion result, - * providing one possible completion. The pointer itself is only valid - * during the execution of the completion callback. - * - * \param client_data the client data provided to \c clang_codeComplete(). - */ -typedef void (*CXCompletionIterator)(CXCompletionResult *completion_result, - CXClientData client_data); /** * \brief Determine the kind of a particular chunk within a completion string. @@ -623,6 +617,26 @@ CINDEX_LINKAGE unsigned clang_getNumCompletionChunks(CXCompletionString completion_string); /** + * \brief Contains the results of code-completion. + * + * This data structure contains the results of code completion, as + * produced by \c clang_codeComplete. Its contents must be freed by + * \c clang_disposeCodeCompleteResults. + */ +typedef struct { + /** + * \brief The code-completion results. + */ + CXCompletionResult *Results; + + /** + * \brief The number of code-completion results stored in the + * \c Results array. + */ + unsigned NumResults; +} CXCodeCompleteResults; + +/** * \brief Perform code completion at a given location in a source file. * * This function performs code completion at a particular file, line, and @@ -634,7 +648,7 @@ clang_getNumCompletionChunks(CXCompletio * to the parser, which recognizes this token and determines, based on the * current location in the C/Objective-C/C++ grammar and the state of * semantic analysis, what completions to provide. These completions are - * enumerated through a callback interface to the client. + * returned via a new \c CXCodeCompleteResults structure. * * Code completion itself is meant to be triggered by the client when the * user types punctuation characters or whitespace, at which point the @@ -649,7 +663,7 @@ clang_getNumCompletionChunks(CXCompletio * the ">" (e.g., pointing at the "g") to this code-completion hook. Then, the * client can filter the results based on the current token text ("get"), only * showing those results that start with "get". The intent of this interface - * is to separate the relatively high-latency acquisition of code-competion + * is to separate the relatively high-latency acquisition of code-completion * results from the filtering of results on a per-character basis, which must * have a lower latency. * @@ -690,24 +704,27 @@ clang_getNumCompletionChunks(CXCompletio * Note that the column should point just after the syntactic construct that * initiated code completion, and not in the middle of a lexical token. * - * \param completion_iterator a callback function that will receive - * code-completion results. - * - * \param client_data client-specific data that will be passed back via the - * code-completion callback function. + * \returns if successful, a new CXCodeCompleteResults structure + * containing code-completion results, which should eventually be + * freed with \c clang_disposeCodeCompleteResults(). If code + * completion fails, returns NULL. + */ +CINDEX_LINKAGE +CXCodeCompleteResults *clang_codeComplete(CXIndex CIdx, + const char *source_filename, + int num_command_line_args, + const char **command_line_args, + unsigned num_unsaved_files, + struct CXUnsavedFile *unsaved_files, + const char *complete_filename, + unsigned complete_line, + unsigned complete_column); + +/** + * \brief Free the given set of code-completion results. */ -CINDEX_LINKAGE void clang_codeComplete(CXIndex CIdx, - const char *source_filename, - int num_command_line_args, - const char **command_line_args, - unsigned num_unsaved_files, - struct CXUnsavedFile *unsaved_files, - const char *complete_filename, - unsigned complete_line, - unsigned complete_column, - CXCompletionIterator completion_iterator, - CXClientData client_data); - +CINDEX_LINKAGE +void clang_disposeCodeCompleteResults(CXCodeCompleteResults *Results); #ifdef __cplusplus } Modified: vendor/clang/dist/include/clang/AST/ASTContext.h ============================================================================== --- vendor/clang/dist/include/clang/AST/ASTContext.h Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/include/clang/AST/ASTContext.h Fri Jan 1 10:34:51 2010 (r201361) @@ -38,6 +38,7 @@ namespace clang { class FileManager; class ASTRecordLayout; class BlockExpr; + class CharUnits; class Expr; class ExternalASTSource; class IdentifierTable; @@ -114,9 +115,6 @@ class ASTContext { /// \brief Mapping from ObjCContainers to their ObjCImplementations. llvm::DenseMap ObjCImpls; - llvm::DenseMap SignedFixedWidthIntTypes; - llvm::DenseMap UnsignedFixedWidthIntTypes; - /// BuiltinVaListType - built-in va list type. /// This is initially null and set by Sema::LazilyCreateBuiltin when /// a builtin that takes a valist is encountered. @@ -724,8 +722,6 @@ public: void setBuiltinVaListType(QualType T); QualType getBuiltinVaListType() const { return BuiltinVaListType; } - QualType getFixedWidthIntType(unsigned Width, bool Signed); - /// getCVRQualifiedType - Returns a type with additional const, /// volatile, or restrict qualifiers. QualType getCVRQualifiedType(QualType T, unsigned CVR) { @@ -812,19 +808,15 @@ public: return getTypeInfo(T).first; } - /// getByteWidth - Return the size of a byte, in bits - uint64_t getByteSize() { + /// getCharWidth - Return the size of the character type, in bits + uint64_t getCharWidth() { return getTypeSize(CharTy); } - /// getTypeSizeInBytes - Return the size of the specified type, in bytes. + /// getTypeSizeInChars - Return the size of the specified type, in characters. /// This method does not work on incomplete types. - uint64_t getTypeSizeInBytes(QualType T) { - return getTypeSize(T) / getByteSize(); - } - uint64_t getTypeSizeInBytes(const Type *T) { - return getTypeSize(T) / getByteSize(); - } + CharUnits getTypeSizeInChars(QualType T); + CharUnits getTypeSizeInChars(const Type *T); /// getTypeAlign - Return the ABI-specified alignment of a type, in bits. /// This method does not work on incomplete types. @@ -906,12 +898,29 @@ public: return getCanonicalType(T1) == getCanonicalType(T2); } + /// \brief Returns this type as a completely-unqualified array type, capturing + /// the qualifiers in Quals. This only operates on canonical types in order + /// to ensure the ArrayType doesn't itself have qualifiers. + /// + /// \param T is the canonicalized QualType, which may be an ArrayType + /// + /// \param Quals will receive the full set of qualifiers that were + /// applied to the element type of the array. + /// + /// \returns if this is an array type, the completely unqualified array type + /// that corresponds to it. Otherwise, returns this->getUnqualifiedType(). + QualType getUnqualifiedArrayType(QualType T, Qualifiers &Quals); + /// \brief Determine whether the given types are equivalent after /// cvr-qualifiers have been removed. bool hasSameUnqualifiedType(QualType T1, QualType T2) { CanQualType CT1 = getCanonicalType(T1); CanQualType CT2 = getCanonicalType(T2); - return CT1.getUnqualifiedType() == CT2.getUnqualifiedType(); + + Qualifiers Quals; + QualType UnqualT1 = getUnqualifiedArrayType(CT1, Quals); + QualType UnqualT2 = getUnqualifiedArrayType(CT2, Quals); + return UnqualT1 == UnqualT2; } /// \brief Retrieves the "canonical" declaration of @@ -1251,7 +1260,8 @@ inline void *operator new[](size_t Bytes /// invoking it directly; see the new[] operator for more details. This operator /// is called implicitly by the compiler if a placement new[] expression using /// the ASTContext throws in the object constructor. -inline void operator delete[](void *Ptr, clang::ASTContext &C) throw () { +inline void operator delete[](void *Ptr, clang::ASTContext &C, size_t) + throw () { C.Deallocate(Ptr); } Modified: vendor/clang/dist/include/clang/AST/CanonicalType.h ============================================================================== --- vendor/clang/dist/include/clang/AST/CanonicalType.h Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/include/clang/AST/CanonicalType.h Fri Jan 1 10:34:51 2010 (r201361) @@ -559,7 +559,7 @@ template<> struct CanProxyAdaptor : public CanProxyBase { LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getResultType) - LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumArgs); + LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumArgs) CanQualType getArgType(unsigned i) const { return CanQualType::CreateUnsafe(this->getTypePtr()->getArgType(i)); } Added: vendor/clang/dist/include/clang/AST/CharUnits.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/clang/dist/include/clang/AST/CharUnits.h Fri Jan 1 10:34:51 2010 (r201361) @@ -0,0 +1,149 @@ +//===--- CharUnits.h - Character units for sizes and offsets ----*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file defines the CharUnits class +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_CLANG_AST_CHARUNITS_H +#define LLVM_CLANG_AST_CHARUNITS_H + +#include "llvm/System/DataTypes.h" + +namespace clang { + + /// CharUnits - This is an opaque type for sizes expressed in character units. + /// Instances of this type represent a quantity as a multiple of the size + /// of the standard C type, char, on the target architecture. As an opaque + /// type, CharUnits protects you from accidentally combining operations on + /// quantities in bit units and character units. + /// + /// It should be noted that characters and bytes are distinct concepts. Bytes + /// refer to addressable units of data storage on the target machine, and + /// characters are members of a set of elements used for the organization, + /// control, or representation of data. According to C99, bytes are allowed + /// to exceed characters in size, although currently, clang only supports + /// architectures where the two are the same size. + /// + /// For portability, never assume that a target character is 8 bits wide. Use + /// CharUnit values whereever you calculate sizes, offsets, or alignments + /// in character units. + class CharUnits { + public: + typedef int64_t RawType; + + private: + RawType Quantity; + + explicit CharUnits(RawType C) : Quantity(C) {} + + public: + + /// CharUnits - A default constructor. + CharUnits() : Quantity(0) {} + + /// Zero - Construct a CharUnits quantity of zero. + static CharUnits Zero() { + return CharUnits(0); + } + + /// One - Construct a CharUnits quantity of one. + static CharUnits One() { + return CharUnits(1); + } + + /// fromRaw - Construct a CharUnits quantity from a raw integer type. + static CharUnits fromRaw(RawType Quantity) { + return CharUnits(Quantity); + } + + // Compound assignment. + CharUnits& operator+= (const CharUnits &Other) { + Quantity += Other.Quantity; + return *this; + } + CharUnits& operator-= (const CharUnits &Other) { + Quantity -= Other.Quantity; + return *this; + } + + // Comparison operators. + bool operator== (const CharUnits &Other) const { + return Quantity == Other.Quantity; + } + bool operator!= (const CharUnits &Other) const { + return Quantity != Other.Quantity; + } + + // Relational operators. + bool operator< (const CharUnits &Other) const { + return Quantity < Other.Quantity; + } + bool operator<= (const CharUnits &Other) const { + return Quantity <= Other.Quantity; + } + bool operator> (const CharUnits &Other) const { + return Quantity > Other.Quantity; + } + bool operator>= (const CharUnits &Other) const { + return Quantity >= Other.Quantity; + } + + // Other predicates. + + /// isZero - Test whether the quantity equals zero. + bool isZero() const { return Quantity == 0; } + + /// isOne - Test whether the quantity equals one. + bool isOne() const { return Quantity == 1; } + + /// isPositive - Test whether the quanity is greater than zero. + bool isPositive() const { return Quantity > 0; } + + /// isNegative - Test whether the quantity is less than zero. + bool isNegative() const { return Quantity < 0; } + + // Arithmetic operators. + CharUnits operator* (RawType N) const { + return CharUnits(Quantity * N); + } + CharUnits operator/ (RawType N) const { + return CharUnits(Quantity / N); + } + RawType operator/ (const CharUnits &Other) const { + return Quantity / Other.Quantity; + } + CharUnits operator% (RawType N) const { + return CharUnits(Quantity % N); + } + RawType operator% (const CharUnits &Other) const { + return Quantity % Other.Quantity; + } + CharUnits operator+ (const CharUnits &Other) const { + return CharUnits(Quantity + Other.Quantity); + } + CharUnits operator- (const CharUnits &Other) const { + return CharUnits(Quantity - Other.Quantity); + } + + // Conversions. + + /// getRaw - Get the raw integer representation of this quantity. + RawType getRaw() const { return Quantity; } + + + }; // class CharUnit +} // namespace clang + +inline clang::CharUnits operator* (clang::CharUnits::RawType Scale, + const clang::CharUnits &CU) { + return CU * Scale; +} + +#endif // LLVM_CLANG_AST_CHARUNITS_H Modified: vendor/clang/dist/include/clang/AST/Decl.h ============================================================================== --- vendor/clang/dist/include/clang/AST/Decl.h Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/include/clang/AST/Decl.h Fri Jan 1 10:34:51 2010 (r201361) @@ -21,6 +21,7 @@ #include "clang/AST/ExternalASTSource.h" namespace clang { +class CXXTemporary; class Expr; class FunctionTemplateDecl; class Stmt; @@ -84,13 +85,20 @@ public: class TranslationUnitDecl : public Decl, public DeclContext { ASTContext &Ctx; + /// The (most recently entered) anonymous namespace for this + /// translation unit, if one has been created. + NamespaceDecl *AnonymousNamespace; + explicit TranslationUnitDecl(ASTContext &ctx) : Decl(TranslationUnit, 0, SourceLocation()), DeclContext(TranslationUnit), - Ctx(ctx) {} + Ctx(ctx), AnonymousNamespace(0) {} public: ASTContext &getASTContext() const { return Ctx; } + NamespaceDecl *getAnonymousNamespace() const { return AnonymousNamespace; } + void setAnonymousNamespace(NamespaceDecl *D) { AnonymousNamespace = D; } + static TranslationUnitDecl *Create(ASTContext &C); // Implement isa/cast/dyncast/etc. static bool classof(const Decl *D) { return D->getKind() == TranslationUnit; } @@ -198,6 +206,20 @@ public: /// \brief Determine whether this declaration has linkage. bool hasLinkage() const; + /// \brief Determine whether this declaration is a C++ class member. + bool isCXXClassMember() const { + const DeclContext *DC = getDeclContext(); + + // C++0x [class.mem]p1: + // The enumerators of an unscoped enumeration defined in + // the class are members of the class. + // FIXME: support C++0x scoped enumerations. + if (isa(DC)) + DC = DC->getParent(); + + return DC->isRecord(); + } + /// \brief Describes the different kinds of linkage /// (C++ [basic.link], C99 6.2.2) that an entity may have. enum Linkage { @@ -246,10 +268,15 @@ class NamespaceDecl : public NamedDecl, // OrigNamespace of the first namespace decl points to itself. NamespaceDecl *OrigNamespace, *NextNamespace; + // The (most recently entered) anonymous namespace inside this + // namespace. + NamespaceDecl *AnonymousNamespace; + NamespaceDecl(DeclContext *DC, SourceLocation L, IdentifierInfo *Id) : NamedDecl(Namespace, DC, L, Id), DeclContext(Namespace) { OrigNamespace = this; NextNamespace = 0; + AnonymousNamespace = 0; } public: static NamespaceDecl *Create(ASTContext &C, DeclContext *DC, @@ -277,6 +304,16 @@ public: } void setOriginalNamespace(NamespaceDecl *ND) { OrigNamespace = ND; } + NamespaceDecl *getAnonymousNamespace() const { + return AnonymousNamespace; + } + + void setAnonymousNamespace(NamespaceDecl *D) { + assert(D->isAnonymousNamespace()); + assert(D->getParent() == this); + AnonymousNamespace = D; + } + virtual NamespaceDecl *getCanonicalDecl() { return OrigNamespace; } const NamespaceDecl *getCanonicalDecl() const { return OrigNamespace; } @@ -769,14 +806,6 @@ class ParmVarDecl : public VarDecl { /// in, inout, etc. unsigned objcDeclQualifier : 6; - /// \brief Retrieves the fake "value" of an unparsed - static Expr *getUnparsedDefaultArgValue() { - uintptr_t Value = (uintptr_t)-1; - // Mask off the low bits - Value &= ~(uintptr_t)0x07; - return reinterpret_cast (Value); - } - protected: ParmVarDecl(Kind DK, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, @@ -798,22 +827,21 @@ public: objcDeclQualifier = QTVal; } + Expr *getDefaultArg(); const Expr *getDefaultArg() const { - assert(!hasUnparsedDefaultArg() && "Default argument is not yet parsed!"); - assert(!hasUninstantiatedDefaultArg() && - "Default argument is not yet instantiated!"); - return getInit(); - } - Expr *getDefaultArg() { - assert(!hasUnparsedDefaultArg() && "Default argument is not yet parsed!"); - assert(!hasUninstantiatedDefaultArg() && - "Default argument is not yet instantiated!"); - return getInit(); + return const_cast(this)->getDefaultArg(); } + void setDefaultArg(Expr *defarg) { Init = reinterpret_cast(defarg); } + unsigned getNumDefaultArgTemporaries() const; + CXXTemporary *getDefaultArgTemporary(unsigned i); + const CXXTemporary *getDefaultArgTemporary(unsigned i) const { + return const_cast(this)->getDefaultArgTemporary(i); + } + /// \brief Retrieve the source range that covers the entire default /// argument. SourceRange getDefaultArgRange() const; @@ -1152,7 +1180,7 @@ public: /// represents an C++ overloaded operator, e.g., "operator+". bool isOverloadedOperator() const { return getOverloadedOperator() != OO_None; - }; + } OverloadedOperatorKind getOverloadedOperator() const; @@ -1421,7 +1449,7 @@ public: }; -class TypedefDecl : public TypeDecl { +class TypedefDecl : public TypeDecl, public Redeclarable { /// UnderlyingType - This is the type the typedef is set to. TypeSourceInfo *TInfo; @@ -1429,7 +1457,7 @@ class TypedefDecl : public TypeDecl { IdentifierInfo *Id, TypeSourceInfo *TInfo) : TypeDecl(Typedef, DC, L, Id), TInfo(TInfo) {} - virtual ~TypedefDecl() {} + virtual ~TypedefDecl(); public: static TypedefDecl *Create(ASTContext &C, DeclContext *DC, @@ -1440,6 +1468,14 @@ public: return TInfo; } + /// Retrieves the canonical declaration of this typedef. + TypedefDecl *getCanonicalDecl() { + return getFirstDeclaration(); + } + const TypedefDecl *getCanonicalDecl() const { + return getFirstDeclaration(); + } + QualType getUnderlyingType() const { return TInfo->getType(); } Modified: vendor/clang/dist/include/clang/AST/DeclCXX.h ============================================================================== --- vendor/clang/dist/include/clang/AST/DeclCXX.h Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/include/clang/AST/DeclCXX.h Fri Jan 1 10:34:51 2010 (r201361) @@ -1178,14 +1178,14 @@ public: /// X(const X&); /// }; /// @endcode - bool isCopyConstructor(ASTContext &Context, unsigned &TypeQuals) const; + bool isCopyConstructor(unsigned &TypeQuals) const; /// isCopyConstructor - Whether this constructor is a copy /// constructor (C++ [class.copy]p2, which can be used to copy the /// class. - bool isCopyConstructor(ASTContext &Context) const { + bool isCopyConstructor() const { unsigned TypeQuals = 0; - return isCopyConstructor(Context, TypeQuals); + return isCopyConstructor(TypeQuals); } /// isConvertingConstructor - Whether this constructor is a @@ -1338,11 +1338,16 @@ private: // Location of the 'friend' specifier. SourceLocation FriendLoc; + // FIXME: Hack to keep track of whether this was a friend function + // template specialization. + bool WasSpecialization; + FriendDecl(DeclContext *DC, SourceLocation L, FriendUnion Friend, SourceLocation FriendL) : Decl(Decl::Friend, DC, L), Friend(Friend), - FriendLoc(FriendL) { + FriendLoc(FriendL), + WasSpecialization(false) { } public: @@ -1369,6 +1374,9 @@ public: return FriendLoc; } + bool wasSpecialization() const { return WasSpecialization; } + void setSpecialization(bool WS) { WasSpecialization = WS; } + // Implement isa/cast/dyncast/etc. static bool classof(const Decl *D) { return D->getKind() == Decl::Friend; Modified: vendor/clang/dist/include/clang/AST/DeclObjC.h ============================================================================== --- vendor/clang/dist/include/clang/AST/DeclObjC.h Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/include/clang/AST/DeclObjC.h Fri Jan 1 10:34:51 2010 (r201361) @@ -527,7 +527,7 @@ public: // Location information, modeled after the Stmt API. SourceLocation getLocStart() const { return getLocation(); } // '@'interface SourceLocation getLocEnd() const { return EndLoc; } - void setLocEnd(SourceLocation LE) { EndLoc = LE; }; + void setLocEnd(SourceLocation LE) { EndLoc = LE; } void setClassLoc(SourceLocation Loc) { ClassLoc = Loc; } SourceLocation getClassLoc() const { return ClassLoc; } @@ -707,7 +707,7 @@ public: // Location information, modeled after the Stmt API. SourceLocation getLocStart() const { return getLocation(); } // '@'protocol SourceLocation getLocEnd() const { return EndLoc; } - void setLocEnd(SourceLocation LE) { EndLoc = LE; }; + void setLocEnd(SourceLocation LE) { EndLoc = LE; } static bool classof(const Decl *D) { return D->getKind() == ObjCProtocol; } static bool classof(const ObjCProtocolDecl *D) { return true; } @@ -871,7 +871,7 @@ public: // Location information, modeled after the Stmt API. SourceLocation getLocStart() const { return getLocation(); } // '@'interface SourceLocation getLocEnd() const { return EndLoc; } - void setLocEnd(SourceLocation LE) { EndLoc = LE; }; + void setLocEnd(SourceLocation LE) { EndLoc = LE; } static bool classof(const Decl *D) { return D->getKind() == ObjCCategory; } static bool classof(const ObjCCategoryDecl *D) { return true; } Modified: vendor/clang/dist/include/clang/AST/Expr.h ============================================================================== --- vendor/clang/dist/include/clang/AST/Expr.h Fri Jan 1 10:31:22 2010 (r201360) +++ vendor/clang/dist/include/clang/AST/Expr.h Fri Jan 1 10:34:51 2010 (r201361) @@ -53,14 +53,6 @@ protected: /// (C++ [temp.dep.constexpr]). bool ValueDependent : 1; - // FIXME: Eventually, this constructor should go away and we should - // require every subclass to provide type/value-dependence - // information. - Expr(StmtClass SC, QualType T) - : Stmt(SC), TypeDependent(false), ValueDependent(false) { - setType(T); - } - Expr(StmtClass SC, QualType T, bool TD, bool VD) *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 11:43:09 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C110106566C; Fri, 1 Jan 2010 11:43:09 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 89B6A8FC13; Fri, 1 Jan 2010 11:43:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01Bh9Kk002979; Fri, 1 Jan 2010 11:43:09 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01Bh9VS002976; Fri, 1 Jan 2010 11:43:09 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201001011143.o01Bh9VS002976@svn.freebsd.org> From: Konstantin Belousov Date: Fri, 1 Jan 2010 11:43:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201362 - in stable/8/lib/libc: gen sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 11:43:09 -0000 Author: kib Date: Fri Jan 1 11:43:09 2010 New Revision: 201362 URL: http://svn.freebsd.org/changeset/base/201362 Log: MFC r201201: Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2). MFC r201204: Document _FAST and _PRECISE clocks. Modified: stable/8/lib/libc/gen/time.3 stable/8/lib/libc/sys/clock_gettime.2 Directory Properties: stable/8/lib/libc/ (props changed) stable/8/lib/libc/stdtime/ (props changed) Modified: stable/8/lib/libc/gen/time.3 ============================================================================== --- stable/8/lib/libc/gen/time.3 Fri Jan 1 10:34:51 2010 (r201361) +++ stable/8/lib/libc/gen/time.3 Fri Jan 1 11:43:09 2010 (r201362) @@ -66,6 +66,7 @@ The function may fail for any of the reasons described in .Xr gettimeofday 2 . .Sh SEE ALSO +.Xr clock_gettime 2 , .Xr gettimeofday 2 , .Xr ctime 3 .Sh STANDARDS Modified: stable/8/lib/libc/sys/clock_gettime.2 ============================================================================== --- stable/8/lib/libc/sys/clock_gettime.2 Fri Jan 1 10:34:51 2010 (r201361) +++ stable/8/lib/libc/sys/clock_gettime.2 Fri Jan 1 11:43:09 2010 (r201362) @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 4, 2006 +.Dd December 29, 2009 .Dt CLOCK_GETTIME 2 .Os .Sh NAME @@ -59,21 +59,43 @@ used by a clock which is specified by The .Fa clock_id argument -can be one of five values: -.Dv CLOCK_REALTIME +can be one of the following values: +.Dv CLOCK_REALTIME , +.Dv CLOCK_REALTIME_PRECISE , +.Dv CLOCK_REALTIME_FAST for time that increments as -a wall clock should, -.Dv CLOCK_MONOTONIC -which increments in SI seconds, -.Dv CLOCK_UPTIME +a wall clock should; +.Dv CLOCK_MONOTONIC , +.Dv CLOCK_MONOTONIC_PRECISE , +.Dv CLOCK_MONOTONIC_FAST +which increments in SI seconds; +.Dv CLOCK_UPTIME , +.Dv CLOCK_UPTIME_PRECISE , +.Dv CLOCK_UPTIME_FAST which starts at zero when the kernel boots and increments -monotonically in SI seconds while the machine is running, +monotonically in SI seconds while the machine is running; .Dv CLOCK_VIRTUAL for time that increments only when -the CPU is running in user mode on behalf of the calling process, or +the CPU is running in user mode on behalf of the calling process; .Dv CLOCK_PROF for time that increments when the CPU is running in user or -kernel mode. +kernel mode; or +.Dv CLOCK_SECOND +which returns the current second without performing a full time counter +query, using in-kernel cached value of current second. +.Pp +The clock IDs +.Fa CLOCK_REALTIME_FAST , +.Fa CLOCK_MONOTONIC_FAST , +.Fa CLOCK_UPTIME_FAST +are analogs of corresponding IDs without _FAST suffix but do not perform +a full time counter query, so their accuracy is one timer tick. +Similarly, +.Fa CLOCK_REALTIME_PRECISE , +.Fa CLOCK_MONOTONIC_PRECISE , +.Fa CLOCK_UPTIME_PRECISE +are used to get the most exact value as possible, at the expense of +execution time. .Pp The structure pointed to by .Fa tp @@ -88,7 +110,8 @@ struct timespec { }; .Ed .Pp -Only the super-user may set the time of day. +Only the super-user may set the time of day, using only +.Fa CLOCK_REALTIME . If the system securelevel is greater than 1 (see .Xr init 8 ) , the time may only be advanced. @@ -134,3 +157,13 @@ and .Fn clock_getres system calls conform to .St -p1003.1b-93 . +The clock IDs +.Fa CLOCK_REALTIME_FAST , +.Fa CLOCK_REALTIME_PRECISE , +.Fa CLOCK_MONOTONIC_FAST , +.Fa CLOCK_MONOTONIC_PRECISE , +.Fa CLOCK_UPTIME , +.Fa CLOCK_UPTIME_FAST , +.Fa CLOCK_UPTIME_PRECISE , +.Fa CLOCK_SECOND +are FreeBSD extensions to the POSIX interface. From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 11:51:41 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 355131065670; Fri, 1 Jan 2010 11:51:41 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 236068FC16; Fri, 1 Jan 2010 11:51:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01BpfwI004908; Fri, 1 Jan 2010 11:51:41 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01Bpfbc004905; Fri, 1 Jan 2010 11:51:41 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201001011151.o01Bpfbc004905@svn.freebsd.org> From: Konstantin Belousov Date: Fri, 1 Jan 2010 11:51:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201363 - in stable/7/lib/libc: gen sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 11:51:41 -0000 Author: kib Date: Fri Jan 1 11:51:40 2010 New Revision: 201363 URL: http://svn.freebsd.org/changeset/base/201363 Log: MFC r201201: Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2). MFC r201204: Document _FAST and _PRECISE clocks. Modified: stable/7/lib/libc/gen/time.3 stable/7/lib/libc/sys/clock_gettime.2 Directory Properties: stable/7/lib/libc/ (props changed) stable/7/lib/libc/stdtime/ (props changed) Modified: stable/7/lib/libc/gen/time.3 ============================================================================== --- stable/7/lib/libc/gen/time.3 Fri Jan 1 11:43:09 2010 (r201362) +++ stable/7/lib/libc/gen/time.3 Fri Jan 1 11:51:40 2010 (r201363) @@ -66,6 +66,7 @@ The function may fail for any of the reasons described in .Xr gettimeofday 2 . .Sh SEE ALSO +.Xr clock_gettime 2 , .Xr gettimeofday 2 , .Xr ctime 3 .Sh STANDARDS Modified: stable/7/lib/libc/sys/clock_gettime.2 ============================================================================== --- stable/7/lib/libc/sys/clock_gettime.2 Fri Jan 1 11:43:09 2010 (r201362) +++ stable/7/lib/libc/sys/clock_gettime.2 Fri Jan 1 11:51:40 2010 (r201363) @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 4, 2006 +.Dd December 29, 2009 .Dt CLOCK_GETTIME 2 .Os .Sh NAME @@ -59,21 +59,43 @@ used by a clock which is specified by The .Fa clock_id argument -can be one of five values: -.Dv CLOCK_REALTIME +can be one of the following values: +.Dv CLOCK_REALTIME , +.Dv CLOCK_REALTIME_PRECISE , +.Dv CLOCK_REALTIME_FAST for time that increments as -a wall clock should, -.Dv CLOCK_MONOTONIC -which increments in SI seconds, -.Dv CLOCK_UPTIME +a wall clock should; +.Dv CLOCK_MONOTONIC , +.Dv CLOCK_MONOTONIC_PRECISE , +.Dv CLOCK_MONOTONIC_FAST +which increments in SI seconds; +.Dv CLOCK_UPTIME , +.Dv CLOCK_UPTIME_PRECISE , +.Dv CLOCK_UPTIME_FAST which starts at zero when the kernel boots and increments -monotonically in SI seconds while the machine is running, +monotonically in SI seconds while the machine is running; .Dv CLOCK_VIRTUAL for time that increments only when -the CPU is running in user mode on behalf of the calling process, or +the CPU is running in user mode on behalf of the calling process; .Dv CLOCK_PROF for time that increments when the CPU is running in user or -kernel mode. +kernel mode; or +.Dv CLOCK_SECOND +which returns the current second without performing a full time counter +query, using in-kernel cached value of current second. +.Pp +The clock IDs +.Fa CLOCK_REALTIME_FAST , +.Fa CLOCK_MONOTONIC_FAST , +.Fa CLOCK_UPTIME_FAST +are analogs of corresponding IDs without _FAST suffix but do not perform +a full time counter query, so their accuracy is one timer tick. +Similarly, +.Fa CLOCK_REALTIME_PRECISE , +.Fa CLOCK_MONOTONIC_PRECISE , +.Fa CLOCK_UPTIME_PRECISE +are used to get the most exact value as possible, at the expense of +execution time. .Pp The structure pointed to by .Fa tp @@ -88,7 +110,8 @@ struct timespec { }; .Ed .Pp -Only the super-user may set the time of day. +Only the super-user may set the time of day, using only +.Fa CLOCK_REALTIME . If the system securelevel is greater than 1 (see .Xr init 8 ) , the time may only be advanced. @@ -134,3 +157,13 @@ and .Fn clock_getres system calls conform to .St -p1003.1b-93 . +The clock IDs +.Fa CLOCK_REALTIME_FAST , +.Fa CLOCK_REALTIME_PRECISE , +.Fa CLOCK_MONOTONIC_FAST , +.Fa CLOCK_MONOTONIC_PRECISE , +.Fa CLOCK_UPTIME , +.Fa CLOCK_UPTIME_FAST , +.Fa CLOCK_UPTIME_PRECISE , +.Fa CLOCK_SECOND +are FreeBSD extensions to the POSIX interface. From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 17:30:42 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7273D106566C; Fri, 1 Jan 2010 17:30:42 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5FBC58FC12; Fri, 1 Jan 2010 17:30:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01HUg6e079048; Fri, 1 Jan 2010 17:30:42 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01HUg69079046; Fri, 1 Jan 2010 17:30:42 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201001011730.o01HUg69079046@svn.freebsd.org> From: Marius Strobl Date: Fri, 1 Jan 2010 17:30:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201364 - stable/8/sys/sparc64/pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 17:30:42 -0000 Author: marius Date: Fri Jan 1 17:30:42 2010 New Revision: 201364 URL: http://svn.freebsd.org/changeset/base/201364 Log: MFC: r201126 Account for firmware versions which include the CDMA interrupts in the OFW device tree. Modified: stable/8/sys/sparc64/pci/schizo.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/sparc64/pci/schizo.c ============================================================================== --- stable/8/sys/sparc64/pci/schizo.c Fri Jan 1 11:51:40 2010 (r201363) +++ stable/8/sys/sparc64/pci/schizo.c Fri Jan 1 17:30:42 2010 (r201364) @@ -628,31 +628,44 @@ schizo_attach(device_t dev) /* * According to the Schizo Errata I-13, consistent DMA flushing/ * syncing is FUBAR in version < 5 (i.e. revision < 2.3) bridges, - * so we can't use it and need to live with the consequences. - * With Schizo version >= 5, CDMA flushing/syncing is usable - * but requires the the workaround described in Schizo Errata - * I-23. With Tomatillo and XMITS, CDMA flushing/syncing works - * as expected, Tomatillo version <= 4 (i.e. revision <= 2.3) - * bridges additionally require a block store after a write to - * TOMXMS_PCI_DMA_SYNC_PEND though. + * so we can't use it and need to live with the consequences. With + * Schizo version >= 5, CDMA flushing/syncing is usable but requires + * the workaround described in Schizo Errata I-23. With Tomatillo + * and XMITS, CDMA flushing/syncing works as expected, Tomatillo + * version <= 4 (i.e. revision <= 2.3) bridges additionally require + * a block store after a write to TOMXMS_PCI_DMA_SYNC_PEND though. */ if ((sc->sc_mode == SCHIZO_MODE_SCZ && sc->sc_ver >= 5) || sc->sc_mode == SCHIZO_MODE_TOM || sc->sc_mode == SCHIZO_MODE_XMS) { sc->sc_flags |= SCHIZO_FLAGS_CDMA; if (sc->sc_mode == SCHIZO_MODE_SCZ) { - n = STX_CDMA_A_INO + sc->sc_half; - if (bus_set_resource(dev, SYS_RES_IRQ, 5, - INTMAP_VEC(sc->sc_ign, n), 1) != 0) - panic("%s: failed to add CDMA interrupt", - __func__); - i = schizo_intr_register(sc, n); - if (i != 0) - panic("%s: could not register interrupt " - "controller for CDMA (%d)", __func__, i); - (void)schizo_get_intrmap(sc, n, NULL, - &sc->sc_cdma_clr); sc->sc_cdma_state = SCHIZO_CDMA_STATE_DONE; - schizo_set_intr(sc, 5, n, schizo_cdma); + /* + * Some firmware versions include the CDMA interrupt + * at RID 4 but most don't. With the latter we add + * it ourselves at the spare RID 5. + */ + n = INTINO(bus_get_resource_start(dev, SYS_RES_IRQ, + 4)); + if (n == STX_CDMA_A_INO || n == STX_CDMA_B_INO) { + (void)schizo_get_intrmap(sc, n, NULL, + &sc->sc_cdma_clr); + schizo_set_intr(sc, 4, n, schizo_cdma); + } else { + n = STX_CDMA_A_INO + sc->sc_half; + if (bus_set_resource(dev, SYS_RES_IRQ, 5, + INTMAP_VEC(sc->sc_ign, n), 1) != 0) + panic("%s: failed to add CDMA " + "interrupt", __func__); + i = schizo_intr_register(sc, n); + if (i != 0) + panic("%s: could not register " + "interrupt controller for CDMA " + "(%d)", __func__, i); + (void)schizo_get_intrmap(sc, n, NULL, + &sc->sc_cdma_clr); + schizo_set_intr(sc, 5, n, schizo_cdma); + } } if (sc->sc_mode == SCHIZO_MODE_TOM && sc->sc_ver <= 4) sc->sc_flags |= SCHIZO_FLAGS_BSWAR; From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 17:30:59 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C44D1065672; Fri, 1 Jan 2010 17:30:59 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E54C98FC1D; Fri, 1 Jan 2010 17:30:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01HUwHv079117; Fri, 1 Jan 2010 17:30:58 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01HUwuH079116; Fri, 1 Jan 2010 17:30:58 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201001011730.o01HUwuH079116@svn.freebsd.org> From: Marius Strobl Date: Fri, 1 Jan 2010 17:30:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201365 - in stable/7/sys: . cddl/contrib/opensolaris contrib/dev/acpica contrib/pf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 17:30:59 -0000 Author: marius Date: Fri Jan 1 17:30:58 2010 New Revision: 201365 URL: http://svn.freebsd.org/changeset/base/201365 Log: MFC: r201126 Account for firmware versions which include the CDMA interrupts in the OFW device tree. Modified: Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 18:17:46 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD0CC106568F; Fri, 1 Jan 2010 18:17:46 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C99E18FC15; Fri, 1 Jan 2010 18:17:46 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01IHkhr089404; Fri, 1 Jan 2010 18:17:46 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01IHkU4089396; Fri, 1 Jan 2010 18:17:46 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201001011817.o01IHkU4089396@svn.freebsd.org> From: Jilles Tjoelker Date: Fri, 1 Jan 2010 18:17:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201366 - in head: bin/sh tools/regression/bin/sh/expansion X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 18:17:47 -0000 Author: jilles Date: Fri Jan 1 18:17:46 2010 New Revision: 201366 URL: http://svn.freebsd.org/changeset/base/201366 Log: sh: Fix some bugs with backquoted builtins: - correctly handle error output in $(builtin 2>&1), clarify out1/out2 vs output/errout in the code - treat all builtins as regular builtins so errors do not abort the shell and variable assignments do not persist - respect the caller's INTOFF Some bugs still exist: - expansion errors may still abort the shell - some side effects of expansions and builtins persist Added: head/tools/regression/bin/sh/expansion/cmdsubst1.0 (contents, props changed) Modified: head/bin/sh/error.c head/bin/sh/eval.c head/bin/sh/exec.c head/bin/sh/expand.c head/bin/sh/output.h head/bin/sh/parser.c Modified: head/bin/sh/error.c ============================================================================== --- head/bin/sh/error.c Fri Jan 1 17:30:58 2010 (r201365) +++ head/bin/sh/error.c Fri Jan 1 18:17:46 2010 (r201366) @@ -160,8 +160,8 @@ exverror(int cond, const char *msg, va_l #endif if (msg) { if (commandname) - outfmt(&errout, "%s: ", commandname); - doformat(&errout, msg, ap); + outfmt(out2, "%s: ", commandname); + doformat(out2, msg, ap); out2c('\n'); } flushall(); Modified: head/bin/sh/eval.c ============================================================================== --- head/bin/sh/eval.c Fri Jan 1 17:30:58 2010 (r201365) +++ head/bin/sh/eval.c Fri Jan 1 18:17:46 2010 (r201366) @@ -646,7 +646,7 @@ evalcommand(union node *cmd, int flags, out2str(ps4val()); for (sp = varlist.list ; sp ; sp = sp->next) { if (sep != 0) - outc(' ', &errout); + out2c(' '); p = sp->text; while (*p != '=' && *p != '\0') out2c(*p++); @@ -658,7 +658,7 @@ evalcommand(union node *cmd, int flags, } for (sp = arglist.list ; sp ; sp = sp->next) { if (sep != 0) - outc(' ', &errout); + out2c(' '); /* Disambiguate command looking like assignment. */ if (sp == arglist.list && strchr(sp->text, '=') != NULL && @@ -670,7 +670,7 @@ evalcommand(union node *cmd, int flags, out2qstr(sp->text); sep = ' '; } - outc('\n', &errout); + out2c('\n'); flushout(&errout); } @@ -722,9 +722,8 @@ evalcommand(union node *cmd, int flags, break; if ((cmdentry.u.index = find_builtin(*argv, &cmdentry.special)) < 0) { - outfmt(&errout, "%s: not found\n", *argv); + out2fmt_flush("%s: not found\n", *argv); exitstatus = 127; - flushout(&errout); return; } if (cmdentry.u.index != BLTINCMD) @@ -832,6 +831,7 @@ evalcommand(union node *cmd, int flags, memout.nextc = memout.buf; memout.bufsize = 64; mode |= REDIR_BACKQ; + cmdentry.special = 0; } savecmdname = commandname; savetopfile = getcurrentfile(); @@ -865,20 +865,21 @@ cmddone: } } handler = savehandler; + if (flags == EV_BACKCMD) { + backcmd->buf = memout.buf; + backcmd->nleft = memout.nextc - memout.buf; + memout.buf = NULL; + } if (e != -1) { if ((e != EXERROR && e != EXEXEC) || cmdentry.special) exraise(e); popfilesupto(savetopfile); - FORCEINTON; + if (flags != EV_BACKCMD) + FORCEINTON; } if (cmdentry.u.index != EXECCMD) popredir(); - if (flags == EV_BACKCMD) { - backcmd->buf = memout.buf; - backcmd->nleft = memout.nextc - memout.buf; - memout.buf = NULL; - } } else { #ifdef DEBUG trputs("normal command: "); trargs(argv); Modified: head/bin/sh/exec.c ============================================================================== --- head/bin/sh/exec.c Fri Jan 1 17:30:58 2010 (r201365) +++ head/bin/sh/exec.c Fri Jan 1 18:17:46 2010 (r201366) @@ -255,7 +255,7 @@ hashcmd(int argc __unused, char **argv _ if (cmdp != NULL) printentry(cmdp, verbose); else - outfmt(&errout, "%s: not found\n", name); + outfmt(out2, "%s: not found\n", name); } flushall(); } Modified: head/bin/sh/expand.c ============================================================================== --- head/bin/sh/expand.c Fri Jan 1 17:30:58 2010 (r201365) +++ head/bin/sh/expand.c Fri Jan 1 18:17:46 2010 (r201366) @@ -526,7 +526,7 @@ subevalvar(char *p, char *str, int strlo case VSQUESTION: if (*p != CTLENDVAR) { - outfmt(&errout, "%s\n", startp); + outfmt(out2, "%s\n", startp); error((char *)NULL); } error("%.*s: parameter %snot set", (int)(p - str - 1), Modified: head/bin/sh/output.h ============================================================================== --- head/bin/sh/output.h Fri Jan 1 17:30:58 2010 (r201365) +++ head/bin/sh/output.h Fri Jan 1 18:17:46 2010 (r201366) @@ -46,11 +46,12 @@ struct output { short flags; }; -extern struct output output; -extern struct output errout; +extern struct output output; /* to fd 1 */ +extern struct output errout; /* to fd 2 */ extern struct output memout; -extern struct output *out1; -extern struct output *out2; +extern struct output *out1; /* &memout if backquote, otherwise &output */ +extern struct output *out2; /* &memout if backquote with 2>&1, otherwise + &errout */ void out1str(const char *); void out1qstr(const char *); Modified: head/bin/sh/parser.c ============================================================================== --- head/bin/sh/parser.c Fri Jan 1 17:30:58 2010 (r201365) +++ head/bin/sh/parser.c Fri Jan 1 18:17:46 2010 (r201366) @@ -1560,8 +1560,8 @@ STATIC void synerror(const char *msg) { if (commandname) - outfmt(&errout, "%s: %d: ", commandname, startlinno); - outfmt(&errout, "Syntax error: %s\n", msg); + outfmt(out2, "%s: %d: ", commandname, startlinno); + outfmt(out2, "Syntax error: %s\n", msg); error((char *)NULL); } Added: head/tools/regression/bin/sh/expansion/cmdsubst1.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/tools/regression/bin/sh/expansion/cmdsubst1.0 Fri Jan 1 18:17:46 2010 (r201366) @@ -0,0 +1,48 @@ +# $FreeBSD$ + +failures=0 + +check() { + if ! eval "[ $* ]"; then + echo "Failed: $*" + : $((failures += 1)) + fi +} + +check '"$(echo abcde)" = "abcde"' +check '"$(echo abcde; :)" = "abcde"' + +check '"$(printf abcde)" = "abcde"' +check '"$(printf abcde; :)" = "abcde"' + +# regular +check '-n "$(umask)"' +check '-n "$(umask; :)"' +check '-n "$(umask 2>&1)"' +check '-n "$(umask 2>&1; :)"' + +# special +check '-n "$(times)"' +check '-n "$(times; :)"' +check '-n "$(times 2>&1)"' +check '-n "$(times 2>&1; :)"' + +# regular +check '".$(umask -@ 2>&1)." = ".umask: Illegal option -@."' +check '".$(umask -@ 2>&1; :)." = ".umask: Illegal option -@."' +check '".$({ umask -@; } 2>&1)." = ".umask: Illegal option -@."' + +# special +check '".$(shift xyz 2>&1)." = ".shift: Illegal number: xyz."' +check '".$(shift xyz 2>&1; :)." = ".shift: Illegal number: xyz."' +check '".$({ shift xyz; } 2>&1)." = ".shift: Illegal number: xyz."' + +v=1 +check '-z "$(v=2 :)"' +check '"$v" = 1' +check '-z "$(v=3)"' +check '"$v" = 1' +check '"$(v=4 eval echo \$v)" = 4' +check '"$v" = 1' + +exit $((failures > 0)) From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 19:06:00 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F67C106566C; Fri, 1 Jan 2010 19:06:00 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE5B8FC0C; Fri, 1 Jan 2010 19:06:00 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01J60JF000258; Fri, 1 Jan 2010 19:06:00 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01J605c000256; Fri, 1 Jan 2010 19:06:00 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201001011906.o01J605c000256@svn.freebsd.org> From: Doug Barton Date: Fri, 1 Jan 2010 19:06:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201367 - head/etc/rc.d X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 19:06:00 -0000 Author: dougb Date: Fri Jan 1 19:06:00 2010 New Revision: 201367 URL: http://svn.freebsd.org/changeset/base/201367 Log: The script hard-coded the assumption that the "configuration directory" would be "/etc/namedb" in a number of places. Since the user may make a different choice, introduce a new internal variable, named_confdir that is generated relative to the location of $named_conf. While this will work for some things (especially a highly customized build from ISC source) there are still a number of places where /etc/namedb is assumed that it is not easily virtualized (E.g., mtree). If you deviate from the defaults you'd better know what you're doing. :) Modified: head/etc/rc.d/named Modified: head/etc/rc.d/named ============================================================================== --- head/etc/rc.d/named Fri Jan 1 18:17:46 2010 (r201366) +++ head/etc/rc.d/named Fri Jan 1 19:06:00 2010 (r201367) @@ -43,19 +43,19 @@ chroot_autoupdate() warn "chroot directory structure not updated" fi - # Create /etc/namedb symlink + # Create (or update) the configuration directory symlink # - if [ ! -L /etc/namedb ]; then - if [ -d /etc/namedb ]; then - warn "named chroot: /etc/namedb is a directory!" - elif [ -e /etc/namedb ]; then - warn "named chroot: /etc/namedb exists!" + if [ ! -L "${named_conf%/*}" ]; then + if [ -d "${named_conf%/*}" ]; then + warn "named chroot: ${named_conf%/*} is a directory!" + elif [ -e "${named_conf%/*}" ]; then + warn "named chroot: ${named_conf%/*} exists!" else - ln -s ${named_chrootdir}/etc/namedb /etc/namedb + ln -s ${named_confdir} ${named_conf%/*} fi else # Make sure it points to the right place. - ln -shf ${named_chrootdir}/etc/namedb /etc/namedb + ln -shf ${named_confdir} ${named_conf%/*} fi # Mount a devfs in the chroot directory if needed @@ -179,12 +179,12 @@ named_prestart() # Create an rndc.key file for the user if none exists # confgen_command="${command%/named}/rndc-confgen -a -b256 -u $named_uid \ - -c ${named_chrootdir}/etc/namedb/rndc.key" - if [ -s "${named_chrootdir}/etc/namedb/rndc.conf" ]; then + -c ${named_confdir}/rndc.key" + if [ -s "${named_confdir}/rndc.conf" ]; then unset confgen_command fi - if [ -s "${named_chrootdir}/etc/namedb/rndc.key" ]; then - case `stat -f%Su ${named_chrootdir}/etc/namedb/rndc.key` in + if [ -s "${named_confidr}/rndc.key" ]; then + case `stat -f%Su ${named_confidr}/rndc.key` in root|$named_uid) ;; *) $confgen_command ;; esac @@ -198,8 +198,8 @@ named_prestart() warn "named_auto_forward enabled, but no /etc/resolv.conf" # Empty the file in case it is included in named.conf - [ -s "${named_chrootdir}/etc/namedb/auto_forward.conf" ] && - create_file ${named_chrootdir}/etc/namedb/auto_forward.conf + [ -s "${named_confdir}/auto_forward.conf" ] && + create_file ${named_confdir}/auto_forward.conf ${command%/named}/named-checkconf $named_conf || err 3 'named-checkconf for $named_conf failed' @@ -248,19 +248,19 @@ named_prestart() mv /var/run/naf-resolv.conf /etc/resolv.conf fi - if cmp -s ${named_chrootdir}/etc/namedb/auto_forward.conf \ + if cmp -s ${named_confdir}/auto_forward.conf \ /var/run/auto_forward.conf; then unlink /var/run/auto_forward.conf else - [ -e "${named_chrootdir}/etc/namedb/auto_forward.conf" ] && - unlink ${named_chrootdir}/etc/namedb/auto_forward.conf + [ -e "${named_confdir}/auto_forward.conf" ] && + unlink ${named_confdir}/auto_forward.conf mv /var/run/auto_forward.conf \ - ${named_chrootdir}/etc/namedb/auto_forward.conf + ${named_confdir}/auto_forward.conf fi else # Empty the file in case it is included in named.conf - [ -s "${named_chrootdir}/etc/namedb/auto_forward.conf" ] && - create_file ${named_chrootdir}/etc/namedb/auto_forward.conf + [ -s "${named_confdir}/auto_forward.conf" ] && + create_file ${named_confdir}/auto_forward.conf fi ${command%/named}/named-checkconf $named_conf || @@ -274,5 +274,6 @@ load_rc_config $name required_dirs="$named_chrootdir" # if it is set, it must exist required_files="${named_conf:=/etc/namedb/named.conf}" pidfile="${named_pidfile:-/var/run/named/pid}" +named_confdir="${named_chrootdir}${named_conf%/*}" run_rc_command "$1" From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 19:09:40 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7F4A1065672; Fri, 1 Jan 2010 19:09:40 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 95F2E8FC0C; Fri, 1 Jan 2010 19:09:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01J9ewv001096; Fri, 1 Jan 2010 19:09:40 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01J9eCm001094; Fri, 1 Jan 2010 19:09:40 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201001011909.o01J9eCm001094@svn.freebsd.org> From: Doug Barton Date: Fri, 1 Jan 2010 19:09:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201368 - head/etc/defaults X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 19:09:40 -0000 Author: dougb Date: Fri Jan 1 19:09:40 2010 New Revision: 201368 URL: http://svn.freebsd.org/changeset/base/201368 Log: With the introduction of named_conf the -c example in named_flags is no longer necessary or desirable. Update the comment to indicate that _flags should be used for options other than -u and -c. Modified: head/etc/defaults/rc.conf Modified: head/etc/defaults/rc.conf ============================================================================== --- head/etc/defaults/rc.conf Fri Jan 1 19:06:00 2010 (r201367) +++ head/etc/defaults/rc.conf Fri Jan 1 19:09:40 2010 (r201368) @@ -267,7 +267,7 @@ inetd_flags="-wW -C 60" # Optional flag named_enable="NO" # Run named, the DNS server (or NO). named_program="/usr/sbin/named" # Path to named, if you want a different one. named_conf="/etc/namedb/named.conf" # Path to the configuration file -#named_flags="-c /etc/namedb/named.conf" # Uncomment for named not in /usr/sbin +#named_flags="" # Use this for flags OTHER than -u and -c named_pidfile="/var/run/named/pid" # Must set this in named.conf as well named_uid="bind" # User to run named as named_chrootdir="/var/named" # Chroot directory (or "" not to auto-chroot it) From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 20:55:12 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CEC11065696; Fri, 1 Jan 2010 20:55:12 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 39AB58FC1E; Fri, 1 Jan 2010 20:55:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01KtCBp024406; Fri, 1 Jan 2010 20:55:12 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01KtCw5024405; Fri, 1 Jan 2010 20:55:12 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <201001012055.o01KtCw5024405@svn.freebsd.org> From: "David E. O'Brien" Date: Fri, 1 Jan 2010 20:55:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201369 - in head/sys: amd64/include i386/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 20:55:12 -0000 Author: obrien Date: Fri Jan 1 20:55:11 2010 New Revision: 201369 URL: http://svn.freebsd.org/changeset/base/201369 Log: Quiet variable "shadows" warning: sys/vmmeter.h: warning: shadowed declaration is here machine/cpufunc.h: In function 'insw': machine/cpufunc.h: warning: declaration of 'cnt' shadows a global declaration ..snip.. Modified: head/sys/amd64/include/cpufunc.h head/sys/i386/include/cpufunc.h Modified: head/sys/amd64/include/cpufunc.h ============================================================================== --- head/sys/amd64/include/cpufunc.h Fri Jan 1 19:09:40 2010 (r201368) +++ head/sys/amd64/include/cpufunc.h Fri Jan 1 20:55:11 2010 (r201369) @@ -190,28 +190,28 @@ inl(u_int port) } static __inline void -insb(u_int port, void *addr, size_t cnt) +insb(u_int port, void *addr, size_t count) { __asm __volatile("cld; rep; insb" - : "+D" (addr), "+c" (cnt) + : "+D" (addr), "+c" (count) : "d" (port) : "memory"); } static __inline void -insw(u_int port, void *addr, size_t cnt) +insw(u_int port, void *addr, size_t count) { __asm __volatile("cld; rep; insw" - : "+D" (addr), "+c" (cnt) + : "+D" (addr), "+c" (count) : "d" (port) : "memory"); } static __inline void -insl(u_int port, void *addr, size_t cnt) +insl(u_int port, void *addr, size_t count) { __asm __volatile("cld; rep; insl" - : "+D" (addr), "+c" (cnt) + : "+D" (addr), "+c" (count) : "d" (port) : "memory"); } @@ -244,26 +244,26 @@ outl(u_int port, u_int data) } static __inline void -outsb(u_int port, const void *addr, size_t cnt) +outsb(u_int port, const void *addr, size_t count) { __asm __volatile("cld; rep; outsb" - : "+S" (addr), "+c" (cnt) + : "+S" (addr), "+c" (count) : "d" (port)); } static __inline void -outsw(u_int port, const void *addr, size_t cnt) +outsw(u_int port, const void *addr, size_t count) { __asm __volatile("cld; rep; outsw" - : "+S" (addr), "+c" (cnt) + : "+S" (addr), "+c" (count) : "d" (port)); } static __inline void -outsl(u_int port, const void *addr, size_t cnt) +outsl(u_int port, const void *addr, size_t count) { __asm __volatile("cld; rep; outsl" - : "+S" (addr), "+c" (cnt) + : "+S" (addr), "+c" (count) : "d" (port)); } @@ -670,9 +670,9 @@ void halt(void); void ia32_pause(void); u_char inb(u_int port); u_int inl(u_int port); -void insb(u_int port, void *addr, size_t cnt); -void insl(u_int port, void *addr, size_t cnt); -void insw(u_int port, void *addr, size_t cnt); +void insb(u_int port, void *addr, size_t count); +void insl(u_int port, void *addr, size_t count); +void insw(u_int port, void *addr, size_t count); register_t intr_disable(void); void intr_restore(register_t rf); void invd(void); @@ -697,9 +697,9 @@ void load_gs(u_int sel); void ltr(u_short sel); void outb(u_int port, u_char data); void outl(u_int port, u_int data); -void outsb(u_int port, const void *addr, size_t cnt); -void outsl(u_int port, const void *addr, size_t cnt); -void outsw(u_int port, const void *addr, size_t cnt); +void outsb(u_int port, const void *addr, size_t count); +void outsl(u_int port, const void *addr, size_t count); +void outsw(u_int port, const void *addr, size_t count); void outw(u_int port, u_short data); u_long rcr0(void); u_long rcr2(void); Modified: head/sys/i386/include/cpufunc.h ============================================================================== --- head/sys/i386/include/cpufunc.h Fri Jan 1 19:09:40 2010 (r201368) +++ head/sys/i386/include/cpufunc.h Fri Jan 1 20:55:11 2010 (r201369) @@ -203,28 +203,28 @@ inl(u_int port) } static __inline void -insb(u_int port, void *addr, size_t cnt) +insb(u_int port, void *addr, size_t count) { __asm __volatile("cld; rep; insb" - : "+D" (addr), "+c" (cnt) + : "+D" (addr), "+c" (count) : "d" (port) : "memory"); } static __inline void -insw(u_int port, void *addr, size_t cnt) +insw(u_int port, void *addr, size_t count) { __asm __volatile("cld; rep; insw" - : "+D" (addr), "+c" (cnt) + : "+D" (addr), "+c" (count) : "d" (port) : "memory"); } static __inline void -insl(u_int port, void *addr, size_t cnt) +insl(u_int port, void *addr, size_t count) { __asm __volatile("cld; rep; insl" - : "+D" (addr), "+c" (cnt) + : "+D" (addr), "+c" (count) : "d" (port) : "memory"); } @@ -257,26 +257,26 @@ outl(u_int port, u_int data) } static __inline void -outsb(u_int port, const void *addr, size_t cnt) +outsb(u_int port, const void *addr, size_t count) { __asm __volatile("cld; rep; outsb" - : "+S" (addr), "+c" (cnt) + : "+S" (addr), "+c" (count) : "d" (port)); } static __inline void -outsw(u_int port, const void *addr, size_t cnt) +outsw(u_int port, const void *addr, size_t count) { __asm __volatile("cld; rep; outsw" - : "+S" (addr), "+c" (cnt) + : "+S" (addr), "+c" (count) : "d" (port)); } static __inline void -outsl(u_int port, const void *addr, size_t cnt) +outsl(u_int port, const void *addr, size_t count) { __asm __volatile("cld; rep; outsl" - : "+S" (addr), "+c" (cnt) + : "+S" (addr), "+c" (count) : "d" (port)); } @@ -684,9 +684,9 @@ void halt(void); void ia32_pause(void); u_char inb(u_int port); u_int inl(u_int port); -void insb(u_int port, void *addr, size_t cnt); -void insl(u_int port, void *addr, size_t cnt); -void insw(u_int port, void *addr, size_t cnt); +void insb(u_int port, void *addr, size_t count); +void insl(u_int port, void *addr, size_t count); +void insw(u_int port, void *addr, size_t count); register_t intr_disable(void); void intr_restore(register_t ef); void invd(void); @@ -711,9 +711,9 @@ void load_gs(u_int sel); void ltr(u_short sel); void outb(u_int port, u_char data); void outl(u_int port, u_int data); -void outsb(u_int port, const void *addr, size_t cnt); -void outsl(u_int port, const void *addr, size_t cnt); -void outsw(u_int port, const void *addr, size_t cnt); +void outsb(u_int port, const void *addr, size_t count); +void outsl(u_int port, const void *addr, size_t count); +void outsw(u_int port, const void *addr, size_t count); void outw(u_int port, u_short data); u_int rcr0(void); u_int rcr2(void); From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 22:10:08 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 812281065692; Fri, 1 Jan 2010 22:10:08 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 70B628FC0A; Fri, 1 Jan 2010 22:10:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01MA8TC040737; Fri, 1 Jan 2010 22:10:08 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01MA83Q040736; Fri, 1 Jan 2010 22:10:08 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201001012210.o01MA83Q040736@svn.freebsd.org> From: Doug Barton Date: Fri, 1 Jan 2010 22:10:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201370 - head/etc/rc.d X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 22:10:08 -0000 Author: dougb Date: Fri Jan 1 22:10:07 2010 New Revision: 201370 URL: http://svn.freebsd.org/changeset/base/201370 Log: s/named_confidr/named_confdir/ in the rndc.key check. The line in the command to create it was right, but the check was wrong, so it was getting created every time. Mea culpa. Submitted by: oliver Modified: head/etc/rc.d/named Modified: head/etc/rc.d/named ============================================================================== --- head/etc/rc.d/named Fri Jan 1 20:55:11 2010 (r201369) +++ head/etc/rc.d/named Fri Jan 1 22:10:07 2010 (r201370) @@ -183,8 +183,8 @@ named_prestart() if [ -s "${named_confdir}/rndc.conf" ]; then unset confgen_command fi - if [ -s "${named_confidr}/rndc.key" ]; then - case `stat -f%Su ${named_confidr}/rndc.key` in + if [ -s "${named_confdir}/rndc.key" ]; then + case `stat -f%Su ${named_confdir}/rndc.key` in root|$named_uid) ;; *) $confgen_command ;; esac From owner-svn-src-all@FreeBSD.ORG Fri Jan 1 22:47:53 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A19151065694; Fri, 1 Jan 2010 22:47:53 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 77B988FC19; Fri, 1 Jan 2010 22:47:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o01Mlr14048984; Fri, 1 Jan 2010 22:47:53 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o01Mlr8P048981; Fri, 1 Jan 2010 22:47:53 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201001012247.o01Mlr8P048981@svn.freebsd.org> From: Marius Strobl Date: Fri, 1 Jan 2010 22:47:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201371 - in head/sys: dev/mk48txx sparc64/sparc64 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 22:47:53 -0000 Author: marius Date: Fri Jan 1 22:47:53 2010 New Revision: 201371 URL: http://svn.freebsd.org/changeset/base/201371 Log: Fix botches in r201005: - Actually use the newly introduced sc_res in the front-end. - Remove a whitespace glitch in mk48txx_gettime(). Modified: head/sys/dev/mk48txx/mk48txx.c head/sys/sparc64/sparc64/eeprom.c Modified: head/sys/dev/mk48txx/mk48txx.c ============================================================================== --- head/sys/dev/mk48txx/mk48txx.c Fri Jan 1 22:10:07 2010 (r201370) +++ head/sys/dev/mk48txx/mk48txx.c Fri Jan 1 22:47:53 2010 (r201371) @@ -184,7 +184,7 @@ mk48txx_gettime(device_t dev, struct tim * Set dow = -1 because some drivers (for example the NetBSD and * OpenBSD mk48txx(4)) don't set it correctly. */ - ct.dow = - 1; + ct.dow = -1; #endif ct.mon = FROMBCD(FROMREG(MK48TXX_IMON, MK48TXX_MON_MASK)); year = FROMBCD(FROMREG(MK48TXX_IYEAR, MK48TXX_YEAR_MASK)); Modified: head/sys/sparc64/sparc64/eeprom.c ============================================================================== --- head/sys/sparc64/sparc64/eeprom.c Fri Jan 1 22:10:07 2010 (r201370) +++ head/sys/sparc64/sparc64/eeprom.c Fri Jan 1 22:47:53 2010 (r201371) @@ -119,7 +119,6 @@ static int eeprom_attach(device_t dev) { struct mk48txx_softc *sc; - struct resource *res; struct timespec ts; int error, rid; @@ -128,8 +127,9 @@ eeprom_attach(device_t dev) mtx_init(&sc->sc_mtx, "eeprom_mtx", NULL, MTX_DEF); rid = 0; - res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); - if (res == NULL) { + sc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, + RF_ACTIVE); + if (sc->sc_res == NULL) { device_printf(dev, "cannot allocate resources\n"); error = ENXIO; goto fail_mtx; @@ -178,7 +178,7 @@ eeprom_attach(device_t dev) return (0); fail_res: - bus_release_resource(dev, SYS_RES_MEMORY, rid, res); + bus_release_resource(dev, SYS_RES_MEMORY, rid, sc->sc_res); fail_mtx: mtx_destroy(&sc->sc_mtx); From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 00:37:01 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52CB9106566B; Sat, 2 Jan 2010 00:37:01 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 424178FC15; Sat, 2 Jan 2010 00:37:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o020b17p073730; Sat, 2 Jan 2010 00:37:01 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o020b11b073728; Sat, 2 Jan 2010 00:37:01 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201001020037.o020b11b073728@svn.freebsd.org> From: Marcel Moolenaar Date: Sat, 2 Jan 2010 00:37:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201373 - head/sys/ia64/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 00:37:01 -0000 Author: marcel Date: Sat Jan 2 00:37:00 2010 New Revision: 201373 URL: http://svn.freebsd.org/changeset/base/201373 Log: Change BUS_SPACE_MAXADDR from 2^32-1 to 2^64-1. 2^32-1 is representative for its origin, more than for its accuracy. MFC after: 1 week Modified: head/sys/ia64/include/bus.h Modified: head/sys/ia64/include/bus.h ============================================================================== --- head/sys/ia64/include/bus.h Fri Jan 1 23:45:50 2010 (r201372) +++ head/sys/ia64/include/bus.h Sat Jan 2 00:37:00 2010 (r201373) @@ -126,7 +126,7 @@ #define BUS_SPACE_MAXSIZE 0xFFFFFFFFFFFFFFFF #define BUS_SPACE_MAXADDR_24BIT 0xFFFFFF #define BUS_SPACE_MAXADDR_32BIT 0xFFFFFFFF -#define BUS_SPACE_MAXADDR 0xFFFFFFFF +#define BUS_SPACE_MAXADDR 0xFFFFFFFFFFFFFFFF #define BUS_SPACE_UNRESTRICTED (~0) From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 01:02:59 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6835610656A4; Sat, 2 Jan 2010 01:02:59 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 57ACC8FC0A; Sat, 2 Jan 2010 01:02:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o0212xFo080517; Sat, 2 Jan 2010 01:02:59 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o0212xa5080515; Sat, 2 Jan 2010 01:02:59 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201001020102.o0212xa5080515@svn.freebsd.org> From: Marcel Moolenaar Date: Sat, 2 Jan 2010 01:02:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201374 - head/sys/geom/part X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 01:02:59 -0000 Author: marcel Date: Sat Jan 2 01:02:59 2010 New Revision: 201374 URL: http://svn.freebsd.org/changeset/base/201374 Log: Properly return the UUID represented by the alias. PR: 142174 Submitted by: Przemyslaw Laczynski Pointy hat to: rpaulo Modified: head/sys/geom/part/g_part_gpt.c Modified: head/sys/geom/part/g_part_gpt.c ============================================================================== --- head/sys/geom/part/g_part_gpt.c Sat Jan 2 00:37:00 2010 (r201373) +++ head/sys/geom/part/g_part_gpt.c Sat Jan 2 01:02:59 2010 (r201374) @@ -375,7 +375,7 @@ gpt_parse_type(const char *type, struct for (uap = &gpt_uuid_alias_match[0]; uap->uuid; uap++) { alias = g_part_alias_name(uap->alias); if (!strcasecmp(type, alias)) { - uuid = uap->uuid; + *uuid = *uap->uuid; return (0); } } From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 01:12:10 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEB04106566C; Sat, 2 Jan 2010 01:12:10 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AE5BC8FC1E; Sat, 2 Jan 2010 01:12:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o021CA7L082972; Sat, 2 Jan 2010 01:12:10 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o021CA7Y082970; Sat, 2 Jan 2010 01:12:10 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201001020112.o021CA7Y082970@svn.freebsd.org> From: Warner Losh Date: Sat, 2 Jan 2010 01:12:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201375 - head/sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 01:12:10 -0000 Author: imp Date: Sat Jan 2 01:12:10 2010 New Revision: 201375 URL: http://svn.freebsd.org/changeset/base/201375 Log: Welcome to 2010. Modified: head/sys/sys/copyright.h Modified: head/sys/sys/copyright.h ============================================================================== --- head/sys/sys/copyright.h Sat Jan 2 01:02:59 2010 (r201374) +++ head/sys/sys/copyright.h Sat Jan 2 01:12:10 2010 (r201375) @@ -1,5 +1,5 @@ /*- - * Copyright (C) 1992-2009 The FreeBSD Project. All rights reserved. + * Copyright (C) 1992-2010 The FreeBSD Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,7 +30,7 @@ /* FreeBSD */ #define COPYRIGHT_FreeBSD \ - "Copyright (c) 1992-2009 The FreeBSD Project.\n" + "Copyright (c) 1992-2010 The FreeBSD Project.\n" /* Foundation */ #define TRADEMARK_Foundation \ From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 09:45:59 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5DEB106566B; Sat, 2 Jan 2010 09:45:59 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D4E4E8FC13; Sat, 2 Jan 2010 09:45:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o029jxug003113; Sat, 2 Jan 2010 09:45:59 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o029jxTi003111; Sat, 2 Jan 2010 09:45:59 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001020945.o029jxTi003111@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 09:45:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201379 - head/libexec/comsat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 09:46:00 -0000 Author: ed Date: Sat Jan 2 09:45:59 2010 New Revision: 201379 URL: http://svn.freebsd.org/changeset/base/201379 Log: Fix several warnings. - Add __unused keywords. - Don't shadow a global variable called cr. - Make the global cr variable const. Modified: head/libexec/comsat/comsat.c Modified: head/libexec/comsat/comsat.c ============================================================================== --- head/libexec/comsat/comsat.c Sat Jan 2 06:12:04 2010 (r201378) +++ head/libexec/comsat/comsat.c Sat Jan 2 09:45:59 2010 (r201379) @@ -85,7 +85,7 @@ void onalrm(int); void reapchildren(int); int -main(int argc, char *argv[]) +main(int argc __unused, char *argv[] __unused) { struct sockaddr_in from; socklen_t fromlen; @@ -132,16 +132,16 @@ main(int argc, char *argv[]) } void -reapchildren(int signo) +reapchildren(int signo __unused) { while (wait3(NULL, WNOHANG, NULL) > 0); } void -onalrm(int signo) +onalrm(int signo __unused) { - static u_int utmpsize; /* last malloced size for utmp */ - static u_int utmpmtime; /* last modification time for utmp */ + static off_t utmpsize; /* last malloced size for utmp */ + static time_t utmpmtime; /* last modification time for utmp */ struct stat statbf; if (time(NULL) - lastmsgtime >= MAXIDLE) @@ -194,7 +194,7 @@ mailfor(char *name) notify(utp, file, offset, folder); } -static char *cr; +static const char *cr; void notify(struct utmp *utp, char file[], off_t offset, int folder) @@ -203,11 +203,11 @@ notify(struct utmp *utp, char file[], of struct stat stb; struct termios tio; char tty[20], name[sizeof(utmp[0].ut_name) + 1]; - const char *cr = utp->ut_line; + const char *line = utp->ut_line; - if (strncmp(cr, "pts/", 4) == 0) - cr += 4; - if (strchr(cr, '/')) { + if (strncmp(line, "pts/", 4) == 0) + line += 4; + if (strchr(line, '/')) { /* A slash is an attempt to break security... */ syslog(LOG_AUTH | LOG_NOTICE, "Unexpected `/' in `%s'", utp->ut_line); From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 09:50:20 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 349F0106568B; Sat, 2 Jan 2010 09:50:20 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 19C788FC16; Sat, 2 Jan 2010 09:50:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o029oJxw004116; Sat, 2 Jan 2010 09:50:20 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o029oJVx004089; Sat, 2 Jan 2010 09:50:19 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001020950.o029oJVx004089@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 09:50:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201380 - in head/libexec: . atrun bootpd bootpd/tools fingerd getty mail.local mknetid pppoed rbootd revnetgroup rpc.rquotad rpc.rstatd rpc.rusersd rpc.rwalld rpc.sprayd rshd rtld-elf ... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 09:50:20 -0000 Author: ed Date: Sat Jan 2 09:50:19 2010 New Revision: 201380 URL: http://svn.freebsd.org/changeset/base/201380 Log: Make WARNS=6 the default for libexec/. Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS. Modified: head/libexec/Makefile.inc head/libexec/atrun/Makefile head/libexec/bootpd/Makefile head/libexec/bootpd/Makefile.inc head/libexec/bootpd/tools/Makefile.inc head/libexec/fingerd/Makefile head/libexec/getty/Makefile head/libexec/mail.local/Makefile head/libexec/mknetid/Makefile head/libexec/pppoed/Makefile head/libexec/rbootd/Makefile head/libexec/revnetgroup/Makefile head/libexec/rpc.rquotad/Makefile head/libexec/rpc.rstatd/Makefile head/libexec/rpc.rusersd/Makefile head/libexec/rpc.rwalld/Makefile head/libexec/rpc.sprayd/Makefile head/libexec/rshd/Makefile head/libexec/rtld-elf/Makefile head/libexec/smrsh/Makefile head/libexec/talkd/Makefile head/libexec/tcpd/Makefile head/libexec/tftp-proxy/Makefile head/libexec/tftpd/Makefile head/libexec/ulog-helper/Makefile head/libexec/ypxfr/Makefile Modified: head/libexec/Makefile.inc ============================================================================== --- head/libexec/Makefile.inc Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/Makefile.inc Sat Jan 2 09:50:19 2010 (r201380) @@ -2,4 +2,6 @@ # $FreeBSD$ BINDIR?= /usr/libexec + +WARNS?= 6 WFORMAT?= 1 Modified: head/libexec/atrun/Makefile ============================================================================== --- head/libexec/atrun/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/atrun/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -13,6 +13,8 @@ CLEANFILES= ${MAN} CFLAGS+=-I${MAINSRC} -I${.CURDIR} CFLAGS+=-DLOGIN_CAP -DPAM + +WARNS?= 2 WFORMAT=0 DPADD= ${LIBPAM} ${LIBUTIL} Modified: head/libexec/bootpd/Makefile ============================================================================== --- head/libexec/bootpd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/bootpd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -5,6 +5,8 @@ PROG= bootpd CFLAGS+= -DETC_ETHERS CFLAGS+= -DSYSLOG -DDEBUG -DVEND_CMU +WARNS?= 2 + SUBDIR= bootpgw tools SRCS= bootpd.c dovend.c readfile.c hash.c dumptab.c \ Modified: head/libexec/bootpd/Makefile.inc ============================================================================== --- head/libexec/bootpd/Makefile.inc Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/bootpd/Makefile.inc Sat Jan 2 09:50:19 2010 (r201380) @@ -1,3 +1,5 @@ # $FreeBSD$ BINDIR?= /usr/libexec + +WARNS?= 1 Modified: head/libexec/bootpd/tools/Makefile.inc ============================================================================== --- head/libexec/bootpd/tools/Makefile.inc Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/bootpd/tools/Makefile.inc Sat Jan 2 09:50:19 2010 (r201380) @@ -2,3 +2,5 @@ # $FreeBSD$ BINDIR= /usr/sbin + +WARNS?= 1 Modified: head/libexec/fingerd/Makefile ============================================================================== --- head/libexec/fingerd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/fingerd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -5,8 +5,8 @@ PROG= fingerd DPADD= ${LIBUTIL} LDADD= -lutil MAN= fingerd.8 -WARNS?= 2 +WARNS?= 2 WFORMAT=0 .include Modified: head/libexec/getty/Makefile ============================================================================== --- head/libexec/getty/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/getty/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -6,6 +6,8 @@ SRCS= main.c init.c subr.c chat.c DPADD= ${LIBUTIL} LDADD= -lutil MAN= gettytab.5 ttys.5 getty.8 + +WARNS?= 1 WFORMAT=0 .include Modified: head/libexec/mail.local/Makefile ============================================================================== --- head/libexec/mail.local/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/mail.local/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -8,6 +8,8 @@ PROG= mail.local SRCS= mail.local.c MAN= mail.local.8 CFLAGS+=-I${SENDMAIL_DIR}/include -I. + +WARNS?= 2 WFORMAT=0 LIBSMDIR= ${.OBJDIR}/../../lib/libsm Modified: head/libexec/mknetid/Makefile ============================================================================== --- head/libexec/mknetid/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/mknetid/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -5,4 +5,6 @@ SRCS= mknetid.c hash.c parse_group.c MAN= netid.5 mknetid.8 +WARNS?= 2 + .include Modified: head/libexec/pppoed/Makefile ============================================================================== --- head/libexec/pppoed/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/pppoed/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -5,6 +5,7 @@ DPADD= ${LIBNETGRAPH} LDADD= -lnetgraph MAN= pppoed.8 +WARNS?= 1 WFORMAT=0 .include Modified: head/libexec/rbootd/Makefile ============================================================================== --- head/libexec/rbootd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/rbootd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -5,6 +5,7 @@ PROG= rbootd SRCS= bpf.c conf.c parseconf.c rbootd.c rmpproto.c utils.c MAN= rbootd.8 +WARNS?= 1 WFORMAT=0 .include Modified: head/libexec/revnetgroup/Makefile ============================================================================== --- head/libexec/revnetgroup/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/revnetgroup/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -5,4 +5,6 @@ SRCS= revnetgroup.c hash.c parse_netgrou MAN= revnetgroup.8 +WARNS?= 2 + .include Modified: head/libexec/rpc.rquotad/Makefile ============================================================================== --- head/libexec/rpc.rquotad/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/rpc.rquotad/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -4,8 +4,6 @@ PROG = rpc.rquotad SRCS = rquotad.c MAN = rpc.rquotad.8 -WARNS ?= 6 - DPADD= ${LIBRPCSVC} LDADD= -lrpcsvc Modified: head/libexec/rpc.rstatd/Makefile ============================================================================== --- head/libexec/rpc.rstatd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/rpc.rstatd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -7,4 +7,6 @@ MAN = rpc.rstatd.8 DPADD= ${LIBRPCSVC} ${LIBUTIL} ${LIBDEVSTAT} LDADD= -lrpcsvc -lutil -ldevstat +WARNS?= 1 + .include Modified: head/libexec/rpc.rusersd/Makefile ============================================================================== --- head/libexec/rpc.rusersd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/rpc.rusersd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -4,8 +4,6 @@ PROG = rpc.rusersd SRCS = rusersd.c rusers_proc.c MAN = rpc.rusersd.8 -WARNS?= 6 - DPADD= ${LIBRPCSVC} ${LIBULOG} ${LIBUTIL} LDADD= -lrpcsvc -lulog -lutil @@ -14,5 +12,4 @@ LDADD= -lrpcsvc -lulog -lutil #LDADD+= -L/usr/X11R6/lib -lXext -lX11 #.endif - .include Modified: head/libexec/rpc.rwalld/Makefile ============================================================================== --- head/libexec/rpc.rwalld/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/rpc.rwalld/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -7,4 +7,6 @@ MAN = rpc.rwalld.8 DPADD= ${LIBUTIL} LDADD= -lutil +WARNS?= 2 + .include Modified: head/libexec/rpc.sprayd/Makefile ============================================================================== --- head/libexec/rpc.sprayd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/rpc.sprayd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -7,5 +7,6 @@ MAN = rpc.sprayd.8 DPADD= ${LIBRPCSVC} LDADD= -lrpcsvc -.include +WARNS?= 2 +.include Modified: head/libexec/rshd/Makefile ============================================================================== --- head/libexec/rshd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/rshd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -4,6 +4,7 @@ PROG= rshd MAN= rshd.8 +WARNS?= 3 WFORMAT=0 DPADD= ${LIBUTIL} ${LIBPAM} Modified: head/libexec/rtld-elf/Makefile ============================================================================== --- head/libexec/rtld-elf/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/rtld-elf/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -12,6 +12,7 @@ CSTD?= gnu99 CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD CFLAGS+= -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR} LDFLAGS+= -nostdlib -e .rtld_start +WARNS?= 2 INSTALLFLAGS= -C -b PRECIOUSPROG= BINDIR= /libexec Modified: head/libexec/smrsh/Makefile ============================================================================== --- head/libexec/smrsh/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/smrsh/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -15,6 +15,8 @@ LIBSM= ${LIBSMDIR}/libsm.a DPADD= ${LIBSM} LDADD= ${LIBSM} +WARNS?= 2 + SRCS+= sm_os.h CLEANFILES+=sm_os.h Modified: head/libexec/talkd/Makefile ============================================================================== --- head/libexec/talkd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/talkd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -7,7 +7,6 @@ SRCS= talkd.c announce.c process.c table MAN= talkd.8 CFLAGS+=-I${.CURDIR}/../../usr.bin/wall -WARNS?= 6 DPADD= ${LIBULOG} LDADD= -lulog Modified: head/libexec/tcpd/Makefile ============================================================================== --- head/libexec/tcpd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/tcpd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -18,4 +18,6 @@ CFLAGS+=-DINET6 DPADD= ${LIBWRAP} LDADD= -lwrap +WARNS?= 1 + .include Modified: head/libexec/tftp-proxy/Makefile ============================================================================== --- head/libexec/tftp-proxy/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/tftp-proxy/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -6,4 +6,6 @@ PROG= tftp-proxy SRCS= tftp-proxy.c filter.c MAN= tftp-proxy.8 +WARNS?= 3 + .include Modified: head/libexec/tftpd/Makefile ============================================================================== --- head/libexec/tftpd/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/tftpd/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -5,7 +5,10 @@ PROG= tftpd SRCS= tftpd.c tftpsubs.c DPADD= ${LIBUTIL} LDADD= -lutil + +WARNS?= 1 WFORMAT=0 + MAN= tftpd.8 CFLAGS+=-I${.CURDIR}/../../usr.bin/tftp .PATH: ${.CURDIR}/../../usr.bin/tftp Modified: head/libexec/ulog-helper/Makefile ============================================================================== --- head/libexec/ulog-helper/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/ulog-helper/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -8,6 +8,4 @@ NO_MAN= DPADD= ${LIBULOG} LDADD= -lulog -WARNS?= 6 - .include Modified: head/libexec/ypxfr/Makefile ============================================================================== --- head/libexec/ypxfr/Makefile Sat Jan 2 09:45:59 2010 (r201379) +++ head/libexec/ypxfr/Makefile Sat Jan 2 09:50:19 2010 (r201380) @@ -12,7 +12,10 @@ GENSRCS=yp.h yp_clnt.c ypxfr_clnt.c MAN= ypxfr.8 CFLAGS+= -I. + +WARNS?= 2 WFORMAT=0 + DPADD= ${LIBRPCSVC} LDADD= -lrpcsvc From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 09:58:08 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5F71106568F; Sat, 2 Jan 2010 09:58:08 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C19488FC1B; Sat, 2 Jan 2010 09:58:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o029w8VH005920; Sat, 2 Jan 2010 09:58:08 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o029w7mI005852; Sat, 2 Jan 2010 09:58:07 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001020958.o029w7mI005852@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 09:58:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201381 - in head: lib lib/csu lib/csu/arm lib/csu/i386-elf lib/csu/mips lib/libarchive lib/libauditd lib/libautofs lib/libbegemot lib/libbsm lib/libbz2 lib/libcalendar lib/libcam lib/l... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 09:58:09 -0000 Author: ed Date: Sat Jan 2 09:58:07 2010 New Revision: 201381 URL: http://svn.freebsd.org/changeset/base/201381 Log: Build lib/ with WARNS=6 by default. Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway. Modified: head/lib/Makefile.inc head/lib/csu/Makefile.inc head/lib/csu/arm/Makefile head/lib/csu/i386-elf/Makefile head/lib/csu/mips/Makefile head/lib/libarchive/Makefile head/lib/libauditd/Makefile head/lib/libautofs/Makefile head/lib/libbegemot/Makefile head/lib/libbsm/Makefile head/lib/libbz2/Makefile head/lib/libcalendar/Makefile head/lib/libcam/Makefile head/lib/libcompat/Makefile head/lib/libcrypt/Makefile head/lib/libdevinfo/Makefile head/lib/libdevstat/Makefile head/lib/libdwarf/Makefile head/lib/libedit/Makefile head/lib/libelf/Makefile head/lib/libexpat/Makefile head/lib/libftpio/Makefile head/lib/libgpib/Makefile head/lib/libgssapi/Makefile head/lib/libipsec/Makefile head/lib/libipx/Makefile head/lib/libjail/Makefile head/lib/libkiconv/Makefile head/lib/libkvm/Makefile head/lib/libmagic/Makefile head/lib/libmd/Makefile head/lib/libmilter/Makefile head/lib/libmp/Makefile head/lib/libncp/Makefile head/lib/libngatm/Makefile head/lib/libopie/Makefile head/lib/libpam/modules/Makefile.inc head/lib/libpam/modules/pam_exec/Makefile head/lib/libpam/modules/pam_krb5/Makefile head/lib/libpam/modules/pam_radius/Makefile head/lib/libpam/modules/pam_ssh/Makefile head/lib/libpcap/Makefile head/lib/libpmc/Makefile head/lib/libproc/Makefile head/lib/libradius/Makefile head/lib/librpcsec_gss/Makefile head/lib/librt/Makefile head/lib/libsbuf/Makefile head/lib/libsm/Makefile head/lib/libsmdb/Makefile head/lib/libsmutil/Makefile head/lib/libstand/Makefile head/lib/libtacplus/Makefile head/lib/libthread_db/Makefile head/lib/libufs/Makefile head/lib/libugidfw/Makefile head/lib/libulog/Makefile head/lib/libusb/Makefile head/lib/libutil/Makefile head/lib/libvgl/Makefile head/lib/libwrap/Makefile head/lib/liby/Makefile head/lib/libypclnt/Makefile head/lib/libz/Makefile head/lib/ncurses/Makefile.inc head/secure/Makefile.inc Modified: head/lib/Makefile.inc ============================================================================== --- head/lib/Makefile.inc Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/Makefile.inc Sat Jan 2 09:58:07 2010 (r201381) @@ -1,3 +1,5 @@ # $FreeBSD$ # Default version for system libs (override in /Makefile if necessary) SHLIB_MAJOR?= 5 + +WARNS?= 6 Modified: head/lib/csu/Makefile.inc ============================================================================== --- head/lib/csu/Makefile.inc Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/csu/Makefile.inc Sat Jan 2 09:58:07 2010 (r201381) @@ -1,3 +1,5 @@ # $FreeBSD$ SSP_CFLAGS= + +WARNS?= 6 Modified: head/lib/csu/arm/Makefile ============================================================================== --- head/lib/csu/arm/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/csu/arm/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -9,6 +9,8 @@ CFLAGS+= -Wall -Wno-unused \ -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include +WARNS?= 2 + all: ${OBJS} CLEANFILES= ${OBJS} Modified: head/lib/csu/i386-elf/Makefile ============================================================================== --- head/lib/csu/i386-elf/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/csu/i386-elf/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -8,7 +8,6 @@ FILESOWN= ${LIBOWN} FILESGRP= ${LIBGRP} FILESMODE= ${LIBMODE} FILESDIR= ${LIBDIR} -WARNS?= 6 CFLAGS+= -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include CLEANFILES= ${FILES} crt1_c.o crt1_s.o gcrt1_c.o Scrt1_c.o Modified: head/lib/csu/mips/Makefile ============================================================================== --- head/lib/csu/mips/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/csu/mips/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -9,6 +9,8 @@ CFLAGS+= -Wall -Wno-unused \ -I${.CURDIR}/../common \ -I${.CURDIR}/../../libc/include +WARNS?= 2 + all: ${OBJS} CLEANFILES= ${OBJS} Modified: head/lib/libarchive/Makefile ============================================================================== --- head/lib/libarchive/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libarchive/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -22,8 +22,6 @@ DPADD+= ${LIBCRYPTO} LDADD+= -lcrypto .endif -WARNS?= 6 - # Headers to be installed in /usr/include INCS= archive.h archive_entry.h Modified: head/lib/libauditd/Makefile ============================================================================== --- head/lib/libauditd/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libauditd/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -17,6 +17,8 @@ SRCS= auditd_lib.c # CFLAGS+= -I${OPENBSMDIR} -I${LIBBSMDIR} +WARNS?= 3 + NO_MAN= .include Modified: head/lib/libautofs/Makefile ============================================================================== --- head/lib/libautofs/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libautofs/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -3,7 +3,6 @@ LIB= autofs SHLIB_MAJOR= 3 -WARNS?= 4 SRCS= libautofs.c INCS= libautofs.h Modified: head/lib/libbegemot/Makefile ============================================================================== --- head/lib/libbegemot/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libbegemot/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -8,8 +8,6 @@ LIB= begemot SHLIB_MAJOR= 4 SHLIBDIR?= /lib -# WARNS?= 6 - CFLAGS+= -DUSE_SELECT -DQUADFMT='"ll"' SRCS= rpoll.c INCS= rpoll.h Modified: head/lib/libbsm/Makefile ============================================================================== --- head/lib/libbsm/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libbsm/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -33,6 +33,8 @@ SRCS= bsm_audit.c \ # CFLAGS+= -I${OPENBSMDIR} -I${LIBBSMDIR} +WARNS?= 1 + INCS= audit_uevents.h libbsm.h INCSDIR= ${INCLUDEDIR}/bsm Modified: head/lib/libbz2/Makefile ============================================================================== --- head/lib/libbz2/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libbz2/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -10,4 +10,6 @@ SRCS= bzlib.c blocksort.c compress.c cr INCS= bzlib.h CFLAGS+= -I${BZ2DIR} +WARNS?= 3 + .include Modified: head/lib/libcalendar/Makefile ============================================================================== --- head/lib/libcalendar/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libcalendar/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -1,7 +1,6 @@ # $FreeBSD$ LIB= calendar -WARNS?= 2 SRCS= calendar.c easter.c INCS= calendar.h Modified: head/lib/libcam/Makefile ============================================================================== --- head/lib/libcam/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libcam/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -11,6 +11,7 @@ LDADD= -lsbuf MAN= cam.3 cam_cdbparse.3 +WARNS?= 2 MLINKS+= cam.3 cam_open_device.3 \ cam.3 cam_open_spec_device.3 \ Modified: head/lib/libcompat/Makefile ============================================================================== --- head/lib/libcompat/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libcompat/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -5,6 +5,8 @@ LIB=compat CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale NO_PIC= +WARNS?= 1 + .PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \ ${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \ ${.CURDIR}/4.4/${MACHINE_ARCH} ${.CURDIR}/4.4 \ Modified: head/lib/libcrypt/Makefile ============================================================================== --- head/lib/libcrypt/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libcrypt/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -33,6 +33,8 @@ SRCS+= auth.c property.c CFLAGS+= -D${sym}=__${sym} .endfor +WARNS?= 2 + PRECIOUSLIB= .include Modified: head/lib/libdevinfo/Makefile ============================================================================== --- head/lib/libdevinfo/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libdevinfo/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -5,4 +5,6 @@ SRCS= devinfo.c INCS= devinfo.h MAN= devinfo.3 +WARNS?= 3 + .include Modified: head/lib/libdevstat/Makefile ============================================================================== --- head/lib/libdevstat/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libdevstat/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -33,6 +33,6 @@ MLINKS+=devstat.3 compute_etime.3 CFLAGS+=-I${.CURDIR} -WARNS?= 2 +WARNS?= 3 .include Modified: head/lib/libdwarf/Makefile ============================================================================== --- head/lib/libdwarf/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libdwarf/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -23,8 +23,6 @@ CFLAGS+= -I. -I${.CURDIR} SHLIB_MAJOR= 2 -WARNS?= 6 - WITHOUT_MAN= yes .include Modified: head/lib/libedit/Makefile ============================================================================== --- head/lib/libedit/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libedit/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -35,6 +35,8 @@ CFLAGS+= -I. -I${.CURDIR} CFLAGS+= #-DDEBUG_TTY -DDEBUG_KEY -DDEBUG_READ -DDEBUG -DDEBUG_REFRESH CFLAGS+= #-DDEBUG_PASTE -DDEBUG_EDIT +WARNS?= 1 + AHDR= vi.h emacs.h common.h ASRC= ${.CURDIR}/vi.c ${.CURDIR}/emacs.c ${.CURDIR}/common.c Modified: head/lib/libelf/Makefile ============================================================================== --- head/lib/libelf/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libelf/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -60,8 +60,6 @@ CFLAGS+= -I. -I${.CURDIR} SHLIB_MAJOR= 1 -WARNS?= 6 - MAN= elf.3 \ elf_begin.3 \ elf_cntl.3 \ Modified: head/lib/libexpat/Makefile ============================================================================== --- head/lib/libexpat/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libexpat/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -14,6 +14,8 @@ MAN= libbsdxml.3 CFLAGS+= -I${.CURDIR} -DHAVE_EXPAT_CONFIG_H CLEANFILES= bsdxml.h bsdxml_external.h +WARNS?= 2 + # OK, so it is not entirely unadultered: we ammend the COPYING # to point people to the right place, get rid of some VMS stuff # and use FreeBSD style indempotency #ifndefs. We also want to Modified: head/lib/libftpio/Makefile ============================================================================== --- head/lib/libftpio/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libftpio/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -15,6 +15,8 @@ CLEANFILES= ftperr.c CFLAGS+= -DINET6 .endif +WARNS?= 2 + ftperr.c: ftp.errors @echo '#include ' > ${.TARGET} @echo '#include "ftpio.h"' >> ${.TARGET} Modified: head/lib/libgpib/Makefile ============================================================================== --- head/lib/libgpib/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libgpib/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -5,6 +5,5 @@ SHLIB_MAJOR= 3 INCS= gpib.h INCSDIR= ${INCLUDEDIR}/gpib SRCS= ibfoo.c -WARNS?= 6 .include Modified: head/lib/libgssapi/Makefile ============================================================================== --- head/lib/libgssapi/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libgssapi/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -2,7 +2,6 @@ LIB= gssapi SHLIB_MAJOR= 10 -WARNS= 6 VERSION_DEF= ${.CURDIR}/../libc/Versions.def SYMBOL_MAPS= ${.CURDIR}/Symbol.map Modified: head/lib/libipsec/Makefile ============================================================================== --- head/lib/libipsec/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libipsec/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -48,6 +48,8 @@ CLEANFILES+= y.tab.c y.tab.h YFLAGS+=-d -p __libipsecyy LFLAGS+=-P__libipsecyy +WARNS?= 2 + MAN= ipsec_set_policy.3 ipsec_strerror.3 MLINKS+=ipsec_set_policy.3 ipsec_get_policylen.3 \ ipsec_set_policy.3 ipsec_dump_policy.3 Modified: head/lib/libipx/Makefile ============================================================================== --- head/lib/libipx/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libipx/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -6,4 +6,6 @@ SRCS= ipx_addr.c ipx_ntoa.c MAN= ipx.3 MLINKS+=ipx.3 ipx_addr.3 ipx.3 ipx_ntoa.3 +WARNS?= 2 + .include Modified: head/lib/libjail/Makefile ============================================================================== --- head/lib/libjail/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libjail/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -24,6 +24,4 @@ MLINKS+=jail.3 jailparam_free.3 CFLAGS+=-I${.CURDIR} -WARNS?= 6 - .include Modified: head/lib/libkiconv/Makefile ============================================================================== --- head/lib/libkiconv/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libkiconv/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -15,4 +15,6 @@ MLINKS+= kiconv.3 kiconv_add_xlat16_cspa CFLAGS+= -I${.CURDIR}/../../sys +WARNS?= 1 + .include Modified: head/lib/libkvm/Makefile ============================================================================== --- head/lib/libkvm/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libkvm/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -9,6 +9,8 @@ CFLAGS+=-DLIBC_SCCS -I${.CURDIR} CFLAGS+=-DSUN4V .endif +WARNS?= 0 + SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_cptime.c kvm_file.c kvm_getloadavg.c \ kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c kvm_vnet.c .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "arm" Modified: head/lib/libmagic/Makefile ============================================================================== --- head/lib/libmagic/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libmagic/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -20,6 +20,8 @@ MAGICPATH?= /usr/share/misc CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DHAVE_CONFIG_H CFLAGS+= -I${.CURDIR} -I${CONTRDIR} +WARNS?= 1 + CLEANFILES+= magic magic.mgc FILES= magic magic.mgc Modified: head/lib/libmd/Makefile ============================================================================== --- head/lib/libmd/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libmd/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -8,6 +8,8 @@ SRCS= md2c.c md4c.c md5c.c md2hl.c md4hl sha256c.c sha256hl.c INCS= md2.h md4.h md5.h ripemd.h sha.h sha256.h +WARNS?= 0 + MAN+= md2.3 md4.3 md5.3 ripemd.3 sha.3 sha256.3 MLINKS+=md2.3 MD2Init.3 md2.3 MD2Update.3 md2.3 MD2Final.3 MLINKS+=md2.3 MD2End.3 md2.3 MD2File.3 md2.3 MD2FileChunk.3 Modified: head/lib/libmilter/Makefile ============================================================================== --- head/lib/libmilter/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libmilter/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -27,6 +27,8 @@ SRCS+= main.c engine.c listener.c handle signal.c sm_gethost.c errstring.c strl.c worker.c CLEANFILES+=sm_os.h +WARNS?= 0 + sm_os.h: ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h Modified: head/lib/libmp/Makefile ============================================================================== --- head/lib/libmp/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libmp/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -8,7 +8,6 @@ MAN= libmp.3 INCS= mp.h SRCS= mpasbn.c -WARNS?= 6 CFLAGS+= -I${.CURDIR}/../../crypto VERSION_DEF= ${.CURDIR}/../libc/Versions.def Modified: head/lib/libncp/Makefile ============================================================================== --- head/lib/libncp/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libncp/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -11,4 +11,6 @@ SRCS= ncpl_subr.c ncpl_bind.c ncpl_queue ncpl_net.c ncpl_rcfile.c ncpl_conn.c ncpl_nls.c ncpl_msg.c \ ncpl_rpc.c ncpl_crypt.c ipx.c sap.c +WARNS?= 0 + .include Modified: head/lib/libngatm/Makefile ============================================================================== --- head/lib/libngatm/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libngatm/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -5,7 +5,6 @@ LIB= ngatm SHLIB_MAJOR= 4 MAN= libngatm.3 uniaddr.3 unifunc.3 unimsg.3 unisap.3 unistruct.3 -WARNS?= 6 # source of the library lives in contrib SDIR= ${.CURDIR}/../../sys Modified: head/lib/libopie/Makefile ============================================================================== --- head/lib/libopie/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libopie/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -26,6 +26,8 @@ CFLAGS+=-I${.CURDIR} -I${OPIE_DIST} -I${ ACCESSFILE?= \"/etc/opieaccess\" CFLAGS+= -DINSECURE_OVERRIDE -DPATH_ACCESS_FILE=${ACCESSFILE} +WARNS?= 0 + DPADD= ${LIBMD} LDADD= -lmd Modified: head/lib/libpam/modules/Makefile.inc ============================================================================== --- head/lib/libpam/modules/Makefile.inc Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libpam/modules/Makefile.inc Sat Jan 2 09:58:07 2010 (r201381) @@ -6,7 +6,7 @@ NO_INSTALLLIB= NO_PROFILE= CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam -WARNS?= 4 +WARNS?= 6 # This is nasty. # For the static case, libpam.a depends on the modules. Modified: head/lib/libpam/modules/pam_exec/Makefile ============================================================================== --- head/lib/libpam/modules/pam_exec/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libpam/modules/pam_exec/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -4,6 +4,6 @@ LIB= pam_exec SRCS= pam_exec.c MAN= pam_exec.8 -WARNS?= 0 +WARNS?= 1 .include Modified: head/lib/libpam/modules/pam_krb5/Makefile ============================================================================== --- head/lib/libpam/modules/pam_krb5/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libpam/modules/pam_krb5/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -29,7 +29,6 @@ SRCS= pam_krb5.c MAN= pam_krb5.8 .if defined(_FREEFALL_CONFIG) CFLAGS+=-D_FREEFALL_CONFIG -WARNS= 0 .endif DPADD= ${LIBKRB5} ${LIBHX509} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} ${LIBCRYPT} ${LIBCRYPTO} Modified: head/lib/libpam/modules/pam_radius/Makefile ============================================================================== --- head/lib/libpam/modules/pam_radius/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libpam/modules/pam_radius/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -27,7 +27,7 @@ LIB= pam_radius SRCS= pam_radius.c MAN= pam_radius.8 -WARNS= 0 +WARNS?= 3 DPADD= ${LIBRADIUS} LDADD= -lradius Modified: head/lib/libpam/modules/pam_ssh/Makefile ============================================================================== --- head/lib/libpam/modules/pam_ssh/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libpam/modules/pam_ssh/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -10,7 +10,7 @@ SRCS= pam_ssh.c # required when linking with a dynamic libssh SRCS+= roaming_dummy.c -WARNS?= 0 +WARNS?= 3 CFLAGS+= -I${SSHDIR} -include ssh_namespace.h DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} Modified: head/lib/libpcap/Makefile ============================================================================== --- head/lib/libpcap/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libpcap/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -97,6 +97,8 @@ CFLAGS+=-DINET6 CFLAGS+=-DHAVE_NET_PFVAR_H .endif +WARNS?= 0 + SHLIB_MAJOR=7 # Modified: head/lib/libpmc/Makefile ============================================================================== --- head/lib/libpmc/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libpmc/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -5,8 +5,6 @@ LIB= pmc SRCS= libpmc.c pmclog.c INCS= pmc.h pmclog.h -WARNS?= 6 - MAN= pmc.3 MAN+= pmc_allocate.3 MAN+= pmc_attach.3 Modified: head/lib/libproc/Makefile ============================================================================== --- head/lib/libproc/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libproc/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -13,8 +13,6 @@ CFLAGS+= -I. -I${.CURDIR} SHLIB_MAJOR= 2 -WARNS?= 6 - WITHOUT_MAN= yes .include Modified: head/lib/libradius/Makefile ============================================================================== --- head/lib/libradius/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libradius/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -33,6 +33,8 @@ CFLAGS+= -Wall SHLIB_MAJOR= 4 MAN= libradius.3 radius.conf.5 +WARNS?= 3 + .if ${MK_OPENSSL} == "no" DPADD= ${LIBMD} LDADD= -lmd Modified: head/lib/librpcsec_gss/Makefile ============================================================================== --- head/lib/librpcsec_gss/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/librpcsec_gss/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -2,7 +2,6 @@ LIB= rpcsec_gss SHLIB_MAJOR= 1 -WARNS?= 6 SRCS+= rpcsec_gss.c rpcsec_gss_prot.c rpcsec_gss_conf.c rpcsec_gss_misc.c \ svc_rpcsec_gss.c Modified: head/lib/librt/Makefile ============================================================================== --- head/lib/librt/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/librt/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -6,6 +6,8 @@ CFLAGS+=-I${.CURDIR}/../libc/include -I$ CFLAGS+=-Winline -Wall -g LDADD+=-lpthread +WARNS?= 2 + #MAN= libthr.3 SRCS+= aio.c mq.c sigev_thread.c timer.c Modified: head/lib/libsbuf/Makefile ============================================================================== --- head/lib/libsbuf/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libsbuf/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -3,7 +3,6 @@ LIB= sbuf SHLIBDIR?= /lib SRCS= subr_sbuf.c -WARNS?= 2 .PATH: ${.CURDIR}/../../sys/kern Modified: head/lib/libsm/Makefile ============================================================================== --- head/lib/libsm/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libsm/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -15,6 +15,8 @@ CFLAGS+=-DNETINET6 # User customizations to the sendmail build environment CFLAGS+=${SENDMAIL_CFLAGS} +WARNS?= 2 + LIB= sm SRCS+= sm_os.h Modified: head/lib/libsmdb/Makefile ============================================================================== --- head/lib/libsmdb/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libsmdb/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -9,6 +9,8 @@ CFLAGS+=-DNEWDB -DNOT_SENDMAIL # User customizations to the sendmail build environment CFLAGS+=${SENDMAIL_CFLAGS} +WARNS?= 3 + LIB= smdb SRCS+= sm_os.h Modified: head/lib/libsmutil/Makefile ============================================================================== --- head/lib/libsmutil/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libsmutil/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -9,6 +9,8 @@ CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_ # User customizations to the sendmail build environment CFLAGS+=${SENDMAIL_CFLAGS} +WARNS?= 2 + LIB= smutil SRCS+= sm_os.h Modified: head/lib/libstand/Makefile ============================================================================== --- head/lib/libstand/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libstand/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -15,6 +15,8 @@ NO_PIC= INCS= stand.h MAN= libstand.3 +WARNS?= 0 + CFLAGS+= -ffreestanding -Wformat CFLAGS+= -I${.CURDIR} Modified: head/lib/libtacplus/Makefile ============================================================================== --- head/lib/libtacplus/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libtacplus/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -33,4 +33,6 @@ LDADD= -lmd SHLIB_MAJOR= 4 MAN= libtacplus.3 tacplus.conf.5 +WARNS?= 2 + .include Modified: head/lib/libthread_db/Makefile ============================================================================== --- head/lib/libthread_db/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libthread_db/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -9,7 +9,6 @@ SRCS+= libpthread_md.c SRCS+= libpthread_db.c SRCS+= libthr_db.c INCS= thread_db.h -WARNS?= 6 CFLAGS+=-I. -I${.CURDIR} SYM_MAPS+=${.CURDIR}/Symbol.map Modified: head/lib/libufs/Makefile ============================================================================== --- head/lib/libufs/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libufs/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -16,7 +16,7 @@ MLINKS+= ufs_disk_close.3 ufs_disk_fillo MLINKS+= ufs_disk_close.3 ufs_disk_fillout_blank.3 MLINKS+= ufs_disk_close.3 ufs_disk_write.3 -WARNS?= 2 +WARNS?= 3 CFLAGS+= -D_LIBUFS .if defined(LIBUFS_DEBUG) Modified: head/lib/libugidfw/Makefile ============================================================================== --- head/lib/libugidfw/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libugidfw/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -5,6 +5,8 @@ SHLIB_MAJOR= 4 SRCS= ugidfw.c INCS= ugidfw.h +WARNS?= 2 + MAN+= bsde_get_rule.3 bsde_get_rule_count.3 bsde_parse_rule.3 \ bsde_rule_to_string.3 libugidfw.3 Modified: head/lib/libulog/Makefile ============================================================================== --- head/lib/libulog/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libulog/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -33,8 +33,6 @@ MLINKS+=ulog_endutxent.3 endutxent.3 \ ulog_pututxline.3 pututxline.3 \ ulog_setutxent.3 setutxent.3 -WARNS?= 6 - VERSION_DEF= ${.CURDIR}/../libc/Versions.def SYMBOL_MAPS= ${.CURDIR}/Symbol.map Modified: head/lib/libusb/Makefile ============================================================================== --- head/lib/libusb/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libusb/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -16,6 +16,8 @@ MAN= libusb.3 libusb20.3 MKLINT= no NOGCCERROR= +WARNS?= 2 + MLINKS+= libusb.3 usb.3 # libusb 0.1 compat Modified: head/lib/libutil/Makefile ============================================================================== --- head/lib/libutil/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libutil/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -16,8 +16,6 @@ SRCS= _secure_path.c auth.c expand_numbe stub.c trimdomain.c uucplock.c INCS= libutil.h login_cap.h -WARNS?= 6 - CFLAGS+= -DLIBC_SCCS .if ${MK_INET6_SUPPORT} != "no" Modified: head/lib/libvgl/Makefile ============================================================================== --- head/lib/libvgl/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libvgl/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -5,6 +5,7 @@ CFLAGS+=-Wall -I${.CURDIR} SRCS= main.c simple.c bitmap.c text.c mouse.c keyboard.c INCS= vgl.h MAN= vgl.3 +WARNS?= 2 MLINKS+= vgl.3 VGLBitmapAllocateBits.3 \ vgl.3 VGLBitmapCopy.3 \ vgl.3 VGLBitmapCreate.3 \ Modified: head/lib/libwrap/Makefile ============================================================================== --- head/lib/libwrap/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libwrap/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -28,6 +28,8 @@ CFLAGS+= -DUSE_GETDOMAIN CFLAGS+=-DINET6 .endif +WARNS?= 0 + SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \ hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \ percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \ Modified: head/lib/liby/Makefile ============================================================================== --- head/lib/liby/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/liby/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -1,7 +1,9 @@ # $FreeBSD$ -LIB= y +LIB= y SRCS= main.c yyerror.c NO_PIC= +WARNS?= 1 + .include Modified: head/lib/libypclnt/Makefile ============================================================================== --- head/lib/libypclnt/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libypclnt/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -12,7 +12,6 @@ CLEANFILES+= ${GENSRCS} INCS= ypclnt.h CFLAGS+= -I. -WARNS?= 5 GENSRCS=yp.h \ yp_clnt.c \ Modified: head/lib/libz/Makefile ============================================================================== --- head/lib/libz/Makefile Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/libz/Makefile Sat Jan 2 09:58:07 2010 (r201381) @@ -13,6 +13,8 @@ MAN= zlib.3 CFLAGS+= -DHAS_snprintf -DHAS_vsnprintf +WARNS?= 3 + CLEANFILES+= example.o example foo.gz minigzip.o minigzip SRCS = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \ Modified: head/lib/ncurses/Makefile.inc ============================================================================== --- head/lib/ncurses/Makefile.inc Sat Jan 2 09:50:19 2010 (r201380) +++ head/lib/ncurses/Makefile.inc Sat Jan 2 09:58:07 2010 (r201381) @@ -2,4 +2,6 @@ # This is to include src/lib/Makefile.inc +WARNS?= 3 + .include "../Makefile.inc" Modified: head/secure/Makefile.inc ============================================================================== --- head/secure/Makefile.inc Sat Jan 2 09:50:19 2010 (r201380) +++ head/secure/Makefile.inc Sat Jan 2 09:58:07 2010 (r201381) @@ -15,3 +15,5 @@ CFLAGS+= -DNO_IDEA .if ${MK_OPENSSH} != "no" SSHDIR= ${.CURDIR}/../../../crypto/openssh .endif + +WARNS?= 0 From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 10:09:21 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FDEE106566C; Sat, 2 Jan 2010 10:09:21 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5CADC8FC13; Sat, 2 Jan 2010 10:09:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02A9LrU008418; Sat, 2 Jan 2010 10:09:21 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02A9L6s008404; Sat, 2 Jan 2010 10:09:21 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001021009.o02A9L6s008404@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 10:09:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201382 - in head/usr.bin: ar at banner biff lam login renice rpcgen showmount tail X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 10:09:21 -0000 Author: ed Date: Sat Jan 2 10:09:20 2010 New Revision: 201382 URL: http://svn.freebsd.org/changeset/base/201382 Log: ANSIfy various tools in usr.bin/. Most of these tools properly build at WARNS=6, except for their K&R function declarations. Fix this, so we can bump WARNS as well. Modified: head/usr.bin/ar/acpyacc.y head/usr.bin/ar/ar.c head/usr.bin/at/at.c head/usr.bin/banner/banner.c head/usr.bin/biff/biff.c head/usr.bin/lam/lam.c head/usr.bin/login/login.c head/usr.bin/login/login_fbtab.c head/usr.bin/renice/renice.c head/usr.bin/rpcgen/rpc_hout.c head/usr.bin/rpcgen/rpc_main.c head/usr.bin/showmount/showmount.c head/usr.bin/tail/misc.c Modified: head/usr.bin/ar/acpyacc.y ============================================================================== --- head/usr.bin/ar/acpyacc.y Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/ar/acpyacc.y Sat Jan 2 10:09:20 2010 (r201382) @@ -414,7 +414,7 @@ arscp_extract(struct list *list) /* List modules of archive. (Simple Mode) */ static void -arscp_list() +arscp_list(void) { if (!arscp_target_exist()) @@ -483,7 +483,7 @@ arscp_replace(struct list *list) /* Rename the temporary archive to the target archive. */ static void -arscp_save() +arscp_save(void) { mode_t mask; @@ -512,7 +512,7 @@ arscp_save() * invoking CREATE cmd on current archive. */ static void -arscp_clear() +arscp_clear(void) { char *new_target; @@ -549,7 +549,7 @@ arscp_end(int eval) * issued by user. */ static int -arscp_target_exist() +arscp_target_exist(void) { if (target) @@ -624,7 +624,7 @@ arscp_mlist2argv(struct list *list) /* Free space allocated for argv array and its elements. */ static void -arscp_free_argv() +arscp_free_argv(void) { int i; @@ -636,7 +636,7 @@ arscp_free_argv() /* Show a prompt if we are in interactive mode */ static void -arscp_prompt() +arscp_prompt(void) { if (interactive) { Modified: head/usr.bin/ar/ar.c ============================================================================== --- head/usr.bin/ar/ar.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/ar/ar.c Sat Jan 2 10:09:20 2010 (r201382) @@ -349,7 +349,7 @@ only_mode(struct bsdar *bsdar, const cha } static void -bsdar_usage() +bsdar_usage(void) { (void)fprintf(stderr, "usage: ar -d [-Tjsvz] archive file ...\n"); @@ -367,7 +367,7 @@ bsdar_usage() } static void -ranlib_usage() +ranlib_usage(void) { (void)fprintf(stderr, "usage: ranlib [-t] archive ...\n"); @@ -376,14 +376,14 @@ ranlib_usage() } static void -bsdar_version() +bsdar_version(void) { (void)printf("BSD ar %s - %s\n", BSDAR_VERSION, archive_version()); exit(EX_OK); } static void -ranlib_version() +ranlib_version(void) { (void)printf("ranlib %s - %s\n", BSDAR_VERSION, archive_version()); exit(EX_OK); Modified: head/usr.bin/at/at.c ============================================================================== --- head/usr.bin/at/at.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/at/at.c Sat Jan 2 10:09:20 2010 (r201382) @@ -179,7 +179,7 @@ static char *cwdname(void) } static long -nextjob() +nextjob(void) { long jobno; FILE *fid; Modified: head/usr.bin/banner/banner.c ============================================================================== --- head/usr.bin/banner/banner.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/banner/banner.c Sat Jan 2 10:09:20 2010 (r201382) @@ -1178,7 +1178,7 @@ main(int argc, char *argv[]) } static void -usage() +usage(void) { fprintf(stderr, "usage: banner [-d] [-t] [-w width] message ...\n"); exit(1); Modified: head/usr.bin/biff/biff.c ============================================================================== --- head/usr.bin/biff/biff.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/biff/biff.c Sat Jan 2 10:09:20 2010 (r201382) @@ -110,7 +110,7 @@ main(int argc, char *argv[]) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: biff [n | y | b]\n"); exit(2); Modified: head/usr.bin/lam/lam.c ============================================================================== --- head/usr.bin/lam/lam.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/lam/lam.c Sat Jan 2 10:09:20 2010 (r201382) @@ -221,7 +221,7 @@ gatherline(struct openfile *ip) } static void -usage() +usage(void) { fprintf(stderr, "%s\n%s\n", "usage: lam [ -f min.max ] [ -s sepstring ] [ -t c ] file ...", Modified: head/usr.bin/login/login.c ============================================================================== --- head/usr.bin/login/login.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/login/login.c Sat Jan 2 10:09:20 2010 (r201382) @@ -737,7 +737,7 @@ auth_pam(void) * Export any environment variables PAM modules may have set */ static void -export_pam_environment() +export_pam_environment(void) { char **pam_env; char **pp; @@ -786,7 +786,7 @@ export(const char *s) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: login [-fp] [-h hostname] [username]\n"); @@ -797,7 +797,7 @@ usage() * Prompt user and read login name from stdin. */ static char * -getloginname() +getloginname(void) { char *nbuf, *p; int ch; @@ -941,7 +941,7 @@ pam_syslog(const char *msg) * Shut down PAM */ static void -pam_cleanup() +pam_cleanup(void) { if (pamh != NULL) { Modified: head/usr.bin/login/login_fbtab.c ============================================================================== --- head/usr.bin/login/login_fbtab.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/login/login_fbtab.c Sat Jan 2 10:09:20 2010 (r201382) @@ -81,10 +81,7 @@ static void login_protect(const char *, /* login_fbtab - apply protections specified in /etc/fbtab or logindevperm */ void -login_fbtab(tty, uid, gid) -char *tty; -uid_t uid; -gid_t gid; +login_fbtab(char *tty, uid_t uid, gid_t gid) { FILE *fp; char buf[BUFSIZ]; @@ -124,12 +121,7 @@ gid_t gid; /* login_protect - protect one device entry */ void -login_protect(table, pattern, mask, uid, gid) -const char *table; -char *pattern; -int mask; -uid_t uid; -gid_t gid; +login_protect(const char *table, char *pattern, int mask, uid_t uid, gid_t gid) { glob_t gl; char *path; Modified: head/usr.bin/renice/renice.c ============================================================================== --- head/usr.bin/renice/renice.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/renice/renice.c Sat Jan 2 10:09:20 2010 (r201382) @@ -177,7 +177,7 @@ getnum(const char *com, const char *str, } static void -usage() +usage(void) { fprintf(stderr, "%s\n%s\n", "usage: renice priority [[-p] pid ...] [[-g] pgrp ...] [[-u] user ...]", Modified: head/usr.bin/rpcgen/rpc_hout.c ============================================================================== --- head/usr.bin/rpcgen/rpc_hout.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/rpcgen/rpc_hout.c Sat Jan 2 10:09:20 2010 (r201382) @@ -148,8 +148,7 @@ print_xdr_func_def(const char *name, int static void -pconstdef(def) - definition *def; +pconstdef(definition *def) { pdefine(def->def_name, def->def.co); } @@ -205,8 +204,7 @@ pstructdef(definition *def) } static void -puniondef(def) - definition *def; +puniondef(definition *def) { case_list *l; const char *name = def->def_name; @@ -374,8 +372,7 @@ parglist(proc_list *proc, const char *ad } static void -penumdef(def) - definition *def; +penumdef(definition *def) { const char *name = def->def_name; enumval_list *l; @@ -406,8 +403,7 @@ penumdef(def) } static void -ptypedef(def) - definition *def; +ptypedef(definition *def) { const char *name = def->def_name; const char *old = def->def.ty.old_type; Modified: head/usr.bin/rpcgen/rpc_main.c ============================================================================== --- head/usr.bin/rpcgen/rpc_main.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/rpcgen/rpc_main.c Sat Jan 2 10:09:20 2010 (r201382) @@ -1203,7 +1203,7 @@ parseargs(int argc, const char *argv[], } static void -usage() +usage(void) { f_print(stderr, "%s\n%s\n%s\n%s\n%s\n", "usage: rpcgen infile", @@ -1218,7 +1218,7 @@ usage() } static void -options_usage() +options_usage(void) { f_print(stderr, "options:\n"); f_print(stderr, "-a\t\tgenerate all files, including samples\n"); Modified: head/usr.bin/showmount/showmount.c ============================================================================== --- head/usr.bin/showmount/showmount.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/showmount/showmount.c Sat Jan 2 10:09:20 2010 (r201382) @@ -110,9 +110,7 @@ int tcp_callrpc(const char *host, int pr * for detailed information on the protocol. */ int -main(argc, argv) - int argc; - char **argv; +main(int argc, char **argv) { register struct exportslist *exp; register struct grouplist *grp; @@ -213,15 +211,8 @@ main(argc, argv) * use tcp as transport method in order to handle large replies. */ int -tcp_callrpc(host, prognum, versnum, procnum, inproc, in, outproc, out) - const char *host; - int prognum; - int versnum; - int procnum; - xdrproc_t inproc; - char *in; - xdrproc_t outproc; - char *out; +tcp_callrpc(const char *host, int prognum, int versnum, int procnum, + xdrproc_t inproc, char *in, xdrproc_t outproc, char *out) { CLIENT *client; struct timeval timeout; @@ -245,9 +236,7 @@ tcp_callrpc(host, prognum, versnum, proc * Xdr routine for retrieving the mount dump list */ int -xdr_mntdump(xdrsp, mlp) - XDR *xdrsp; - struct mountlist **mlp; +xdr_mntdump(XDR *xdrsp, struct mountlist **mlp) { register struct mountlist *mp; register struct mountlist *tp; @@ -327,9 +316,7 @@ next: * Xdr routine to retrieve exports list */ int -xdr_exportslist(xdrsp, exp) - XDR *xdrsp; - struct exportslist **exp; +xdr_exportslist(XDR *xdrsp, struct exportslist **exp) { register struct exportslist *ep; register struct grouplist *gp; @@ -370,7 +357,7 @@ xdr_exportslist(xdrsp, exp) } static void -usage() +usage(void) { fprintf(stderr, "usage: showmount [-a | -d] [-e3] [host]\n"); exit(1); @@ -380,8 +367,7 @@ usage() * Print the binary tree in inorder so that output is sorted. */ void -print_dump(mp) - struct mountlist *mp; +print_dump(struct mountlist *mp) { if (mp == NULL) Modified: head/usr.bin/tail/misc.c ============================================================================== --- head/usr.bin/tail/misc.c Sat Jan 2 09:58:07 2010 (r201381) +++ head/usr.bin/tail/misc.c Sat Jan 2 10:09:20 2010 (r201382) @@ -63,7 +63,7 @@ ierr(const char *fname) } void -oerr() +oerr(void) { err(1, "stdout"); } From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 10:12:13 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51471106566C; Sat, 2 Jan 2010 10:12:13 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 276938FC14; Sat, 2 Jan 2010 10:12:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02ACDdV009092; Sat, 2 Jan 2010 10:12:13 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02ACD34009090; Sat, 2 Jan 2010 10:12:13 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001021012.o02ACD34009090@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 10:12:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201383 - head/usr.bin/gprof X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 10:12:13 -0000 Author: ed Date: Sat Jan 2 10:12:12 2010 New Revision: 201383 URL: http://svn.freebsd.org/changeset/base/201383 Log: Add missing #include for string routines. Modified: head/usr.bin/gprof/aout.c Modified: head/usr.bin/gprof/aout.c ============================================================================== --- head/usr.bin/gprof/aout.c Sat Jan 2 10:09:20 2010 (r201382) +++ head/usr.bin/gprof/aout.c Sat Jan 2 10:12:12 2010 (r201383) @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include "gprof.h" From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 10:13:21 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E32A1065670; Sat, 2 Jan 2010 10:13:21 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6DA578FC1D; Sat, 2 Jan 2010 10:13:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02ADLUK009387; Sat, 2 Jan 2010 10:13:21 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02ADLbg009385; Sat, 2 Jan 2010 10:13:21 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001021013.o02ADLbg009385@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 10:13:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201384 - head/usr.bin/script X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 10:13:21 -0000 Author: ed Date: Sat Jan 2 10:13:21 2010 New Revision: 201384 URL: http://svn.freebsd.org/changeset/base/201384 Log: Remove a warning by adding extra parentheses. GCC generates warnings when using "if (foo = bar)". In this case its use is valid. Modified: head/usr.bin/script/script.c Modified: head/usr.bin/script/script.c ============================================================================== --- head/usr.bin/script/script.c Sat Jan 2 10:12:12 2010 (r201383) +++ head/usr.bin/script/script.c Sat Jan 2 10:13:21 2010 (r201384) @@ -126,7 +126,7 @@ main(int argc, char *argv[]) if ((fscript = fopen(fname, aflg ? "a" : "w")) == NULL) err(1, "%s", fname); - if (ttyflg = isatty(STDIN_FILENO)) { + if ((ttyflg = isatty(STDIN_FILENO)) != 0) { if (tcgetattr(STDIN_FILENO, &tt) == -1) err(1, "tcgetattr"); if (ioctl(STDIN_FILENO, TIOCGWINSZ, &win) == -1) From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 10:14:36 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1135A1065670; Sat, 2 Jan 2010 10:14:36 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0037B8FC19; Sat, 2 Jan 2010 10:14:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02AEZfd009687; Sat, 2 Jan 2010 10:14:35 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02AEZL1009684; Sat, 2 Jan 2010 10:14:35 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001021014.o02AEZL1009684@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 10:14:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201385 - in head/usr.bin: passwd sockstat X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 10:14:36 -0000 Author: ed Date: Sat Jan 2 10:14:35 2010 New Revision: 201385 URL: http://svn.freebsd.org/changeset/base/201385 Log: Mute some warnings on uninitialized variables. The code does the right thing, but the compiler is unable to figure it out. All paths that use that variable use the same invariant. Modified: head/usr.bin/passwd/passwd.c head/usr.bin/sockstat/sockstat.c Modified: head/usr.bin/passwd/passwd.c ============================================================================== --- head/usr.bin/passwd/passwd.c Sat Jan 2 10:13:21 2010 (r201384) +++ head/usr.bin/passwd/passwd.c Sat Jan 2 10:14:35 2010 (r201385) @@ -67,7 +67,7 @@ int main(int argc, char *argv[]) { char hostname[MAXHOSTNAMELEN]; - struct passwd *pwd; + struct passwd *pwd = NULL; /* Keep compiler happy. */ int o, pam_err; uid_t uid; Modified: head/usr.bin/sockstat/sockstat.c ============================================================================== --- head/usr.bin/sockstat/sockstat.c Sat Jan 2 10:13:21 2010 (r201384) +++ head/usr.bin/sockstat/sockstat.c Sat Jan 2 10:14:35 2010 (r201385) @@ -496,8 +496,8 @@ printaddr(int af, struct sockaddr_storag { char addrstr[INET6_ADDRSTRLEN] = { '\0', '\0' }; struct sockaddr_un *sun; - void *addr; - int off, port; + void *addr = NULL; /* Keep compiler happy. */ + int off, port = 0; switch (af) { case AF_INET: From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 10:27:07 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D07D1065749; Sat, 2 Jan 2010 10:27:07 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 37CD28FC17; Sat, 2 Jan 2010 10:27:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02AR7W9012562; Sat, 2 Jan 2010 10:27:07 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02AR6ms012456; Sat, 2 Jan 2010 10:27:06 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001021027.o02AR6ms012456@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 10:27:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201386 - in head/usr.bin: . apply ar at atm/sscop awk bluetooth/bthost bsdiff bzip2 calendar catman chkey chpass colldef compile_et compress cpio cpio/test cpuset ctags dig du elf2aout... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 10:27:07 -0000 Author: ed Date: Sat Jan 2 10:27:05 2010 New Revision: 201386 URL: http://svn.freebsd.org/changeset/base/201386 Log: Build usr.bin/ with WARNS=6 by default. Also add some missing $FreeBSD$ to keep svn happy. Modified: head/usr.bin/Makefile.inc head/usr.bin/apply/Makefile head/usr.bin/ar/Makefile head/usr.bin/at/Makefile head/usr.bin/atm/sscop/Makefile head/usr.bin/awk/Makefile head/usr.bin/bluetooth/bthost/Makefile head/usr.bin/bsdiff/Makefile.inc head/usr.bin/bzip2/Makefile head/usr.bin/calendar/Makefile head/usr.bin/catman/Makefile head/usr.bin/chkey/Makefile head/usr.bin/chpass/Makefile head/usr.bin/colldef/Makefile head/usr.bin/compile_et/Makefile head/usr.bin/compress/Makefile head/usr.bin/cpio/Makefile head/usr.bin/cpio/test/Makefile head/usr.bin/cpuset/Makefile head/usr.bin/ctags/Makefile head/usr.bin/dig/Makefile head/usr.bin/du/Makefile head/usr.bin/elf2aout/Makefile head/usr.bin/elfdump/Makefile head/usr.bin/env/Makefile head/usr.bin/fetch/Makefile head/usr.bin/file2c/Makefile head/usr.bin/find/Makefile head/usr.bin/finger/Makefile head/usr.bin/fstat/Makefile head/usr.bin/fsync/Makefile head/usr.bin/ftp/Makefile head/usr.bin/gcore/Makefile head/usr.bin/gencat/Makefile head/usr.bin/getent/Makefile head/usr.bin/gprof/Makefile head/usr.bin/gzip/Makefile head/usr.bin/head/Makefile head/usr.bin/hexdump/Makefile head/usr.bin/host/Makefile head/usr.bin/id/Makefile head/usr.bin/ipcrm/Makefile head/usr.bin/ipcs/Makefile head/usr.bin/kdump/Makefile head/usr.bin/keylogin/Makefile head/usr.bin/ktrace/Makefile head/usr.bin/ktrdump/Makefile head/usr.bin/last/Makefile head/usr.bin/lastcomm/Makefile head/usr.bin/ldd/Makefile head/usr.bin/leave/Makefile head/usr.bin/less/Makefile.common head/usr.bin/lex/Makefile head/usr.bin/lex/lib/Makefile head/usr.bin/limits/Makefile head/usr.bin/locate/Makefile.inc head/usr.bin/locate/locate/Makefile head/usr.bin/lock/Makefile head/usr.bin/logger/Makefile head/usr.bin/login/Makefile head/usr.bin/logins/Makefile head/usr.bin/logname/Makefile head/usr.bin/look/Makefile head/usr.bin/lsvfs/Makefile head/usr.bin/m4/Makefile head/usr.bin/mail/Makefile head/usr.bin/make/Makefile head/usr.bin/minigzip/Makefile head/usr.bin/mkfifo/Makefile head/usr.bin/mklocale/Makefile head/usr.bin/mkstr/Makefile head/usr.bin/mkuzip/Makefile head/usr.bin/msgs/Makefile head/usr.bin/nc/Makefile head/usr.bin/ncplist/Makefile head/usr.bin/newkey/Makefile head/usr.bin/nfsstat/Makefile head/usr.bin/nl/Makefile head/usr.bin/nohup/Makefile head/usr.bin/nslookup/Makefile head/usr.bin/nsupdate/Makefile head/usr.bin/opieinfo/Makefile head/usr.bin/opiekey/Makefile head/usr.bin/opiepasswd/Makefile head/usr.bin/passwd/Makefile head/usr.bin/pr/Makefile head/usr.bin/printf/Makefile head/usr.bin/procstat/Makefile head/usr.bin/revoke/Makefile head/usr.bin/rlogin/Makefile head/usr.bin/rpcgen/Makefile head/usr.bin/rpcinfo/Makefile head/usr.bin/rsh/Makefile head/usr.bin/rup/Makefile head/usr.bin/ruptime/Makefile head/usr.bin/rusers/Makefile head/usr.bin/rwho/Makefile head/usr.bin/sed/Makefile head/usr.bin/smbutil/Makefile head/usr.bin/sockstat/Makefile head/usr.bin/su/Makefile head/usr.bin/systat/Makefile head/usr.bin/tail/Makefile head/usr.bin/tar/Makefile head/usr.bin/tar/test/Makefile head/usr.bin/tcopy/Makefile head/usr.bin/telnet/Makefile head/usr.bin/time/Makefile head/usr.bin/top/Makefile head/usr.bin/tr/Makefile head/usr.bin/truss/Makefile head/usr.bin/unifdef/Makefile head/usr.bin/unzip/Makefile head/usr.bin/users/Makefile head/usr.bin/uudecode/Makefile head/usr.bin/uuencode/Makefile head/usr.bin/vacation/Makefile head/usr.bin/vgrind/Makefile head/usr.bin/vi/Makefile head/usr.bin/vmstat/Makefile head/usr.bin/w/Makefile head/usr.bin/wall/Makefile head/usr.bin/wc/Makefile head/usr.bin/whereis/Makefile head/usr.bin/who/Makefile head/usr.bin/write/Makefile head/usr.bin/xargs/Makefile head/usr.bin/xinstall/Makefile head/usr.bin/xlint/xlint/Makefile head/usr.bin/yacc/Makefile head/usr.bin/ypcat/Makefile head/usr.bin/ypmatch/Makefile head/usr.bin/ypwhich/Makefile Modified: head/usr.bin/Makefile.inc ============================================================================== --- head/usr.bin/Makefile.inc Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/Makefile.inc Sat Jan 2 10:27:05 2010 (r201386) @@ -3,6 +3,4 @@ BINDIR?= /usr/bin -# Commented out for the time being. -# I intend to make this default at some stage. -#WARNS?= 2 +WARNS?= 6 Modified: head/usr.bin/apply/Makefile ============================================================================== --- head/usr.bin/apply/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/apply/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,6 +2,5 @@ # $FreeBSD$ PROG= apply -WARNS?= 4 .include Modified: head/usr.bin/ar/Makefile ============================================================================== --- head/usr.bin/ar/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ar/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -3,8 +3,6 @@ PROG= ar SRCS= ar.c acplex.l acpyacc.y read.c util.c write.c y.tab.h -WARNS?= 5 - DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBELF} LDADD= -larchive -lbz2 -lz -lelf Modified: head/usr.bin/at/Makefile ============================================================================== --- head/usr.bin/at/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/at/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -11,6 +11,8 @@ MLINKS= at.1 batch.1 \ at.1 atq.1 \ at.1 atrm.1 +WARNS?= 1 + BINOWN= root BINMODE= 4555 CLEANFILES+= at.1 Modified: head/usr.bin/atm/sscop/Makefile ============================================================================== --- head/usr.bin/atm/sscop/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/atm/sscop/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -6,7 +6,6 @@ CONTRIB= ${.CURDIR}/../../../contrib/nga PROG= sscop SRCS= common.c sscop_main.c -WARNS?= 6 CFLAGS+= -I${CONTRIB} -DUSE_LIBBEGEMOT DPADD= ${LIBBEGEMOT} ${LIBNETGRAPH} ${LIBNGATM} Modified: head/usr.bin/awk/Makefile ============================================================================== --- head/usr.bin/awk/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/awk/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -8,6 +8,8 @@ SRCS= awkgram.y b.c lex.c lib.c main.c p CFLAGS+= -DHAS_ISBLANK -I. -I${AWKSRC} -DFOPEN_MAX=64 +WARNS?= 1 + DPADD= ${LIBM} LDADD= -lm Modified: head/usr.bin/bluetooth/bthost/Makefile ============================================================================== --- head/usr.bin/bluetooth/bthost/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/bluetooth/bthost/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= bthost -WARNS?= 2 DPADD= ${LIBBLUETOOTH} LDADD= -lbluetooth Modified: head/usr.bin/bsdiff/Makefile.inc ============================================================================== --- head/usr.bin/bsdiff/Makefile.inc Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/bsdiff/Makefile.inc Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,3 @@ # $FreeBSD$ -WARNS?= 6 - .include "../Makefile.inc" - Modified: head/usr.bin/bzip2/Makefile ============================================================================== --- head/usr.bin/bzip2/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/bzip2/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -6,6 +6,8 @@ BZ2DIR= ${.CURDIR}/../../contrib/bzip2 PROG= bzip2 CFLAGS+= -D_FILE_OFFSET_BITS=64 +WARNS?= 3 + DPADD= ${LIBBZ2} LDADD= -lbz2 Modified: head/usr.bin/calendar/Makefile ============================================================================== --- head/usr.bin/calendar/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/calendar/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -9,6 +9,8 @@ DE_LINKS= de_DE.ISO8859-15 FR_LINKS= fr_FR.ISO8859-15 TEXTMODE?= 444 +WARNS?= 3 + beforeinstall: ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \ ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar Modified: head/usr.bin/catman/Makefile ============================================================================== --- head/usr.bin/catman/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/catman/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= catman -WARNS?= 6 .include Modified: head/usr.bin/chkey/Makefile ============================================================================== --- head/usr.bin/chkey/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/chkey/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -13,6 +13,4 @@ CFLAGS+= -DYP DPADD= ${LIBRPCSVC} ${LIBMP} ${LIBCRYPTO} LDADD= -lrpcsvc -lmp -lcrypto -WARNS?= 6 - .include Modified: head/usr.bin/chpass/Makefile ============================================================================== --- head/usr.bin/chpass/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/chpass/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -9,7 +9,6 @@ PROG= chpass SRCS= chpass.c edit.c field.c pw_scan.c table.c util.c BINOWN= root BINMODE=4555 -WARNS?= 5 .if ${MK_NIS} != "no" CFLAGS+= -DYP .endif Modified: head/usr.bin/colldef/Makefile ============================================================================== --- head/usr.bin/colldef/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/colldef/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -8,4 +8,6 @@ CFLAGS+=-DCOLLATE_DEBUG -DYY_NO_UNPUT LDADD= -ll DPADD= ${LIBL} +WARNS?= 2 + .include Modified: head/usr.bin/compile_et/Makefile ============================================================================== --- head/usr.bin/compile_et/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/compile_et/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -6,4 +6,6 @@ PROG= compile_et SRCS= compile_et.c parse.y lex.l getarg.c CFLAGS+=-I. -I${.CURDIR}/../../contrib/com_err +WARNS?= 0 + .include Modified: head/usr.bin/compress/Makefile ============================================================================== --- head/usr.bin/compress/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/compress/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,7 +5,6 @@ PROG= compress SRCS= compress.c zopen.c LINKS= ${BINDIR}/compress ${BINDIR}/uncompress MLINKS= compress.1 uncompress.1 -WARNS?= 6 # XXX zopen is not part of libc # MAN=zopen.3 Modified: head/usr.bin/cpio/Makefile ============================================================================== --- head/usr.bin/cpio/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/cpio/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,7 +5,6 @@ PROG= bsdcpio BSDCPIO_VERSION_STRING=2.7.0 SRCS= cpio.c cmdline.c err.c matching.c pathmatch.c -WARNS?= 6 DPADD= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} CFLAGS+= -DBSDCPIO_VERSION_STRING=\"${BSDCPIO_VERSION_STRING}\" CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\" Modified: head/usr.bin/cpio/test/Makefile ============================================================================== --- head/usr.bin/cpio/test/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/cpio/test/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -53,7 +53,6 @@ CFLAGS+= -I${CPIO_SRCDIR} # Uncomment to link against dmalloc #LDADD+= -L/usr/local/lib -ldmalloc #CFLAGS+= -I/usr/local/include -DUSE_DMALLOC -WARNS=6 check test: bsdcpio_test ${.OBJDIR}/bsdcpio_test -p ${.OBJDIR}/../bsdcpio -r ${.CURDIR} Modified: head/usr.bin/cpuset/Makefile ============================================================================== --- head/usr.bin/cpuset/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/cpuset/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= cpuset -WARNS?= 6 .include Modified: head/usr.bin/ctags/Makefile ============================================================================== --- head/usr.bin/ctags/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ctags/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,4 +5,6 @@ PROG= ctags SRCS= C.c ctags.c fortran.c lisp.c print.c tree.c yacc.c CFLAGS+=-I${.CURDIR} +WARNS?= 1 + .include Modified: head/usr.bin/dig/Makefile ============================================================================== --- head/usr.bin/dig/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/dig/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -20,6 +20,8 @@ CFLAGS+= -DWITH_IDN -I/usr/local/include CFLAGS+= -L/usr/local/lib -lidnkit -R/usr/local/lib -liconv .endif +WARNS?= 1 + DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} Modified: head/usr.bin/du/Makefile ============================================================================== --- head/usr.bin/du/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/du/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= du -WARNS?= 6 DPADD= ${LIBUTIL} LDADD= -lutil Modified: head/usr.bin/elf2aout/Makefile ============================================================================== --- head/usr.bin/elf2aout/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/elf2aout/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -3,6 +3,5 @@ PROG= elf2aout NO_WERROR= -WARNS?= 5 .include Modified: head/usr.bin/elfdump/Makefile ============================================================================== --- head/usr.bin/elfdump/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/elfdump/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= elfdump -WARNS?= 5 .include Modified: head/usr.bin/env/Makefile ============================================================================== --- head/usr.bin/env/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/env/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -3,6 +3,5 @@ PROG= env SRCS= env.c envopts.c -WARNS?= 6 .include Modified: head/usr.bin/fetch/Makefile ============================================================================== --- head/usr.bin/fetch/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/fetch/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -4,7 +4,6 @@ PROG= fetch CSTD?= c99 -WARNS?= 6 DPADD= ${LIBFETCH} LDADD= -lfetch .if ${MK_OPENSSL} != "no" Modified: head/usr.bin/file2c/Makefile ============================================================================== --- head/usr.bin/file2c/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/file2c/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,5 +1,4 @@ # $FreeBSD$ PROG= file2c -WARNS?= 6 .include Modified: head/usr.bin/find/Makefile ============================================================================== --- head/usr.bin/find/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/find/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -4,7 +4,6 @@ PROG= find SRCS= find.c function.c ls.c main.c misc.c operator.c option.c \ getdate.y -WARNS?=6 CFLAGS+= -DHAVE_SYS_TIMEB_H -I${.CURDIR} YFLAGS= Modified: head/usr.bin/finger/Makefile ============================================================================== --- head/usr.bin/finger/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/finger/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,6 +5,8 @@ PROG= finger SRCS= finger.c lprint.c net.c sprint.c util.c MAN= finger.1 finger.conf.5 +WARNS?= 2 + DPADD= ${LIBULOG} LDADD= -lulog Modified: head/usr.bin/fstat/Makefile ============================================================================== --- head/usr.bin/fstat/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/fstat/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -9,7 +9,6 @@ DPADD= ${LIBKVM} LDADD= -lkvm BINGRP= kmem BINMODE=2555 -WARNS?= 6 CFLAGS+=-D_KVM_VNODE Modified: head/usr.bin/fsync/Makefile ============================================================================== --- head/usr.bin/fsync/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/fsync/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,5 +2,4 @@ PROG= fsync -WARNS?= 6 .include Modified: head/usr.bin/ftp/Makefile ============================================================================== --- head/usr.bin/ftp/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ftp/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -23,6 +23,8 @@ CFLAGS+= -I${.CURDIR} -I${LUKEMFTP} LDADD= -ledit -ltermcap -lutil DPADD= ${LIBEDIT} ${LIBTERMCAP} ${LIBUTIL} +WARNS?= 2 + LINKS= ${BINDIR}/ftp ${BINDIR}/pftp \ ${BINDIR}/ftp ${BINDIR}/gate-ftp MLINKS= ftp.1 pftp.1 \ Modified: head/usr.bin/gcore/Makefile ============================================================================== --- head/usr.bin/gcore/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/gcore/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,4 +5,6 @@ LDADD+= -lutil PROG= gcore SRCS= elfcore.c gcore.c +WARNS?= 1 + .include Modified: head/usr.bin/gencat/Makefile ============================================================================== --- head/usr.bin/gencat/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/gencat/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= gencat -WARNS?= 6 .include Modified: head/usr.bin/getent/Makefile ============================================================================== --- head/usr.bin/getent/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/getent/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= getent -WARNS?= 3 .include Modified: head/usr.bin/gprof/Makefile ============================================================================== --- head/usr.bin/gprof/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/gprof/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -7,4 +7,6 @@ SRCS= gprof.c aout.c arcs.c dfn.c elf.c FILES= gprof.flat gprof.callg FILESDIR= ${SHAREDIR}/misc +WARNS?= 1 + .include Modified: head/usr.bin/gzip/Makefile ============================================================================== --- head/usr.bin/gzip/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/gzip/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -8,7 +8,6 @@ MAN= gzip.1 gzexe.1 zdiff.1 zforce.1 zm DPADD= ${LIBZ} LDADD= -lz -WARNS?= 6 .if ${MK_BZIP2_SUPPORT} != "no" DPADD+= ${LIBBZ2} Modified: head/usr.bin/head/Makefile ============================================================================== --- head/usr.bin/head/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/head/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,6 +2,5 @@ # $FreeBSD$ PROG= head -WARNS= 6 .include Modified: head/usr.bin/hexdump/Makefile ============================================================================== --- head/usr.bin/hexdump/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/hexdump/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -7,6 +7,5 @@ MAN= hexdump.1 od.1 MLINKS= hexdump.1 hd.1 LINKS= ${BINDIR}/hexdump ${BINDIR}/od LINKS+= ${BINDIR}/hexdump ${BINDIR}/hd -WARNS?= 6 .include Modified: head/usr.bin/host/Makefile ============================================================================== --- head/usr.bin/host/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/host/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -15,6 +15,8 @@ SRCS+= dighost.c host.c CFLAGS+= -I${SRCDIR}/include CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include +WARNS?= 1 + DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} Modified: head/usr.bin/id/Makefile ============================================================================== --- head/usr.bin/id/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/id/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -4,7 +4,6 @@ .include PROG= id -WARNS?= 6 LINKS= ${BINDIR}/id ${BINDIR}/groups LINKS+= ${BINDIR}/id ${BINDIR}/whoami MAN= id.1 groups.1 whoami.1 Modified: head/usr.bin/ipcrm/Makefile ============================================================================== --- head/usr.bin/ipcrm/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ipcrm/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -7,4 +7,6 @@ LDADD= -lkvm CFLAGS+=-I${.CURDIR}/../ipcs .PATH: ${.CURDIR}/../ipcs +WARNS?= 0 + .include Modified: head/usr.bin/ipcs/Makefile ============================================================================== --- head/usr.bin/ipcs/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ipcs/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,4 +5,6 @@ SRCS= ipcs.c ipc.c DPADD= ${LIBKVM} LDADD= -lkvm +WARNS?= 1 + .include Modified: head/usr.bin/kdump/Makefile ============================================================================== --- head/usr.bin/kdump/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/kdump/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -7,6 +7,8 @@ PROG= kdump SRCS= kdump.c ioctl.c kdump_subr.c subr.c CFLAGS+= -I${.CURDIR}/../ktrace -I${.CURDIR} -I${.CURDIR}/../.. +WARNS?= 0 + CLEANFILES= ioctl.c kdump_subr.c ioctl.c: mkioctls Modified: head/usr.bin/keylogin/Makefile ============================================================================== --- head/usr.bin/keylogin/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/keylogin/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,4 +5,6 @@ PROG= keylogin DPADD= ${LIBRPCSVC} LDADD= -lrpcsvc +WARNS?= 0 + .include Modified: head/usr.bin/ktrace/Makefile ============================================================================== --- head/usr.bin/ktrace/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ktrace/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,4 +5,6 @@ PROG= ktrace SRCS= ktrace.c subr.c MLINKS= ktrace.1 trace.1 +WARNS?= 4 + .include Modified: head/usr.bin/ktrdump/Makefile ============================================================================== --- head/usr.bin/ktrdump/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ktrdump/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,4 +5,6 @@ DPADD= ${LIBKVM} LDADD= -lkvm MAN= ktrdump.8 +WARNS?= 2 + .include Modified: head/usr.bin/last/Makefile ============================================================================== --- head/usr.bin/last/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/last/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -3,4 +3,6 @@ PROG= last +WARNS?= 1 + .include Modified: head/usr.bin/lastcomm/Makefile ============================================================================== --- head/usr.bin/lastcomm/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/lastcomm/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -3,6 +3,5 @@ PROG= lastcomm SRCS= lastcomm.c readrec.c -WARNS?= 6 .include Modified: head/usr.bin/ldd/Makefile ============================================================================== --- head/usr.bin/ldd/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ldd/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,6 +5,5 @@ SRCS= ldd.c .if ${MACHINE_ARCH} == "i386" SRCS+= sods.c .endif -WARNS?= 6 .include Modified: head/usr.bin/leave/Makefile ============================================================================== --- head/usr.bin/leave/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/leave/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -3,4 +3,6 @@ PROG= leave +WARNS?= 1 + .include Modified: head/usr.bin/less/Makefile.common ============================================================================== --- head/usr.bin/less/Makefile.common Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/less/Makefile.common Sat Jan 2 10:27:05 2010 (r201386) @@ -4,6 +4,7 @@ LSDIR= ${.CURDIR}/../../contrib/less .PATH: ${LSDIR} CFLAGS+=-I${.CURDIR}/../less -I${LSDIR} +WARNS?= 1 .SUFFIXES: .nro .1 Modified: head/usr.bin/lex/Makefile ============================================================================== --- head/usr.bin/lex/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/lex/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -24,6 +24,8 @@ MLINKS+= lex.1 flex.1 MLINKS+= lex.1 flex++.1 MLINKS+= lex.1 lex++.1 +WARNS?= 2 + CLEANFILES= scan.c skel.c SUBDIR= lib Modified: head/usr.bin/lex/lib/Makefile ============================================================================== --- head/usr.bin/lex/lib/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/lex/lib/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -6,6 +6,8 @@ LIB= ln SRCS= libmain.c libyywrap.c NO_PIC= +WARNS?= 2 + .if ${MK_INSTALLLIB} != "no" LINKS= ${LIBDIR}/libln.a ${LIBDIR}/libl.a LINKS+= ${LIBDIR}/libln.a ${LIBDIR}/libfl.a Modified: head/usr.bin/limits/Makefile ============================================================================== --- head/usr.bin/limits/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/limits/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -3,6 +3,5 @@ PROG= limits DPADD= ${LIBUTIL} LDADD= -lutil -WARNS?= 6 .include Modified: head/usr.bin/locate/Makefile.inc ============================================================================== --- head/usr.bin/locate/Makefile.inc Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/locate/Makefile.inc Sat Jan 2 10:27:05 2010 (r201386) @@ -1,3 +1,5 @@ # $FreeBSD$ LIBEXECDIR?= /usr/libexec + +WARNS?= 0 Modified: head/usr.bin/locate/locate/Makefile ============================================================================== --- head/usr.bin/locate/locate/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/locate/locate/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -7,6 +7,8 @@ CFLAGS+= -I${.CURDIR} -DMMAP # -DDEBUG ( SCRIPTS=updatedb.sh mklocatedb.sh concatdb.sh MAN= locate.1 locate.updatedb.8 +WARNS?= 2 + SCRIPTSDIR= ${LIBEXECDIR} .for script in ${SCRIPTS} SCRIPTSNAME_${script}= locate.${script:R} Modified: head/usr.bin/lock/Makefile ============================================================================== --- head/usr.bin/lock/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/lock/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -7,4 +7,6 @@ BINMODE=4555 DPADD= ${LIBCRYPT} LDADD= -lcrypt +WARNS?= 1 + .include Modified: head/usr.bin/logger/Makefile ============================================================================== --- head/usr.bin/logger/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/logger/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -4,7 +4,6 @@ .include PROG= logger -WARNS?= 6 .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 Modified: head/usr.bin/login/Makefile ============================================================================== --- head/usr.bin/login/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/login/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -9,6 +9,8 @@ CFLAGS+=-DLOGALL DPADD= ${LIBUTIL} ${LIBPAM} LDADD= -lutil ${MINUSLPAM} +WARNS?= 5 + .if ${MK_AUDIT} != "no" SRCS+= login_audit.c CFLAGS+= -DUSE_BSM_AUDIT Modified: head/usr.bin/logins/Makefile ============================================================================== --- head/usr.bin/logins/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/logins/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= logins -WARNS?= 6 .include Modified: head/usr.bin/logname/Makefile ============================================================================== --- head/usr.bin/logname/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/logname/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,6 +2,5 @@ # $FreeBSD$ PROG= logname -WARNS?= 6 .include Modified: head/usr.bin/look/Makefile ============================================================================== --- head/usr.bin/look/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/look/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,5 +1,8 @@ # @(#)Makefile 8.1 (Berkeley) 6/9/93 +# $FreeBSD$ PROG= look +WARNS?= 2 + .include Modified: head/usr.bin/lsvfs/Makefile ============================================================================== --- head/usr.bin/lsvfs/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/lsvfs/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= lsvfs -WARNS?= 6 .include Modified: head/usr.bin/m4/Makefile ============================================================================== --- head/usr.bin/m4/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/m4/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -9,4 +9,6 @@ CFLAGS+=-DEXTENDED SRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c +WARNS?= 0 + .include Modified: head/usr.bin/mail/Makefile ============================================================================== --- head/usr.bin/mail/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/mail/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -11,6 +11,8 @@ EFILES= mail.rc LINKS= ${BINDIR}/mail ${BINDIR}/Mail ${BINDIR}/mail ${BINDIR}/mailx MLINKS= mail.1 Mail.1 mail.1 mailx.1 +WARNS?= 1 + .PATH: ${.CURDIR}/misc etc-mailrc: Modified: head/usr.bin/make/Makefile ============================================================================== --- head/usr.bin/make/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/make/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -8,7 +8,6 @@ SRCS= arch.c buf.c cond.c dir.c for.c ha lst.c main.c make.c parse.c proc.c shell.c str.c suff.c targ.c \ util.c var.c -WARNS?= 6 NO_SHARED?= YES CFLAGS+=-DMAKE_VERSION=\"5200408120\" Modified: head/usr.bin/minigzip/Makefile ============================================================================== --- head/usr.bin/minigzip/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/minigzip/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,4 +5,6 @@ LDADD= -lz DPADD= ${LIBZ} .PATH: ${.CURDIR}/../../lib/libz +WARNS?= 5 + .include Modified: head/usr.bin/mkfifo/Makefile ============================================================================== --- head/usr.bin/mkfifo/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/mkfifo/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,6 +2,5 @@ # $FreeBSD$ PROG= mkfifo -WARNS?= 6 .include Modified: head/usr.bin/mklocale/Makefile ============================================================================== --- head/usr.bin/mklocale/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/mklocale/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= mklocale -WARNS?= 6 SRCS= yacc.y lex.l y.tab.h CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale Modified: head/usr.bin/mkstr/Makefile ============================================================================== --- head/usr.bin/mkstr/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/mkstr/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -3,4 +3,6 @@ PROG= mkstr +WARNS?= 2 + .include Modified: head/usr.bin/mkuzip/Makefile ============================================================================== --- head/usr.bin/mkuzip/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/mkuzip/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -6,6 +6,5 @@ MAN= mkuzip.8 DPADD= ${LIBZ} LDADD= -lz -WARNS?= 6 .include Modified: head/usr.bin/msgs/Makefile ============================================================================== --- head/usr.bin/msgs/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/msgs/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= msgs -WARNS?= 6 DPADD= ${LIBTERMCAP} LDADD= -ltermcap Modified: head/usr.bin/nc/Makefile ============================================================================== --- head/usr.bin/nc/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/nc/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -9,4 +9,6 @@ CFLAGS+=-DIPSEC LDADD= -lipsec DPADD= ${LIBIPSEC} +WARNS?= 1 + .include Modified: head/usr.bin/ncplist/Makefile ============================================================================== --- head/usr.bin/ncplist/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ncplist/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,6 +2,8 @@ PROG= ncplist +WARNS?= 0 + DPADD= ${LIBNCP} ${LIBIPX} LDADD= -lncp -lipx Modified: head/usr.bin/newkey/Makefile ============================================================================== --- head/usr.bin/newkey/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/newkey/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -11,6 +11,4 @@ MAN= newkey.8 DPADD= ${LIBRPCSVC} ${LIBMP} ${LIBCRYPTO} LDADD= -lrpcsvc -lmp -lcrypto -WARNS?= 6 - .include Modified: head/usr.bin/nfsstat/Makefile ============================================================================== --- head/usr.bin/nfsstat/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/nfsstat/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -6,4 +6,6 @@ CFLAGS+=-DNFS DPADD= ${LIBKVM} LDADD= -lkvm +WARNS?= 3 + .include Modified: head/usr.bin/nl/Makefile ============================================================================== --- head/usr.bin/nl/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/nl/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,4 +2,6 @@ PROG= nl +WARNS?= 2 + .include Modified: head/usr.bin/nohup/Makefile ============================================================================== --- head/usr.bin/nohup/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/nohup/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,6 +2,5 @@ # $FreeBSD$ PROG= nohup -WARNS?= 4 .include Modified: head/usr.bin/nslookup/Makefile ============================================================================== --- head/usr.bin/nslookup/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/nslookup/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -18,6 +18,8 @@ CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATO DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} +WARNS?= 1 + MANFILTER= sed -e "s@^host \[server\]@\\\fBhost\\\fR \\\fI[server]\\\fR@" .include Modified: head/usr.bin/nsupdate/Makefile ============================================================================== --- head/usr.bin/nsupdate/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/nsupdate/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -18,6 +18,8 @@ CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATO DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} +WARNS?= 1 + MAN= nsupdate.1 MANFILTER= sed -e "s@/etc/named\.conf@/etc/namedb/named.conf@g" \ Modified: head/usr.bin/opieinfo/Makefile ============================================================================== --- head/usr.bin/opieinfo/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/opieinfo/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -8,6 +8,8 @@ CFLAGS+=-I${.CURDIR}/../../lib/libopie CFLAGS+=-I${OPIE_DIST} CFLAGS+=-DINSECURE_OVERRIDE +WARNS?= 0 + DPADD= ${LIBOPIE} ${LIBMD} LDADD= -lopie -lmd Modified: head/usr.bin/opiekey/Makefile ============================================================================== --- head/usr.bin/opiekey/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/opiekey/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -8,6 +8,8 @@ CFLAGS+=-I${.CURDIR}/../../lib/libopie CFLAGS+=-I${OPIE_DIST} CFLAGS+=-DINSECURE_OVERRIDE +WARNS?= 0 + DPADD= ${LIBOPIE} ${LIBMD} LDADD= -lopie -lmd Modified: head/usr.bin/opiepasswd/Makefile ============================================================================== --- head/usr.bin/opiepasswd/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/opiepasswd/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -8,6 +8,8 @@ CFLAGS+=-I${.CURDIR}/../../lib/libopie CFLAGS+=-I${OPIE_DIST} CFLAGS+=-DINSECURE_OVERRIDE +WARNS?= 0 + DPADD= ${LIBOPIE} ${LIBMD} LDADD= -lopie -lmd Modified: head/usr.bin/passwd/Makefile ============================================================================== --- head/usr.bin/passwd/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/passwd/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -12,7 +12,6 @@ LDADD = ${MINUSLPAM} LINKS = ${BINDIR}/passwd ${BINDIR}/yppasswd MLINKS = passwd.1 yppasswd.1 .endif -WARNS ?= 4 beforeinstall: .for i in passwd yppasswd Modified: head/usr.bin/pr/Makefile ============================================================================== --- head/usr.bin/pr/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/pr/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,9 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ PROG= pr SRCS= pr.c egetopt.c +WARNS?= 2 + .include Modified: head/usr.bin/printf/Makefile ============================================================================== --- head/usr.bin/printf/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/printf/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,6 +2,5 @@ # $FreeBSD$ PROG= printf -WARNS?= 6 .include Modified: head/usr.bin/procstat/Makefile ============================================================================== --- head/usr.bin/procstat/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/procstat/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -14,6 +14,5 @@ SRCS= procstat.c \ LDADD+= -lutil DPADD+= ${LIBUTIL} -WARNS?= 4 .include Modified: head/usr.bin/revoke/Makefile ============================================================================== --- head/usr.bin/revoke/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/revoke/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,6 +2,4 @@ PROG= revoke -WARNS?= 6 - .include Modified: head/usr.bin/rlogin/Makefile ============================================================================== --- head/usr.bin/rlogin/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/rlogin/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -7,4 +7,6 @@ BINOWN= root BINMODE=4555 PRECIOUSPROG= +WARNS?= 3 + .include Modified: head/usr.bin/rpcgen/Makefile ============================================================================== --- head/usr.bin/rpcgen/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/rpcgen/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -4,6 +4,4 @@ PROG= rpcgen SRCS= rpc_main.c rpc_clntout.c rpc_cout.c rpc_hout.c rpc_parse.c \ rpc_sample.c rpc_scan.c rpc_svcout.c rpc_tblout.c rpc_util.c -WARNS?= 2 - .include Modified: head/usr.bin/rpcinfo/Makefile ============================================================================== --- head/usr.bin/rpcinfo/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/rpcinfo/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -7,4 +7,6 @@ MAN= rpcinfo.8 CFLAGS+= -DPORTMAP +WARNS?= 2 + .include Modified: head/usr.bin/rsh/Makefile ============================================================================== --- head/usr.bin/rsh/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/rsh/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -4,6 +4,8 @@ PROG= rsh CFLAGS+=-I${.CURDIR}/../../libexec/rlogind +WARNS?= 2 + BINOWN= root BINMODE=4555 PRECIOUSPROG= Modified: head/usr.bin/rup/Makefile ============================================================================== --- head/usr.bin/rup/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/rup/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -2,6 +2,8 @@ PROG= rup +WARNS?= 1 + DPADD= ${LIBRPCSVC} LDADD= -lrpcsvc Modified: head/usr.bin/ruptime/Makefile ============================================================================== --- head/usr.bin/ruptime/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/ruptime/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,5 +1,8 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ PROG= ruptime +WARNS?= 3 + .include Modified: head/usr.bin/rusers/Makefile ============================================================================== --- head/usr.bin/rusers/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/rusers/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,7 +1,6 @@ # $FreeBSD$ PROG = rusers -WARNS?= 6 DPADD= ${LIBRPCSVC} LDADD= -lrpcsvc Modified: head/usr.bin/rwho/Makefile ============================================================================== --- head/usr.bin/rwho/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/rwho/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,5 +1,8 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ PROG= rwho +WARNS?= 1 + .include Modified: head/usr.bin/sed/Makefile ============================================================================== --- head/usr.bin/sed/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/sed/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -4,4 +4,6 @@ PROG= sed SRCS= compile.c main.c misc.c process.c +WARNS?= 2 + .include Modified: head/usr.bin/smbutil/Makefile ============================================================================== --- head/usr.bin/smbutil/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/smbutil/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -9,6 +9,8 @@ LDADD= -lsmb -lkiconv CONTRIBDIR= ${.CURDIR}/../../contrib/smbfs CFLAGS+= -I${CONTRIBDIR}/include +WARNS?= 0 + .PATH: ${CONTRIBDIR}/smbutil .include Modified: head/usr.bin/sockstat/Makefile ============================================================================== --- head/usr.bin/sockstat/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/sockstat/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= sockstat -WARNS?= 4 .include Modified: head/usr.bin/su/Makefile ============================================================================== --- head/usr.bin/su/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/su/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -5,6 +5,8 @@ PROG= su +WARNS?= 5 + DPADD= ${LIBUTIL} ${LIBPAM} LDADD= -lutil ${MINUSLPAM} Modified: head/usr.bin/systat/Makefile ============================================================================== --- head/usr.bin/systat/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/systat/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -14,6 +14,8 @@ SRCS+= icmp6.c ip6.c CFLAGS+= -DINET6 .endif +WARNS?= 0 + DPADD= ${LIBCURSES} ${LIBM} ${LIBDEVSTAT} ${LIBKVM} ${LIBULOG} LDADD= -lcursesw -lm -ldevstat -lkvm -lulog Modified: head/usr.bin/tail/Makefile ============================================================================== --- head/usr.bin/tail/Makefile Sat Jan 2 10:14:35 2010 (r201385) +++ head/usr.bin/tail/Makefile Sat Jan 2 10:27:05 2010 (r201386) @@ -3,6 +3,5 @@ *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 11:05:34 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED624106566B; Sat, 2 Jan 2010 11:05:34 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DA0548FC15; Sat, 2 Jan 2010 11:05:34 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02B5YJ6021872; Sat, 2 Jan 2010 11:05:34 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02B5YDn021858; Sat, 2 Jan 2010 11:05:34 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001021105.o02B5YDn021858@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 11:05:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201387 - in head/usr.sbin: accton ancontrol asf chroot extattrctl faithd inetd kbdcontrol mount_portalfs ndiscvt quotaon rip6query rmt X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 11:05:35 -0000 Author: ed Date: Sat Jan 2 11:05:34 2010 New Revision: 201387 URL: http://svn.freebsd.org/changeset/base/201387 Log: ANSIfy some more tools in usr.sbin/. Most of these tools build with WARNS=6, except for their use of K&R function declarations. Modified: head/usr.sbin/accton/accton.c head/usr.sbin/ancontrol/ancontrol.c head/usr.sbin/asf/asf_kld.c head/usr.sbin/chroot/chroot.c head/usr.sbin/extattrctl/extattrctl.c head/usr.sbin/faithd/faithd.c head/usr.sbin/inetd/inetd.c head/usr.sbin/kbdcontrol/kbdcontrol.c head/usr.sbin/mount_portalfs/mount_portalfs.c head/usr.sbin/ndiscvt/ndiscvt.c head/usr.sbin/quotaon/quotaon.c head/usr.sbin/rip6query/rip6query.c head/usr.sbin/rmt/rmt.c Modified: head/usr.sbin/accton/accton.c ============================================================================== --- head/usr.sbin/accton/accton.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/accton/accton.c Sat Jan 2 11:05:34 2010 (r201387) @@ -80,7 +80,7 @@ main(int argc, char *argv[]) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: accton [file]\n"); exit(1); Modified: head/usr.sbin/ancontrol/ancontrol.c ============================================================================== --- head/usr.sbin/ancontrol/ancontrol.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/ancontrol/ancontrol.c Sat Jan 2 11:05:34 2010 (r201387) @@ -1327,8 +1327,8 @@ an_setkeys(const char *iface, const char } } -static void an_readkeyinfo(iface) - const char *iface; +static void +an_readkeyinfo(const char *iface) { struct an_req areq; struct an_ltv_genconfig *cfg; Modified: head/usr.sbin/asf/asf_kld.c ============================================================================== --- head/usr.sbin/asf/asf_kld.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/asf/asf_kld.c Sat Jan 2 11:05:34 2010 (r201387) @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$"); * Works with a live kernel only. */ void -asf_kld() +asf_kld(void) { struct kld_file_stat kfs; int fid = 0; /* indicates the beginning of the linker file list */ Modified: head/usr.sbin/chroot/chroot.c ============================================================================== --- head/usr.sbin/chroot/chroot.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/chroot/chroot.c Sat Jan 2 11:05:34 2010 (r201387) @@ -61,9 +61,7 @@ char *group; /* group to switch to ... char *grouplist; /* group list to switch to ... */ int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { struct group *gp; struct passwd *pw; @@ -179,7 +177,7 @@ main(argc, argv) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: chroot [-g group] [-G group,group,...] " "[-u user] newroot [command]\n"); Modified: head/usr.sbin/extattrctl/extattrctl.c ============================================================================== --- head/usr.sbin/extattrctl/extattrctl.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/extattrctl/extattrctl.c Sat Jan 2 11:05:34 2010 (r201387) @@ -54,7 +54,7 @@ long num_inodes_by_path(char *path); void usage(void); void -usage() +usage(void) { fprintf(stderr, Modified: head/usr.sbin/faithd/faithd.c ============================================================================== --- head/usr.sbin/faithd/faithd.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/faithd/faithd.c Sat Jan 2 11:05:34 2010 (r201387) @@ -791,7 +791,7 @@ exit_success(const char *fmt, ...) #ifdef USE_ROUTE static void -grab_myaddrs() +grab_myaddrs(void) { struct ifaddrs *ifap, *ifa; struct myaddrs *p; @@ -847,7 +847,7 @@ grab_myaddrs() } static void -free_myaddrs() +free_myaddrs(void) { struct myaddrs *p, *q; @@ -861,7 +861,7 @@ free_myaddrs() } static void -update_myaddrs() +update_myaddrs(void) { char msg[BUFSIZ]; int len; @@ -900,7 +900,7 @@ update_myaddrs() #endif /*USE_ROUTE*/ static void -usage() +usage(void) { fprintf(stderr, "usage: %s [-dp] [-f conf] service [serverpath [serverargs]]\n", faithdname); Modified: head/usr.sbin/inetd/inetd.c ============================================================================== --- head/usr.sbin/inetd/inetd.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/inetd/inetd.c Sat Jan 2 11:05:34 2010 (r201387) @@ -1397,8 +1397,7 @@ setsockopt(fd, SOL_SOCKET, opt, (char *) #ifdef IPSEC void -ipsecsetup(sep) - struct servtab *sep; +ipsecsetup(struct servtab *sep) { char *buf; char *policy_in = NULL; Modified: head/usr.sbin/kbdcontrol/kbdcontrol.c ============================================================================== --- head/usr.sbin/kbdcontrol/kbdcontrol.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/kbdcontrol/kbdcontrol.c Sat Jan 2 11:05:34 2010 (r201387) @@ -1148,7 +1148,7 @@ mux_keyboard(u_int op, char *kbd) } void -usage() +usage(void) { fprintf(stderr, "%s\n%s\n%s\n", "usage: kbdcontrol [-dFKix] [-A name] [-a name] [-b duration.pitch | [quiet.]belltype]", Modified: head/usr.sbin/mount_portalfs/mount_portalfs.c ============================================================================== --- head/usr.sbin/mount_portalfs/mount_portalfs.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/mount_portalfs/mount_portalfs.c Sat Jan 2 11:05:34 2010 (r201387) @@ -272,7 +272,7 @@ main(int argc, char *argv[]) } static void -usage() +usage(void) { (void)fprintf(stderr, "usage: mount_portalfs [-o options] config mount-point\n"); Modified: head/usr.sbin/ndiscvt/ndiscvt.c ============================================================================== --- head/usr.sbin/ndiscvt/ndiscvt.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/ndiscvt/ndiscvt.c Sat Jan 2 11:05:34 2010 (r201387) @@ -91,10 +91,8 @@ extern const char *__progname; nt_hdr = (image_nt_header *)(x + dos_hdr->idh_lfanew); \ sect_hdr = IMAGE_FIRST_SECTION(nt_hdr); -static -int insert_padding(imgbase, imglen) - void **imgbase; - int *imglen; +static int +insert_padding(void **imgbase, int *imglen) { image_section_header *sect_hdr; image_dos_header *dos_hdr; Modified: head/usr.sbin/quotaon/quotaon.c ============================================================================== --- head/usr.sbin/quotaon/quotaon.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/quotaon/quotaon.c Sat Jan 2 11:05:34 2010 (r201387) @@ -154,10 +154,7 @@ usage(void) } int -quotaonoff(fs, offmode, type, qfpathname) - register struct fstab *fs; - int offmode, type; - char *qfpathname; +quotaonoff(struct fstab *fs, int offmode, int type, char *qfpathname) { if (strcmp(fs->fs_file, "/") && readonly(fs)) Modified: head/usr.sbin/rip6query/rip6query.c ============================================================================== --- head/usr.sbin/rip6query/rip6query.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/rip6query/rip6query.c Sat Jan 2 11:05:34 2010 (r201387) @@ -68,9 +68,7 @@ static const char *sa_n2a(struct sockadd static const char *inet6_n2a(struct in6_addr *); int -main(argc, argv) - int argc; - char **argv; +main(int argc, char *argv[]) { struct netinfo6 *np; struct sockaddr_in6 fsock; @@ -175,15 +173,14 @@ main(argc, argv) } static void -usage() +usage(void) { fprintf(stderr, "usage: rip6query [-I iface] address\n"); } /* getnameinfo() is preferred as we may be able to show ifindex as ifname */ static const char * -sa_n2a(sa) - struct sockaddr *sa; +sa_n2a(struct sockaddr *sa) { static char buf[NI_MAXHOST]; @@ -195,8 +192,7 @@ sa_n2a(sa) } static const char * -inet6_n2a(addr) - struct in6_addr *addr; +inet6_n2a(struct in6_addr *addr) { static char buf[NI_MAXHOST]; Modified: head/usr.sbin/rmt/rmt.c ============================================================================== --- head/usr.sbin/rmt/rmt.c Sat Jan 2 10:27:05 2010 (r201386) +++ head/usr.sbin/rmt/rmt.c Sat Jan 2 11:05:34 2010 (r201387) @@ -206,8 +206,7 @@ ioerror: } void -getstring(bp) - char *bp; +getstring(char *bp) { int i; char *cp = bp; @@ -222,9 +221,7 @@ getstring(bp) } char * -checkbuf(rec, size) - char *rec; - int size; +checkbuf(char *rec, int size) { if (size <= maxrecsize) @@ -244,8 +241,7 @@ checkbuf(rec, size) } void -error(num) - int num; +error(int num) { DEBUG2("rmtd: E %d (%s)\n", num, strerror(num)); From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 11:06:11 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9A39106566B; Sat, 2 Jan 2010 11:06:11 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D90108FC15; Sat, 2 Jan 2010 11:06:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02B6Bxl022040; Sat, 2 Jan 2010 11:06:11 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02B6BPC022038; Sat, 2 Jan 2010 11:06:11 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001021106.o02B6BPC022038@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 11:06:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201388 - head/usr.sbin/snapinfo X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 11:06:12 -0000 Author: ed Date: Sat Jan 2 11:06:11 2010 New Revision: 201388 URL: http://svn.freebsd.org/changeset/base/201388 Log: Mark ftwv as __unused. This compare function does not need it. Modified: head/usr.sbin/snapinfo/snapinfo.c Modified: head/usr.sbin/snapinfo/snapinfo.c ============================================================================== --- head/usr.sbin/snapinfo/snapinfo.c Sat Jan 2 11:05:34 2010 (r201387) +++ head/usr.sbin/snapinfo/snapinfo.c Sat Jan 2 11:06:11 2010 (r201388) @@ -140,7 +140,7 @@ find_snapshot(struct statfs *sfs) int compare_function(const char *path, const struct stat *st, int flags, -struct FTW * ftwv) + struct FTW * ftwv __unused) { if (flags == FTW_F && st->st_ino == inode) { From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 11:06:39 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B48DB1065694; Sat, 2 Jan 2010 11:06:39 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A3BD78FC1D; Sat, 2 Jan 2010 11:06:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02B6dlk022174; Sat, 2 Jan 2010 11:06:39 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02B6dcs022171; Sat, 2 Jan 2010 11:06:39 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001021106.o02B6dcs022171@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 11:06:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201389 - in head/usr.sbin: sysinstall yppush X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 11:06:39 -0000 Author: ed Date: Sat Jan 2 11:06:39 2010 New Revision: 201389 URL: http://svn.freebsd.org/changeset/base/201389 Log: Remove unused variables. Modified: head/usr.sbin/sysinstall/disks.c head/usr.sbin/yppush/yppush_main.c Modified: head/usr.sbin/sysinstall/disks.c ============================================================================== --- head/usr.sbin/sysinstall/disks.c Sat Jan 2 11:06:11 2010 (r201388) +++ head/usr.sbin/sysinstall/disks.c Sat Jan 2 11:06:39 2010 (r201389) @@ -333,7 +333,7 @@ diskGetSelectCount(Device ***devs) void diskPartition(Device *dev) { - char *cp, *p; + char *p; int rv, key = 0; int i; Boolean chunking; Modified: head/usr.sbin/yppush/yppush_main.c ============================================================================== --- head/usr.sbin/yppush/yppush_main.c Sat Jan 2 11:06:11 2010 (r201388) +++ head/usr.sbin/yppush/yppush_main.c Sat Jan 2 11:06:39 2010 (r201389) @@ -487,7 +487,6 @@ main(int argc, char *argv[]) }; struct hostlist *yppush_hostlist = NULL; struct hostlist *tmp; - struct sigaction sa; while ((ch = getopt(argc, argv, "d:j:p:h:t:v")) != -1) { switch (ch) { From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 11:07:45 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1314106568F; Sat, 2 Jan 2010 11:07:45 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CC4258FC0C; Sat, 2 Jan 2010 11:07:45 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02B7j3G022551; Sat, 2 Jan 2010 11:07:45 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02B7ifv022445; Sat, 2 Jan 2010 11:07:44 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001021107.o02B7ifv022445@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 11:07:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201390 - in head/usr.sbin: . ac accton acpi/acpiconf acpi/acpidump acpi/iasl amd apm apmd asf audit auditd auditreduce authpf boot0cfg bootparamd bsnmpd/bsnmpd bsnmpd/gensnmptree bsnmp... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 11:07:46 -0000 Author: ed Date: Sat Jan 2 11:07:44 2010 New Revision: 201390 URL: http://svn.freebsd.org/changeset/base/201390 Log: The last big commit: let usr.sbin/ use WARNS=6 by default. Modified: head/usr.sbin/Makefile.inc head/usr.sbin/ac/Makefile head/usr.sbin/accton/Makefile head/usr.sbin/acpi/acpiconf/Makefile head/usr.sbin/acpi/acpidump/Makefile head/usr.sbin/acpi/iasl/Makefile head/usr.sbin/amd/Makefile.inc head/usr.sbin/apm/Makefile head/usr.sbin/apmd/Makefile head/usr.sbin/asf/Makefile head/usr.sbin/audit/Makefile head/usr.sbin/auditd/Makefile head/usr.sbin/auditreduce/Makefile head/usr.sbin/authpf/Makefile head/usr.sbin/boot0cfg/Makefile head/usr.sbin/bootparamd/Makefile.inc head/usr.sbin/bsnmpd/bsnmpd/Makefile head/usr.sbin/bsnmpd/gensnmptree/Makefile head/usr.sbin/bsnmpd/modules/snmp_pf/Makefile head/usr.sbin/btxld/Makefile head/usr.sbin/burncd/Makefile head/usr.sbin/cdcontrol/Makefile head/usr.sbin/chkgrp/Makefile head/usr.sbin/chown/Makefile head/usr.sbin/chroot/Makefile head/usr.sbin/clear_locks/Makefile head/usr.sbin/config/Makefile head/usr.sbin/cpucontrol/Makefile head/usr.sbin/cron/cron/Makefile head/usr.sbin/crunch/Makefile.inc head/usr.sbin/ctm/ctm/Makefile head/usr.sbin/ctm/ctm_dequeue/Makefile head/usr.sbin/ctm/ctm_rmail/Makefile head/usr.sbin/ctm/ctm_smail/Makefile head/usr.sbin/daemon/Makefile head/usr.sbin/dconschat/Makefile head/usr.sbin/devinfo/Makefile head/usr.sbin/digictl/Makefile head/usr.sbin/diskinfo/Makefile head/usr.sbin/dnssec-dsfromkey/Makefile head/usr.sbin/dnssec-keyfromlabel/Makefile head/usr.sbin/dnssec-keygen/Makefile head/usr.sbin/dnssec-signzone/Makefile head/usr.sbin/dumpcis/Makefile head/usr.sbin/editmap/Makefile head/usr.sbin/edquota/Makefile head/usr.sbin/eeprom/Makefile head/usr.sbin/extattr/Makefile head/usr.sbin/extattrctl/Makefile head/usr.sbin/faithd/Makefile head/usr.sbin/fdcontrol/Makefile head/usr.sbin/fdformat/Makefile head/usr.sbin/fdread/Makefile head/usr.sbin/fdwrite/Makefile head/usr.sbin/fifolog/Makefile.inc head/usr.sbin/ftp-proxy/libevent/Makefile head/usr.sbin/getfmac/Makefile head/usr.sbin/getpmac/Makefile head/usr.sbin/gstat/Makefile head/usr.sbin/inetd/Makefile head/usr.sbin/iostat/Makefile head/usr.sbin/ip6addrctl/Makefile head/usr.sbin/ipfwpcap/Makefile head/usr.sbin/jail/Makefile head/usr.sbin/jexec/Makefile head/usr.sbin/jls/Makefile head/usr.sbin/kernbb/Makefile head/usr.sbin/lastlogin/Makefile head/usr.sbin/lmcconfig/Makefile head/usr.sbin/lpr/common_source/Makefile head/usr.sbin/lpr/filters.ru/Makefile.inc head/usr.sbin/lpr/lpc/Makefile head/usr.sbin/lpr/lpd/Makefile head/usr.sbin/lpr/lpr/Makefile head/usr.sbin/lptcontrol/Makefile head/usr.sbin/mailstats/Makefile head/usr.sbin/mailwrapper/Makefile head/usr.sbin/makemap/Makefile head/usr.sbin/memcontrol/Makefile head/usr.sbin/mixer/Makefile head/usr.sbin/mld6query/Makefile head/usr.sbin/mlxcontrol/Makefile head/usr.sbin/mount_smbfs/Makefile head/usr.sbin/moused/Makefile head/usr.sbin/mptable/Makefile head/usr.sbin/mtree/Makefile head/usr.sbin/named-checkconf/Makefile head/usr.sbin/named-checkzone/Makefile head/usr.sbin/named/Makefile head/usr.sbin/ndp/Makefile head/usr.sbin/newsyslog/Makefile head/usr.sbin/nfsd/Makefile head/usr.sbin/nghook/Makefile head/usr.sbin/ntp/Makefile.inc head/usr.sbin/nvram/Makefile head/usr.sbin/ofwdump/Makefile head/usr.sbin/pciconf/Makefile head/usr.sbin/pkg_install/delete/Makefile head/usr.sbin/pkg_install/info/Makefile head/usr.sbin/pkg_install/updating/Makefile head/usr.sbin/pkg_install/version/Makefile head/usr.sbin/pmcannotate/Makefile head/usr.sbin/pmccontrol/Makefile head/usr.sbin/pmcstat/Makefile head/usr.sbin/pnpinfo/Makefile head/usr.sbin/portsnap/make_index/Makefile head/usr.sbin/portsnap/phttpget/Makefile head/usr.sbin/powerd/Makefile head/usr.sbin/pppctl/Makefile head/usr.sbin/praliases/Makefile head/usr.sbin/praudit/Makefile head/usr.sbin/procctl/Makefile head/usr.sbin/pstat/Makefile head/usr.sbin/pw/Makefile head/usr.sbin/pwd_mkdb/Makefile head/usr.sbin/quotaon/Makefile head/usr.sbin/repquota/Makefile head/usr.sbin/rip6query/Makefile head/usr.sbin/rmt/Makefile head/usr.sbin/rndc-confgen/Makefile head/usr.sbin/rndc/Makefile head/usr.sbin/route6d/Makefile head/usr.sbin/rpc.lockd/Makefile head/usr.sbin/rpc.statd/Makefile head/usr.sbin/rpc.umntall/Makefile head/usr.sbin/rpc.yppasswdd/Makefile head/usr.sbin/rpc.ypupdated/Makefile head/usr.sbin/rpc.ypxfrd/Makefile head/usr.sbin/rpcbind/Makefile head/usr.sbin/rrenumd/Makefile head/usr.sbin/rtadvd/Makefile head/usr.sbin/rtprio/Makefile head/usr.sbin/rtsold/Makefile head/usr.sbin/rwhod/Makefile head/usr.sbin/sa/Makefile head/usr.sbin/sendmail/Makefile head/usr.sbin/setfmac/Makefile head/usr.sbin/setpmac/Makefile head/usr.sbin/smbmsg/Makefile head/usr.sbin/sysinstall/Makefile head/usr.sbin/tcpdchk/Makefile head/usr.sbin/tcpdmatch/Makefile head/usr.sbin/tcpdrop/Makefile head/usr.sbin/tcpdump/Makefile.inc head/usr.sbin/traceroute/Makefile head/usr.sbin/traceroute6/Makefile head/usr.sbin/tzsetup/Makefile head/usr.sbin/uathload/Makefile head/usr.sbin/usbdevs/Makefile head/usr.sbin/vidcontrol/Makefile head/usr.sbin/vipw/Makefile head/usr.sbin/wake/Makefile head/usr.sbin/watchdogd/Makefile head/usr.sbin/wlandebug/Makefile head/usr.sbin/wlconfig/Makefile head/usr.sbin/yp_mkdb/Makefile head/usr.sbin/ypbind/Makefile head/usr.sbin/yppoll/Makefile head/usr.sbin/yppush/Makefile head/usr.sbin/ypserv/Makefile head/usr.sbin/ypset/Makefile head/usr.sbin/zic/zdump/Makefile head/usr.sbin/zic/zic/Makefile Modified: head/usr.sbin/Makefile.inc ============================================================================== --- head/usr.sbin/Makefile.inc Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/Makefile.inc Sat Jan 2 11:07:44 2010 (r201390) @@ -2,3 +2,5 @@ # $FreeBSD$ BINDIR?= /usr/sbin + +WARNS?= 6 Modified: head/usr.sbin/ac/Makefile ============================================================================== --- head/usr.sbin/ac/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ac/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,8 +3,6 @@ PROG= ac MAN= ac.8 -WARNS?= 4 - # Temporary, while tracking down problem wrt 64-bit time_t's on sparc64 .if ${MACHINE_ARCH} == "sparc64" CFLAGS+=-DDEBUG Modified: head/usr.sbin/accton/Makefile ============================================================================== --- head/usr.sbin/accton/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/accton/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,4 @@ PROG= accton MAN= accton.8 -WARNS?= 4 - .include Modified: head/usr.sbin/acpi/acpiconf/Makefile ============================================================================== --- head/usr.sbin/acpi/acpiconf/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/acpi/acpiconf/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,5 @@ PROG= acpiconf MAN= acpiconf.8 -WARNS?= 6 .include Modified: head/usr.sbin/acpi/acpidump/Makefile ============================================================================== --- head/usr.sbin/acpi/acpidump/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/acpi/acpidump/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,5 @@ PROG= acpidump MAN= acpidump.8 SRCS= acpi.c acpi_user.c acpidump.c -WARNS?= 6 .include Modified: head/usr.sbin/acpi/iasl/Makefile ============================================================================== --- head/usr.sbin/acpi/iasl/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/acpi/iasl/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -50,6 +50,8 @@ SRCS+= utalloc.c utcache.c utcopy.c utde utglobal.c utinit.c utlock.c utmath.c utmisc.c \ utmutex.c utobject.c utresrc.c utstate.c utxface.c +WARNS?= 2 + MAN= iasl.8 CFLAGS+= -DACPI_ASL_COMPILER -I. Modified: head/usr.sbin/amd/Makefile.inc ============================================================================== --- head/usr.sbin/amd/Makefile.inc Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/amd/Makefile.inc Sat Jan 2 11:07:44 2010 (r201390) @@ -40,6 +40,8 @@ RPCCOM= rpcgen MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x +WARNS?= 1 + .if exists(${.CURDIR}/../../Makefile.inc) .include "${.CURDIR}/../../Makefile.inc" .endif Modified: head/usr.sbin/apm/Makefile ============================================================================== --- head/usr.sbin/apm/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/apm/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,5 @@ PROG= apm MAN= apm.8 MLINKS= apm.8 apmconf.8 MANSUBDIR= /${MACHINE_ARCH} -WARNS?= 6 .include Modified: head/usr.sbin/apmd/Makefile ============================================================================== --- head/usr.sbin/apmd/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/apmd/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,6 +5,8 @@ MAN= apmd.8 MANSUBDIR= /i386 SRCS= apmd.c apmdlex.l apmdparse.y y.tab.h +WARNS?= 0 + DPADD= ${LIBL} LDADD= -ll Modified: head/usr.sbin/asf/Makefile ============================================================================== --- head/usr.sbin/asf/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/asf/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -7,6 +7,4 @@ MAN= asf.8 DPADD= ${LIBKVM} LDADD= -lkvm -WARNS?= 4 - .include Modified: head/usr.sbin/audit/Makefile ============================================================================== --- head/usr.sbin/audit/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/audit/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -13,4 +13,6 @@ MAN= audit.8 DPADD= ${LIBBSM} LDADD= -lbsm +WARNS?= 5 + .include Modified: head/usr.sbin/auditd/Makefile ============================================================================== --- head/usr.sbin/auditd/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/auditd/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -14,4 +14,6 @@ MAN= auditd.8 DPADD= ${LIBBSM} ${LIBAUDITD} LDADD= -lbsm -lauditd +WARNS?= 3 + .include Modified: head/usr.sbin/auditreduce/Makefile ============================================================================== --- head/usr.sbin/auditreduce/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/auditreduce/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -13,4 +13,6 @@ MAN= auditreduce.1 DPADD= ${LIBBSM} LDADD= -lbsm +WARNS?= 3 + .include Modified: head/usr.sbin/authpf/Makefile ============================================================================== --- head/usr.sbin/authpf/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/authpf/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -19,4 +19,6 @@ CFLAGS+= -DENABLE_ALTQ LDADD+= -lm -lmd -lutil DPADD+= ${LIBM} ${LIBMD} ${LIBUTIL} +WARNS?= 3 + .include Modified: head/usr.sbin/boot0cfg/Makefile ============================================================================== --- head/usr.sbin/boot0cfg/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/boot0cfg/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,8 +3,6 @@ PROG= boot0cfg MAN= boot0cfg.8 -WARNS?= 2 - DPADD= ${LIBGEOM} LDADD= -lgeom Modified: head/usr.sbin/bootparamd/Makefile.inc ============================================================================== --- head/usr.sbin/bootparamd/Makefile.inc Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/bootparamd/Makefile.inc Sat Jan 2 11:07:44 2010 (r201390) @@ -2,3 +2,5 @@ # $FreeBSD$ BINDIR?= /usr/sbin + +WARNS?= 2 Modified: head/usr.sbin/bsnmpd/bsnmpd/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/bsnmpd/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/bsnmpd/bsnmpd/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -14,7 +14,6 @@ XSYM= snmpMIB begemotSnmpdModuleTable be freeBSDVersion CLEANFILES= oid.h tree.c tree.h MAN= bsnmpd.1 snmpmod.3 -WARNS?= 6 NO_WERROR= FILESGROUPS= BMIBS DEFS Modified: head/usr.sbin/bsnmpd/gensnmptree/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/gensnmptree/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/bsnmpd/gensnmptree/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -10,4 +10,6 @@ CFLAGS+= -I${CONTRIB}/lib CFLAGS+= -DQUADFMT='"llu"' -DQUADXFMT='"llx"' -DHAVE_STDINT_H CFLAGS+= -DHAVE_INTTYPES_H +WARNS?= 5 + .include Modified: head/usr.sbin/bsnmpd/modules/snmp_pf/Makefile ============================================================================== --- head/usr.sbin/bsnmpd/modules/snmp_pf/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/bsnmpd/modules/snmp_pf/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,7 +4,6 @@ MOD= pf SRCS= pf_snmp.c -WARNS?= 6 XSYM= begemotPf DEFS= ${MOD}_tree.def Modified: head/usr.sbin/btxld/Makefile ============================================================================== --- head/usr.sbin/btxld/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/btxld/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,4 @@ PROG= btxld MAN= btxld.8 SRCS= btxld.c elfh.c -WARNS?= 6 - .include Modified: head/usr.sbin/burncd/Makefile ============================================================================== --- head/usr.sbin/burncd/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/burncd/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,4 @@ PROG= burncd MAN= burncd.8 -WARNS?= 6 - .include Modified: head/usr.sbin/cdcontrol/Makefile ============================================================================== --- head/usr.sbin/cdcontrol/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/cdcontrol/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -2,7 +2,7 @@ PROG= cdcontrol -WARNS?= 2 +WARNS?= 3 DPADD= ${LIBEDIT} ${LIBTERMCAP} LDADD= -ledit -ltermcap Modified: head/usr.sbin/chkgrp/Makefile ============================================================================== --- head/usr.sbin/chkgrp/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/chkgrp/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,4 @@ PROG= chkgrp MAN= chkgrp.8 -WARNS?= 2 - .include Modified: head/usr.sbin/chown/Makefile ============================================================================== --- head/usr.sbin/chown/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/chown/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,6 +5,4 @@ PROG= chown LINKS= ${BINDIR}/chown /usr/bin/chgrp MAN= chgrp.1 chown.8 -WARNS?= 5 - .include Modified: head/usr.sbin/chroot/Makefile ============================================================================== --- head/usr.sbin/chroot/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/chroot/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,4 @@ PROG= chroot MAN= chroot.8 -WARNS?= 2 - .include Modified: head/usr.sbin/clear_locks/Makefile ============================================================================== --- head/usr.sbin/clear_locks/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/clear_locks/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,5 @@ PROG= clear_locks MAN= clear_locks.8 DPADD= ${LIBRPCSVC} LDADD= -lrpcsvc -WARNS= 6 .include Modified: head/usr.sbin/config/Makefile ============================================================================== --- head/usr.sbin/config/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/config/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -9,7 +9,6 @@ SRCS= config.y main.c lang.l mkmakefile. kernconf.c: kernconf.tmpl file2c 'char kernconfstr[] = {' ',0};' < ${.CURDIR}/kernconf.tmpl > kernconf.c -WARNS?= 6 CFLAGS+= -I. -I${.CURDIR} DPADD= ${LIBL} ${LIBSBUF} Modified: head/usr.sbin/cpucontrol/Makefile ============================================================================== --- head/usr.sbin/cpucontrol/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/cpucontrol/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,4 @@ PROG= cpucontrol MAN= cpucontrol.8 SRCS= cpucontrol.c intel.c amd.c -WARNS?= 6 - .include Modified: head/usr.sbin/cron/cron/Makefile ============================================================================== --- head/usr.sbin/cron/cron/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/cron/cron/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -9,4 +9,6 @@ CFLAGS+= -DLOGIN_CAP -DPAM DPADD= ${LIBCRON} ${LIBPAM} ${LIBUTIL} LDADD= ${LIBCRON} ${MINUSLPAM} -lutil +WARNS?= 2 + .include Modified: head/usr.sbin/crunch/Makefile.inc ============================================================================== --- head/usr.sbin/crunch/Makefile.inc Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/crunch/Makefile.inc Sat Jan 2 11:07:44 2010 (r201390) @@ -2,3 +2,5 @@ # modify to taste BINDIR?= /usr/bin + +WARNS?= 2 Modified: head/usr.sbin/ctm/ctm/Makefile ============================================================================== --- head/usr.sbin/ctm/ctm/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ctm/ctm/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -17,6 +17,8 @@ NOTYET= ctm_ed.c LDADD= -lmd DPADD= ${LIBMD} +WARNS?= 2 + .if exists(${.CURDIR}/../../Makefile.inc) .include "${.CURDIR}/../../Makefile.inc" .endif Modified: head/usr.sbin/ctm/ctm_dequeue/Makefile ============================================================================== --- head/usr.sbin/ctm/ctm_dequeue/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ctm/ctm_dequeue/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -8,4 +8,6 @@ SRCS= ctm_dequeue.c error.c CFLAGS+= -I${.CURDIR}/../ctm_rmail +WARNS?= 1 + .include Modified: head/usr.sbin/ctm/ctm_rmail/Makefile ============================================================================== --- head/usr.sbin/ctm/ctm_rmail/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ctm/ctm_rmail/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,4 +5,6 @@ MLINKS= ctm_rmail.1 ctm_smail.1 \ ctm_rmail.1 ctm_dequeue.1 SRCS= ctm_rmail.c error.c +WARNS?= 2 + .include Modified: head/usr.sbin/ctm/ctm_smail/Makefile ============================================================================== --- head/usr.sbin/ctm/ctm_smail/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ctm/ctm_smail/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -8,4 +8,6 @@ SRCS= ctm_smail.c error.c CFLAGS+= -I${.CURDIR}/../ctm_rmail +WARNS?= 2 + .include Modified: head/usr.sbin/daemon/Makefile ============================================================================== --- head/usr.sbin/daemon/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/daemon/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -6,6 +6,4 @@ MAN= daemon.8 DPADD= ${LIBUTIL} LDADD= -lutil -WARNS?= 2 - .include Modified: head/usr.sbin/dconschat/Makefile ============================================================================== --- head/usr.sbin/dconschat/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/dconschat/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -8,4 +8,6 @@ CFLAGS+= -I${.CURDIR}/../../sys DPADD= ${LIBKVM} LDADD= -lkvm +WARNS?= 1 + .include Modified: head/usr.sbin/devinfo/Makefile ============================================================================== --- head/usr.sbin/devinfo/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/devinfo/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,8 +3,6 @@ PROG= devinfo MAN= devinfo.8 -WARNS?= 2 - DPADD= ${LIBDEVINFO} LDADD= -ldevinfo Modified: head/usr.sbin/digictl/Makefile ============================================================================== --- head/usr.sbin/digictl/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/digictl/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,4 @@ PROG= digictl MAN= digictl.8 -WARNS?= 2 - .include Modified: head/usr.sbin/diskinfo/Makefile ============================================================================== --- head/usr.sbin/diskinfo/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/diskinfo/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,8 +3,6 @@ PROG= diskinfo MAN= diskinfo.8 -WARNS?= 5 - DPADD= ${LIBUTIL} LDADD= -lutil Modified: head/usr.sbin/dnssec-dsfromkey/Makefile ============================================================================== --- head/usr.sbin/dnssec-dsfromkey/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/dnssec-dsfromkey/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -17,6 +17,8 @@ CFLAGS+= -I${SRCDIR}/unix/include -I${SR DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} +WARNS?= 3 + MAN= dnssec-dsfromkey.8 .include Modified: head/usr.sbin/dnssec-keyfromlabel/Makefile ============================================================================== --- head/usr.sbin/dnssec-keyfromlabel/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/dnssec-keyfromlabel/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -17,6 +17,8 @@ CFLAGS+= -I${SRCDIR}/unix/include -I${SR DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} +WARNS?= 3 + MAN= dnssec-keyfromlabel.8 .include Modified: head/usr.sbin/dnssec-keygen/Makefile ============================================================================== --- head/usr.sbin/dnssec-keygen/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/dnssec-keygen/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -17,6 +17,8 @@ CFLAGS+= -I${SRCDIR}/unix/include -I${SR DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} +WARNS?= 3 + MAN= dnssec-keygen.8 .include Modified: head/usr.sbin/dnssec-signzone/Makefile ============================================================================== --- head/usr.sbin/dnssec-signzone/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/dnssec-signzone/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -17,6 +17,8 @@ CFLAGS+= -I${SRCDIR}/unix/include -I${SR DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} +WARNS?= 3 + MAN= dnssec-signzone.8 .include Modified: head/usr.sbin/dumpcis/Makefile ============================================================================== --- head/usr.sbin/dumpcis/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/dumpcis/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,6 +5,5 @@ PROG= dumpcis MAN= dumpcis.8 SRCS= main.c readcis.c printcis.c -WARNS?= 5 .include Modified: head/usr.sbin/editmap/Makefile ============================================================================== --- head/usr.sbin/editmap/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/editmap/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -10,6 +10,8 @@ MAN= editmap.8 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+= -DNEWDB -DNOT_SENDMAIL +WARNS?= 2 + LIBSMDIR= ${.OBJDIR}/../../lib/libsm LIBSM= ${LIBSMDIR}/libsm.a Modified: head/usr.sbin/edquota/Makefile ============================================================================== --- head/usr.sbin/edquota/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/edquota/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,4 @@ PROG= edquota MAN= edquota.8 -WARNS?= 4 - .include Modified: head/usr.sbin/eeprom/Makefile ============================================================================== --- head/usr.sbin/eeprom/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/eeprom/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -6,7 +6,6 @@ PROG= eeprom MAN= eeprom.8 MANSUBDIR= /sparc64 SRCS= eeprom.c ofw_options.c ofw_util.c -WARNS?= 6 CFLAGS+= -I${.CURDIR}/../ofwdump .include Modified: head/usr.sbin/extattr/Makefile ============================================================================== --- head/usr.sbin/extattr/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/extattr/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -11,6 +11,4 @@ MLINKS+= rmextattr.8 setextattr.8 MLINKS+= rmextattr.8 getextattr.8 MLINKS+= rmextattr.8 lsextattr.8 -WARNS?= 5 - .include Modified: head/usr.sbin/extattrctl/Makefile ============================================================================== --- head/usr.sbin/extattrctl/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/extattrctl/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,4 @@ PROG= extattrctl MAN= extattrctl.8 -WARNS?= 2 - .include Modified: head/usr.sbin/faithd/Makefile ============================================================================== --- head/usr.sbin/faithd/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/faithd/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -20,4 +20,6 @@ SRCS= faithd.c tcp.c ftp.c prefix.c CFLAGS+= -DHAVE_POLL_H +WARNS?= 2 + .include Modified: head/usr.sbin/fdcontrol/Makefile ============================================================================== --- head/usr.sbin/fdcontrol/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/fdcontrol/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,7 +4,6 @@ PROG= fdcontrol SRCS= fdcontrol.c fdutil.c -WARNS?= 6 CFLAGS+= -I${.CURDIR}/../fdread MAN= fdcontrol.8 Modified: head/usr.sbin/fdformat/Makefile ============================================================================== --- head/usr.sbin/fdformat/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/fdformat/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,7 +5,6 @@ PROG= fdformat SRCS= fdformat.c fdutil.c -WARNS?= 6 CFLAGS+= -I${.CURDIR}/../fdread .if ${MACHINE} == "pc98" Modified: head/usr.sbin/fdread/Makefile ============================================================================== --- head/usr.sbin/fdread/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/fdread/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,8 +3,6 @@ PROG= fdread SRCS= fdread.c fdutil.c -WARNS?= 6 - .if ${MACHINE} == "pc98" CFLAGS+= -DPC98 .endif Modified: head/usr.sbin/fdwrite/Makefile ============================================================================== --- head/usr.sbin/fdwrite/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/fdwrite/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -8,6 +8,5 @@ # $FreeBSD$ PROG= fdwrite -WARNS?= 6 .include Modified: head/usr.sbin/fifolog/Makefile.inc ============================================================================== --- head/usr.sbin/fifolog/Makefile.inc Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/fifolog/Makefile.inc Sat Jan 2 11:07:44 2010 (r201390) @@ -2,8 +2,6 @@ LIBFIFOLOG= ${.OBJDIR}/../lib/libfifolog.a -WARNS?= 6 - #LINT= flint #LINTFLAGS= ${.CURDIR}/../flint.lnt -I/usr/include Modified: head/usr.sbin/ftp-proxy/libevent/Makefile ============================================================================== --- head/usr.sbin/ftp-proxy/libevent/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ftp-proxy/libevent/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -22,4 +22,6 @@ CFLAGS+= -I${.CURDIR} \ -DHAVE_WORKING_KQUEUE \ -DVERSION='"1.3b"' +WARNS?= 2 + .include Modified: head/usr.sbin/getfmac/Makefile ============================================================================== --- head/usr.sbin/getfmac/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/getfmac/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,4 @@ PROG= getfmac MAN= getfmac.8 -WARNS?= 6 - .include Modified: head/usr.sbin/getpmac/Makefile ============================================================================== --- head/usr.sbin/getpmac/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/getpmac/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,4 @@ PROG= getpmac MAN= getpmac.8 -WARNS?= 6 - .include Modified: head/usr.sbin/gstat/Makefile ============================================================================== --- head/usr.sbin/gstat/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/gstat/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -2,7 +2,6 @@ PROG= gstat MAN= gstat.8 -WARNS?= 5 DPADD= ${LIBDEVSTAT} ${LIBKVM} ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBEDIT} ${LIBCURSES} LDADD= -ldevstat -lkvm -lgeom -lbsdxml -lsbuf -ledit -lcurses Modified: head/usr.sbin/inetd/Makefile ============================================================================== --- head/usr.sbin/inetd/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/inetd/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -8,7 +8,7 @@ MAN= inetd.8 MLINKS= inetd.8 inetd.conf.5 SRCS= inetd.c builtins.c -WARNS?= 2 +WARNS?= 3 CFLAGS+= -DLOGIN_CAP #CFLAGS+= -DSANITY_CHECK Modified: head/usr.sbin/iostat/Makefile ============================================================================== --- head/usr.sbin/iostat/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/iostat/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -7,4 +7,6 @@ MAN= iostat.8 DPADD= ${LIBDEVSTAT} ${LIBKVM} ${LIBM} LDADD= -ldevstat -lkvm -lm +WARNS?= 1 + .include Modified: head/usr.sbin/ip6addrctl/Makefile ============================================================================== --- head/usr.sbin/ip6addrctl/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ip6addrctl/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,4 +3,6 @@ PROG= ip6addrctl MAN= ip6addrctl.8 +WARNS?= 2 + .include Modified: head/usr.sbin/ipfwpcap/Makefile ============================================================================== --- head/usr.sbin/ipfwpcap/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ipfwpcap/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -11,8 +11,6 @@ DPADD= ${LIBPCAP} MAN= ipfwpcap.8 -WARNS?= 6 - .include test: $(CMD) Modified: head/usr.sbin/jail/Makefile ============================================================================== --- head/usr.sbin/jail/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/jail/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -7,8 +7,6 @@ MAN= jail.8 DPADD= ${LIBJAIL} ${LIBUTIL} LDADD= -ljail -lutil -WARNS?= 6 - .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 .endif Modified: head/usr.sbin/jexec/Makefile ============================================================================== --- head/usr.sbin/jexec/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/jexec/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,5 @@ PROG= jexec MAN= jexec.8 DPADD= ${LIBJAIL} ${LIBUTIL} LDADD= -ljail -lutil -WARNS?= 6 .include Modified: head/usr.sbin/jls/Makefile ============================================================================== --- head/usr.sbin/jls/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/jls/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,6 +5,4 @@ MAN= jls.8 DPADD= ${LIBJAIL} LDADD= -ljail -WARNS?= 6 - .include Modified: head/usr.sbin/kernbb/Makefile ============================================================================== --- head/usr.sbin/kernbb/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/kernbb/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -8,6 +8,5 @@ LDADD= -lkvm CFLAGS+= -I${.CURDIR}/../../contrib/gcc -WARNS?= 3 .include Modified: head/usr.sbin/lastlogin/Makefile ============================================================================== --- head/usr.sbin/lastlogin/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/lastlogin/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -6,6 +6,4 @@ MAN= lastlogin.8 DPADD= ${LIBULOG} LDADD= -lulog -WARNS?= 6 - .include Modified: head/usr.sbin/lmcconfig/Makefile ============================================================================== --- head/usr.sbin/lmcconfig/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/lmcconfig/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -6,4 +6,6 @@ MAN= lmcconfig.8 DPADD= ${LIBNETGRAPH} LDADD= -lnetgraph +WARNS?= 0 + .include Modified: head/usr.sbin/lpr/common_source/Makefile ============================================================================== --- head/usr.sbin/lpr/common_source/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/lpr/common_source/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -10,4 +10,6 @@ INTERNALLIB= SRCS= common.c ctlinfo.c displayq.c matchjobs.c net.c \ printcap.c request.c rmjob.c startdaemon.c +WARNS?= 1 + .include Modified: head/usr.sbin/lpr/filters.ru/Makefile.inc ============================================================================== --- head/usr.sbin/lpr/filters.ru/Makefile.inc Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/lpr/filters.ru/Makefile.inc Sat Jan 2 11:07:44 2010 (r201390) @@ -1,3 +1,5 @@ # $FreeBSD$ BINDIR= /usr/libexec/lpr/ru + +WARNS?= 3 Modified: head/usr.sbin/lpr/lpc/Makefile ============================================================================== --- head/usr.sbin/lpr/lpc/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/lpr/lpc/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -11,6 +11,8 @@ BINMODE= 2555 CFLAGS+= -I${.CURDIR}/../common_source +WARNS?= 0 + DPADD= ${LIBLPR} ${LIBEDIT} ${LIBTERMCAP} LDADD= ${LIBLPR} -ledit -ltermcap Modified: head/usr.sbin/lpr/lpd/Makefile ============================================================================== --- head/usr.sbin/lpr/lpd/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/lpr/lpd/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -7,6 +7,8 @@ SRCS= lpd.c printjob.c recvjob.c lpdchar CFLAGS+= -I${.CURDIR}/../common_source +WARNS?= 1 + DPADD= ${LIBLPR} LDADD= ${LIBLPR} Modified: head/usr.sbin/lpr/lpr/Makefile ============================================================================== --- head/usr.sbin/lpr/lpr/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/lpr/lpr/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -13,6 +13,8 @@ BINMODE= 6555 CFLAGS+= -I${.CURDIR}/../common_source +WARNS?= 2 + DPADD= ${LIBLPR} LDADD= ${LIBLPR} Modified: head/usr.sbin/lptcontrol/Makefile ============================================================================== --- head/usr.sbin/lptcontrol/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/lptcontrol/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,4 @@ PROG= lptcontrol MAN= lptcontrol.8 -WARNS?= 6 - .include Modified: head/usr.sbin/mailstats/Makefile ============================================================================== --- head/usr.sbin/mailstats/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/mailstats/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -11,6 +11,8 @@ MAN= mailstats.8 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+= -DNOT_SENDMAIL +WARNS?= 2 + LIBSMDIR= ${.OBJDIR}/../../lib/libsm LIBSM= ${LIBSMDIR}/libsm.a Modified: head/usr.sbin/mailwrapper/Makefile ============================================================================== --- head/usr.sbin/mailwrapper/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/mailwrapper/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -8,7 +8,6 @@ MAN= mailwrapper.8 DPADD= ${LIBUTIL} LDADD= -lutil -WARNS?= 6 .endif .if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no" Modified: head/usr.sbin/makemap/Makefile ============================================================================== --- head/usr.sbin/makemap/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/makemap/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -11,6 +11,8 @@ MAN= makemap.8 CFLAGS+= -I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+= -DNEWDB -DNOT_SENDMAIL +WARNS?= 2 + LIBSMDIR= ${.OBJDIR}/../../lib/libsm LIBSM= ${LIBSMDIR}/libsm.a Modified: head/usr.sbin/memcontrol/Makefile ============================================================================== --- head/usr.sbin/memcontrol/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/memcontrol/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -2,6 +2,5 @@ PROG= memcontrol MAN= memcontrol.8 -WARNS?= 6 .include Modified: head/usr.sbin/mixer/Makefile ============================================================================== --- head/usr.sbin/mixer/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/mixer/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,6 +3,4 @@ PROG= mixer MAN= mixer.8 -WARNS?= 6 - .include Modified: head/usr.sbin/mld6query/Makefile ============================================================================== --- head/usr.sbin/mld6query/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/mld6query/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -20,4 +20,6 @@ SRCS= mld6.c CFLAGS+= -DIPSEC -DUSE_RFC2292BIS +WARNS?= 2 + .include Modified: head/usr.sbin/mlxcontrol/Makefile ============================================================================== --- head/usr.sbin/mlxcontrol/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/mlxcontrol/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -6,4 +6,6 @@ SRCS= command.c config.c interface.c uti CFLAGS+= -I${.CURDIR}/../../sys +WARNS?= 2 + .include Modified: head/usr.sbin/mount_smbfs/Makefile ============================================================================== --- head/usr.sbin/mount_smbfs/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/mount_smbfs/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -2,7 +2,6 @@ PROG= mount_smbfs SRCS= mount_smbfs.c getmntopts.c -WARNS?= 6 MAN= mount_smbfs.8 MOUNTDIR= ${.CURDIR}/../../sbin/mount Modified: head/usr.sbin/moused/Makefile ============================================================================== --- head/usr.sbin/moused/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/moused/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -3,8 +3,6 @@ PROG= moused MAN= moused.8 -WARNS?=6 - DPADD= ${LIBUTIL} ${LIBM} LDADD= -lutil -lm Modified: head/usr.sbin/mptable/Makefile ============================================================================== --- head/usr.sbin/mptable/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/mptable/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -1,6 +1,5 @@ # $FreeBSD$ PROG= mptable -WARNS?= 6 .include Modified: head/usr.sbin/mtree/Makefile ============================================================================== --- head/usr.sbin/mtree/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/mtree/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -8,8 +8,6 @@ MAN= mtree.8 mtree.5 SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c SRCS+= specspec.c -WARNS?= 4 - CFLAGS+= -DMD5 -DSHA1 -DRMD160 -DSHA256 DPADD= ${LIBMD} LDADD= -lmd Modified: head/usr.sbin/named-checkconf/Makefile ============================================================================== --- head/usr.sbin/named-checkconf/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/named-checkconf/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -14,6 +14,8 @@ SRCS+= named-checkconf.c check-tool.c CFLAGS+= -I${LIB_BIND_DIR} +WARNS?= 3 + DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} Modified: head/usr.sbin/named-checkzone/Makefile ============================================================================== --- head/usr.sbin/named-checkzone/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/named-checkzone/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -14,6 +14,8 @@ SRCS+= named-checkzone.c check-tool.c CFLAGS+= -I${LIB_BIND_DIR} +WARNS?= 3 + DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} Modified: head/usr.sbin/named/Makefile ============================================================================== --- head/usr.sbin/named/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/named/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -51,6 +51,8 @@ CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATO # Remove the date stamp to make it more obvious when real changes happen CFLAGS+= -U__DATE__ +WARNS?= 0 + DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} Modified: head/usr.sbin/ndp/Makefile ============================================================================== --- head/usr.sbin/ndp/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ndp/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -22,4 +22,6 @@ SRCS= ndp.c gmt2local.c CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../contrib/tcpdump CFLAGS+= -D_U_="" +WARNS?= 1 + .include Modified: head/usr.sbin/newsyslog/Makefile ============================================================================== --- head/usr.sbin/newsyslog/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/newsyslog/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,4 @@ PROG= newsyslog MAN= newsyslog.8 newsyslog.conf.5 SRCS= newsyslog.c ptimes.c -WARNS?= 2 - .include Modified: head/usr.sbin/nfsd/Makefile ============================================================================== --- head/usr.sbin/nfsd/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/nfsd/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,4 @@ PROG= nfsd MAN= nfsd.8 nfsv4.4 stablerestart.5 -WARNS?= 6 - .include Modified: head/usr.sbin/nghook/Makefile ============================================================================== --- head/usr.sbin/nghook/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/nghook/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,7 +4,6 @@ PROG= nghook MAN= nghook.8 SRCS= main.c -WARNS?= 6 DPADD= ${LIBNETGRAPH} LDADD= -lnetgraph Modified: head/usr.sbin/ntp/Makefile.inc ============================================================================== --- head/usr.sbin/ntp/Makefile.inc Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ntp/Makefile.inc Sat Jan 2 11:07:44 2010 (r201390) @@ -18,4 +18,6 @@ LIBOPTS= ${.OBJDIR}/../libopts/libopts.a LIBPARSE= ${.OBJDIR}/../libparse/libparse.a LIBNTP= ${.OBJDIR}/../libntp/libntp.a +WARNS?= 0 + .include "../Makefile.inc" Modified: head/usr.sbin/nvram/Makefile ============================================================================== --- head/usr.sbin/nvram/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/nvram/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,4 @@ PROG= nvram MAN= nvram.8 MANSUBDIR= /powerpc -WARNS?= 6 - .include Modified: head/usr.sbin/ofwdump/Makefile ============================================================================== --- head/usr.sbin/ofwdump/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/ofwdump/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -4,6 +4,4 @@ PROG= ofwdump MAN= ofwdump.8 SRCS= ofwdump.c ofw_util.c -WARNS?= 6 - .include Modified: head/usr.sbin/pciconf/Makefile ============================================================================== --- head/usr.sbin/pciconf/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/pciconf/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -7,4 +7,6 @@ MAN= pciconf.8 CFLAGS+= -I${.CURDIR}/../../sys +WARNS?= 3 + .include Modified: head/usr.sbin/pkg_install/delete/Makefile ============================================================================== --- head/usr.sbin/pkg_install/delete/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/pkg_install/delete/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,7 +5,6 @@ SRCS= main.c perform.c CFLAGS+= -I${.CURDIR}/../lib -WARNS?= 6 WFORMAT?= 1 DPADD= ${LIBINSTALL} ${LIBMD} Modified: head/usr.sbin/pkg_install/info/Makefile ============================================================================== --- head/usr.sbin/pkg_install/info/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/pkg_install/info/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,7 +5,6 @@ SRCS= main.c perform.c show.c CFLAGS+= -I${.CURDIR}/../lib -WARNS?= 6 WFORMAT?= 1 DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD} Modified: head/usr.sbin/pkg_install/updating/Makefile ============================================================================== --- head/usr.sbin/pkg_install/updating/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/pkg_install/updating/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,7 +5,6 @@ SRCS= main.c CFLAGS+= -I${.CURDIR}/../lib -WARNS?= 6 WFORMAT?= 1 DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD} Modified: head/usr.sbin/pkg_install/version/Makefile ============================================================================== --- head/usr.sbin/pkg_install/version/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/pkg_install/version/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,7 +5,6 @@ SRCS= main.c perform.c CFLAGS+= -I${.CURDIR}/../lib -WARNS?= 6 WFORMAT?= 1 DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD} Modified: head/usr.sbin/pmcannotate/Makefile ============================================================================== --- head/usr.sbin/pmcannotate/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/pmcannotate/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -5,8 +5,6 @@ PROG= pmcannotate MAN= pmcannotate.8 -WARNS?= 6 - SRCS= pmcannotate.c .include Modified: head/usr.sbin/pmccontrol/Makefile ============================================================================== --- head/usr.sbin/pmccontrol/Makefile Sat Jan 2 11:06:39 2010 (r201389) +++ head/usr.sbin/pmccontrol/Makefile Sat Jan 2 11:07:44 2010 (r201390) @@ -8,8 +8,6 @@ MAN= pmccontrol.8 DPADD= ${LIBPMC} LDADD= -lpmc -WARNS?= 6 - SRCS= pmccontrol.c .include Modified: head/usr.sbin/pmcstat/Makefile ============================================================================== --- head/usr.sbin/pmcstat/Makefile Sat Jan 2 11:06:39 2010 (r201389) *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 12:24:47 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A6401065693; Sat, 2 Jan 2010 12:24:47 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id D26AE8FC15; Sat, 2 Jan 2010 12:24:46 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id B077C1CCC4; Sat, 2 Jan 2010 13:24:45 +0100 (CET) Date: Sat, 2 Jan 2010 13:24:45 +0100 From: Ed Schouten To: Qing Li Message-ID: <20100102122445.GD64905@hoeg.nl> References: <200912302151.nBULpNQN072941@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EP/1PmsObtyN1JrB" Content-Disposition: inline In-Reply-To: <200912302151.nBULpNQN072941@svn.freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r201284 - head/sys/netinet6 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 12:24:47 -0000 --EP/1PmsObtyN1JrB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Qing, Could it be possible that this commit (or r201282) breaks IPv6/ND6 for me? It seems my system no longer sends responses to ND6, causing all traffic on the local network to that system to break. --=20 Ed Schouten WWW: http://80386.nl/ --EP/1PmsObtyN1JrB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAks/Ow0ACgkQ52SDGA2eCwVEpQCfbMT2x0a08yUsdA5LWAnQ+VzH G4QAniN/7i3eAMmRvWGLcSGvqusyx1KA =otjK -----END PGP SIGNATURE----- --EP/1PmsObtyN1JrB-- From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 12:37:54 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A82BC1065679; Sat, 2 Jan 2010 12:37:54 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 978738FC0A; Sat, 2 Jan 2010 12:37:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02CbsqJ042443; Sat, 2 Jan 2010 12:37:54 GMT (envelope-from nyan@svn.freebsd.org) Received: (from nyan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02Cbs43042441; Sat, 2 Jan 2010 12:37:54 GMT (envelope-from nyan@svn.freebsd.org) Message-Id: <201001021237.o02Cbs43042441@svn.freebsd.org> From: Takahashi Yoshihiro Date: Sat, 2 Jan 2010 12:37:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201391 - head/release X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 12:37:54 -0000 Author: nyan Date: Sat Jan 2 12:37:54 2010 New Revision: 201391 URL: http://svn.freebsd.org/changeset/base/201391 Log: Do kgzip to the loader on pc98, too. Now pc98's boot2 works for ELF. MFC after: 2 week Modified: head/release/Makefile Modified: head/release/Makefile ============================================================================== --- head/release/Makefile Sat Jan 2 11:07:44 2010 (r201390) +++ head/release/Makefile Sat Jan 2 12:37:54 2010 (r201391) @@ -1347,7 +1347,7 @@ buildBootFloppy: @mkdir ${IMAGEDIR} @echo "Setting up /boot directory for ${FSIMAGE} floppy" @mkdir -p ${IMAGEDIR}/boot -.if ${TARGET} == "i386" +.if ${TARGET_ARCH} == "i386" @${WMAKEENV} kgzip -v -l ${RD}/trees/base/usr/lib/kgzldr.o -o \ ${IMAGEDIR}/boot/loader ${BOOTDIR}/loader .else From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 12:42:34 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 818831065679; Sat, 2 Jan 2010 12:42:34 +0000 (UTC) (envelope-from nyan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7049A8FC21; Sat, 2 Jan 2010 12:42:34 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02CgY5h043465; Sat, 2 Jan 2010 12:42:34 GMT (envelope-from nyan@svn.freebsd.org) Received: (from nyan@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02CgY1M043463; Sat, 2 Jan 2010 12:42:34 GMT (envelope-from nyan@svn.freebsd.org) Message-Id: <201001021242.o02CgY1M043463@svn.freebsd.org> From: Takahashi Yoshihiro Date: Sat, 2 Jan 2010 12:42:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201392 - head/usr.sbin/sysinstall X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 12:42:34 -0000 Author: nyan Date: Sat Jan 2 12:42:33 2010 New Revision: 201392 URL: http://svn.freebsd.org/changeset/base/201392 Log: Use UFS2 as default filesystem. Now pc98's boot2 works for UFS2. MFC after: 2 week. Modified: head/usr.sbin/sysinstall/label.c Modified: head/usr.sbin/sysinstall/label.c ============================================================================== --- head/usr.sbin/sysinstall/label.c Sat Jan 2 12:37:54 2010 (r201391) +++ head/usr.sbin/sysinstall/label.c Sat Jan 2 12:42:33 2010 (r201392) @@ -384,11 +384,7 @@ new_part(PartType type, char *mpoint, Bo pi->newfs_data.newfs_ufs.acls = FALSE; pi->newfs_data.newfs_ufs.multilabel = FALSE; pi->newfs_data.newfs_ufs.softupdates = strcmp(mpoint, "/"); -#ifdef PC98 - pi->newfs_data.newfs_ufs.ufs1 = TRUE; -#else pi->newfs_data.newfs_ufs.ufs1 = FALSE; -#endif } return pi; From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 13:07:14 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF0C81065679; Sat, 2 Jan 2010 13:07:14 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BD8788FC16; Sat, 2 Jan 2010 13:07:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02D7ElA048921; Sat, 2 Jan 2010 13:07:14 GMT (envelope-from gavin@svn.freebsd.org) Received: (from gavin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02D7EPd048919; Sat, 2 Jan 2010 13:07:14 GMT (envelope-from gavin@svn.freebsd.org) Message-Id: <201001021307.o02D7EPd048919@svn.freebsd.org> From: Gavin Atkinson Date: Sat, 2 Jan 2010 13:07:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201393 - stable/8/sys/dev/ae X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 13:07:14 -0000 Author: gavin Date: Sat Jan 2 13:07:14 2010 New Revision: 201393 URL: http://svn.freebsd.org/changeset/base/201393 Log: MFC r200993: Small spelling fix, "Ethetnet" -> "Ethernet" Approved by: ed (mentor) Modified: stable/8/sys/dev/ae/if_ae.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/dev/ae/if_ae.c ============================================================================== --- stable/8/sys/dev/ae/if_ae.c Sat Jan 2 12:42:33 2010 (r201392) +++ stable/8/sys/dev/ae/if_ae.c Sat Jan 2 13:07:14 2010 (r201393) @@ -1047,7 +1047,7 @@ ae_get_reg_eaddr(ae_softc_t *sc, uint32_ if (AE_CHECK_EADDR_VALID(eaddr) != 0) { if (bootverbose) device_printf(sc->dev, - "Ethetnet address registers are invalid.\n"); + "Ethernet address registers are invalid.\n"); return (EINVAL); } return (0); From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 13:07:52 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E853106566C; Sat, 2 Jan 2010 13:07:52 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2D00B8FC18; Sat, 2 Jan 2010 13:07:52 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02D7qBY049116; Sat, 2 Jan 2010 13:07:52 GMT (envelope-from gavin@svn.freebsd.org) Received: (from gavin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02D7qt5049114; Sat, 2 Jan 2010 13:07:52 GMT (envelope-from gavin@svn.freebsd.org) Message-Id: <201001021307.o02D7qt5049114@svn.freebsd.org> From: Gavin Atkinson Date: Sat, 2 Jan 2010 13:07:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201394 - stable/7/sys/dev/ae X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 13:07:52 -0000 Author: gavin Date: Sat Jan 2 13:07:51 2010 New Revision: 201394 URL: http://svn.freebsd.org/changeset/base/201394 Log: MFC r200993: Small spelling fix, "Ethetnet" -> "Ethernet" Approved by: ed (mentor) Modified: stable/7/sys/dev/ae/if_ae.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/ae/if_ae.c ============================================================================== --- stable/7/sys/dev/ae/if_ae.c Sat Jan 2 13:07:14 2010 (r201393) +++ stable/7/sys/dev/ae/if_ae.c Sat Jan 2 13:07:51 2010 (r201394) @@ -1047,7 +1047,7 @@ ae_get_reg_eaddr(ae_softc_t *sc, uint32_ if (AE_CHECK_EADDR_VALID(eaddr) != 0) { if (bootverbose) device_printf(sc->dev, - "Ethetnet address registers are invalid.\n"); + "Ethernet address registers are invalid.\n"); return (EINVAL); } return (0); From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 15:19:35 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33EEA106566B; Sat, 2 Jan 2010 15:19:34 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 225BE8FC1E; Sat, 2 Jan 2010 15:19:34 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02FJYoW078057; Sat, 2 Jan 2010 15:19:34 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02FJXH3078052; Sat, 2 Jan 2010 15:19:33 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201001021519.o02FJXH3078052@svn.freebsd.org> From: Marius Strobl Date: Sat, 2 Jan 2010 15:19:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201395 - head/sys/sparc64/pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 15:19:35 -0000 Author: marius Date: Sat Jan 2 15:19:33 2010 New Revision: 201395 URL: http://svn.freebsd.org/changeset/base/201395 Log: - Preserve the PROM IOMMU in order to allow OFW drivers to continue to work. - Sanity check the parameters passed to the implementations of the pcib_{read,write}_config() methods. Using illegal values can cause no real harm but it doesn't hurt to avoid unnecessary data error traps requiring to flush and re-enable the level 1 caches. Modified: head/sys/sparc64/pci/psycho.c head/sys/sparc64/pci/psychovar.h head/sys/sparc64/pci/schizo.c head/sys/sparc64/pci/schizovar.h Modified: head/sys/sparc64/pci/psycho.c ============================================================================== --- head/sys/sparc64/pci/psycho.c Sat Jan 2 13:07:51 2010 (r201394) +++ head/sys/sparc64/pci/psycho.c Sat Jan 2 15:19:33 2010 (r201395) @@ -556,6 +556,7 @@ psycho_attach(device_t dev) M_NOWAIT | M_ZERO); if (sc->sc_is == NULL) panic("%s: malloc iommu_state failed", __func__); + sc->sc_is->is_flags = IOMMU_PRESERVE_PROM; if (sc->sc_mode == PSYCHO_MODE_SABRE) sc->sc_is->is_pmaxaddr = IOMMU_MAXADDR(SABRE_IOMMU_BITS); @@ -593,10 +594,11 @@ psycho_attach(device_t dev) panic("%s: could not get bus-range", __func__); if (i != sizeof(prop_array)) panic("%s: broken bus-range (%d)", __func__, i); + sc->sc_pci_secbus = prop_array[0]; + sc->sc_pci_subbus = prop_array[1]; if (bootverbose) device_printf(dev, "bus range %u to %u; PCI bus %d\n", - prop_array[0], prop_array[1], prop_array[0]); - sc->sc_pci_secbus = prop_array[0]; + sc->sc_pci_secbus, sc->sc_pci_subbus, sc->sc_pci_secbus); /* Clear any pending PCI error bits. */ PCIB_WRITE_CONFIG(dev, sc->sc_pci_secbus, PCS_DEVICE, PCS_FUNC, @@ -925,6 +927,10 @@ psycho_read_config(device_t dev, u_int b int i; sc = device_get_softc(dev); + if (bus < sc->sc_pci_secbus || bus > sc->sc_pci_subbus || + slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCI_REGMAX) + return (-1); + bh = sc->sc_pci_bh[OFW_PCI_CS_CONFIG]; /* @@ -1005,6 +1011,10 @@ psycho_write_config(device_t dev, u_int u_long offset = 0; sc = device_get_softc(dev); + if (bus < sc->sc_pci_secbus || bus > sc->sc_pci_subbus || + slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCI_REGMAX) + return; + offset = PSYCHO_CONF_OFF(bus, slot, func, reg); bh = sc->sc_pci_bh[OFW_PCI_CS_CONFIG]; switch (width) { Modified: head/sys/sparc64/pci/psychovar.h ============================================================================== --- head/sys/sparc64/pci/psychovar.h Sat Jan 2 13:07:51 2010 (r201394) +++ head/sys/sparc64/pci/psychovar.h Sat Jan 2 15:19:33 2010 (r201395) @@ -75,6 +75,7 @@ struct psycho_softc { struct rman sc_pci_io_rman; uint8_t sc_pci_secbus; + uint8_t sc_pci_subbus; uint8_t sc_pci_hpbcfg[16]; Modified: head/sys/sparc64/pci/schizo.c ============================================================================== --- head/sys/sparc64/pci/schizo.c Sat Jan 2 13:07:51 2010 (r201394) +++ head/sys/sparc64/pci/schizo.c Sat Jan 2 15:19:33 2010 (r201395) @@ -456,6 +456,7 @@ schizo_attach(device_t dev) * buffer, in Schizo version < 5 (i.e. revision < 2.3) it's * affected by several errata and basically unusable though. */ + sc->sc_is.is_flags = IOMMU_PRESERVE_PROM; sc->sc_is.is_pmaxaddr = IOMMU_MAXADDR(STX_IOMMU_BITS); sc->sc_is.is_sb[0] = sc->sc_is.is_sb[1] = 0; if (OF_getproplen(node, "no-streaming-cache") < 0 && @@ -550,10 +551,11 @@ schizo_attach(device_t dev) panic("%s: could not get bus-range", __func__); if (i != sizeof(prop_array)) panic("%s: broken bus-range (%d)", __func__, i); + sc->sc_pci_secbus = prop_array[0]; + sc->sc_pci_subbus = prop_array[1]; if (bootverbose) device_printf(dev, "bus range %u to %u; PCI bus %d\n", - prop_array[0], prop_array[1], prop_array[0]); - sc->sc_pci_secbus = prop_array[0]; + sc->sc_pci_secbus, sc->sc_pci_subbus, sc->sc_pci_secbus); /* Clear any pending PCI error bits. */ PCIB_WRITE_CONFIG(dev, sc->sc_pci_secbus, STX_CS_DEVICE, STX_CS_FUNC, @@ -929,6 +931,9 @@ schizo_read_config(device_t dev, u_int b uint8_t byte; sc = device_get_softc(dev); + if (bus < sc->sc_pci_secbus || bus > sc->sc_pci_subbus || + slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCI_REGMAX) + return (-1); /* * The Schizo bridges contain a dupe of their header at 0x80. @@ -977,6 +982,10 @@ schizo_write_config(device_t dev, u_int u_long offset = 0; sc = device_get_softc(dev); + if (bus < sc->sc_pci_secbus || bus > sc->sc_pci_subbus || + slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCI_REGMAX) + return; + offset = STX_CONF_OFF(bus, slot, func, reg); bh = sc->sc_pci_bh[OFW_PCI_CS_CONFIG]; switch (width) { Modified: head/sys/sparc64/pci/schizovar.h ============================================================================== --- head/sys/sparc64/pci/schizovar.h Sat Jan 2 13:07:51 2010 (r201394) +++ head/sys/sparc64/pci/schizovar.h Sat Jan 2 15:19:33 2010 (r201395) @@ -71,6 +71,7 @@ struct schizo_softc { bus_dma_tag_t sc_pci_dmat; uint8_t sc_pci_secbus; + uint8_t sc_pci_subbus; struct ofw_bus_iinfo sc_pci_iinfo; From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 15:44:16 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78D4F106566B; Sat, 2 Jan 2010 15:44:16 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 67B4D8FC15; Sat, 2 Jan 2010 15:44:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02FiGir083469; Sat, 2 Jan 2010 15:44:16 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02FiG4p083467; Sat, 2 Jan 2010 15:44:16 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201001021544.o02FiG4p083467@svn.freebsd.org> From: Marius Strobl Date: Sat, 2 Jan 2010 15:44:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201396 - head/sys/sparc64/sparc64 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 15:44:16 -0000 Author: marius Date: Sat Jan 2 15:44:16 2010 New Revision: 201396 URL: http://svn.freebsd.org/changeset/base/201396 Log: - Demapping unused kernel TLB slots has proven to work reliably so move the associated debugging under bootverbose. - Remove freebsd4_sigreturn(); given that FreeBSD 4 didn't supported sparc64 this only ever served as a transition aid prior to FreeBSD 5.0 and is unused by default since COMPAT_FREEBSD4 was removed from GENERIC in r143072 nearly 5 years ago. Modified: head/sys/sparc64/sparc64/machdep.c Modified: head/sys/sparc64/sparc64/machdep.c ============================================================================== --- head/sys/sparc64/sparc64/machdep.c Sat Jan 2 15:19:33 2010 (r201395) +++ head/sys/sparc64/sparc64/machdep.c Sat Jan 2 15:44:16 2010 (r201396) @@ -383,8 +383,9 @@ sparc64_init(caddr_t mdp, u_long o1, u_l */ for (va = KERNBASE + (kernel_tlb_slots - 1) * PAGE_SIZE_4M; va >= roundup2(end, PAGE_SIZE_4M); va -= PAGE_SIZE_4M) { - printf("demapping unused kernel TLB slot (va %#lx - %#lx)\n", - va, va + PAGE_SIZE_4M - 1); + if (bootverbose) + printf("demapping unused kernel TLB slot " + "(va %#lx - %#lx)\n", va, va + PAGE_SIZE_4M - 1); stxa(TLB_DEMAP_VA(va) | TLB_DEMAP_PRIMARY | TLB_DEMAP_PAGE, ASI_DMMU_DEMAP, 0); stxa(TLB_DEMAP_VA(va) | TLB_DEMAP_PRIMARY | TLB_DEMAP_PAGE, @@ -660,15 +661,6 @@ sigreturn(struct thread *td, struct sigr return (EJUSTRETURN); } -#ifdef COMPAT_FREEBSD4 -int -freebsd4_sigreturn(struct thread *td, struct freebsd4_sigreturn_args *uap) -{ - - return sigreturn(td, (struct sigreturn_args *)uap); -} -#endif - /* * Construct a PCB from a trapframe. This is called from kdb_trap() where * we want to start a backtrace from the function that caused us to enter From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 16:27:25 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 998E81065692; Sat, 2 Jan 2010 16:27:25 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 887658FC0A; Sat, 2 Jan 2010 16:27:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02GRPQc093059; Sat, 2 Jan 2010 16:27:25 GMT (envelope-from brueffer@svn.freebsd.org) Received: (from brueffer@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02GRPes093057; Sat, 2 Jan 2010 16:27:25 GMT (envelope-from brueffer@svn.freebsd.org) Message-Id: <201001021627.o02GRPes093057@svn.freebsd.org> From: Christian Brueffer Date: Sat, 2 Jan 2010 16:27:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201397 - head/share/man/man4 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 16:27:25 -0000 Author: brueffer Date: Sat Jan 2 16:27:25 2010 New Revision: 201397 URL: http://svn.freebsd.org/changeset/base/201397 Log: Add one more supported controller. Submitted by: pluknet MFC after: 1 week Modified: head/share/man/man4/mfi.4 Modified: head/share/man/man4/mfi.4 ============================================================================== --- head/share/man/man4/mfi.4 Sat Jan 2 15:44:16 2010 (r201396) +++ head/share/man/man4/mfi.4 Sat Jan 2 16:27:25 2010 (r201397) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 26, 2009 +.Dd January 2, 2010 .Dt MFI 4 .Os .Sh NAME @@ -92,6 +92,8 @@ Dell PERC5 Dell PERC6 .It IBM ServeRAID-MR10i +.It +Intel RAID Controller SROMBSAS18E .El .Sh FILES .Bl -tag -width ".Pa /dev/mfid?" -compact From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 17:29:13 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 958A2106568B; Sat, 2 Jan 2010 17:29:13 +0000 (UTC) (envelope-from mbr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 84DD78FC1C; Sat, 2 Jan 2010 17:29:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02HTDbT006678; Sat, 2 Jan 2010 17:29:13 GMT (envelope-from mbr@svn.freebsd.org) Received: (from mbr@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02HTDTq006677; Sat, 2 Jan 2010 17:29:13 GMT (envelope-from mbr@svn.freebsd.org) Message-Id: <201001021729.o02HTDTq006677@svn.freebsd.org> From: Martin Blapp Date: Sat, 2 Jan 2010 17:29:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201398 - head/usr.sbin/wake X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 17:29:13 -0000 Author: mbr Date: Sat Jan 2 17:29:13 2010 New Revision: 201398 URL: http://svn.freebsd.org/changeset/base/201398 Log: Make it clear that "interface" is one out of possibly many interface of the local machine (s/the network interface/a network interface). Submitted by: Marc Balmer MFC after: 3 days Modified: head/usr.sbin/wake/wake.8 Modified: head/usr.sbin/wake/wake.8 ============================================================================== --- head/usr.sbin/wake/wake.8 Sat Jan 2 16:27:25 2010 (r201397) +++ head/usr.sbin/wake/wake.8 Sat Jan 2 17:29:13 2010 (r201398) @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd December 21, 2009 +.Dd December 27, 2009 .Dt WAKE 8 .Os .Sh NAME @@ -37,7 +37,7 @@ and can be used to power on machines fro having physical access to them. .Pp .Ar interface -is the network interface of the local machine. +is a network interface of the local machine. .Ar lladdr are the link layer addresses of the remote machines and can be specified as the actual hardware address From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 17:32:40 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63AB01065695; Sat, 2 Jan 2010 17:32:40 +0000 (UTC) (envelope-from mbr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 52CB18FC19; Sat, 2 Jan 2010 17:32:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02HWeF9007478; Sat, 2 Jan 2010 17:32:40 GMT (envelope-from mbr@svn.freebsd.org) Received: (from mbr@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02HWefT007475; Sat, 2 Jan 2010 17:32:40 GMT (envelope-from mbr@svn.freebsd.org) Message-Id: <201001021732.o02HWefT007475@svn.freebsd.org> From: Martin Blapp Date: Sat, 2 Jan 2010 17:32:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201399 - in head: sbin/newfs sys/boot/pc98/boot0.5 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 17:32:40 -0000 Author: mbr Date: Sat Jan 2 17:32:40 2010 New Revision: 201399 URL: http://svn.freebsd.org/changeset/base/201399 Log: Fix typo: s/partion/partition/ Submitted by: Marc Balmer MFC after: 3 days Modified: head/sbin/newfs/mkfs.c head/sys/boot/pc98/boot0.5/selector.s Modified: head/sbin/newfs/mkfs.c ============================================================================== --- head/sbin/newfs/mkfs.c Sat Jan 2 17:29:13 2010 (r201398) +++ head/sbin/newfs/mkfs.c Sat Jan 2 17:32:40 2010 (r201399) @@ -557,7 +557,7 @@ mkfs(struct partition *pp, char *fsys) sblock.fs_cssize - i : sblock.fs_bsize, ((char *)fscs) + i); /* - * Update information about this partion in pack + * Update information about this partition in pack * label, to that it may be updated on disk. */ if (pp != NULL) { Modified: head/sys/boot/pc98/boot0.5/selector.s ============================================================================== --- head/sys/boot/pc98/boot0.5/selector.s Sat Jan 2 17:29:13 2010 (r201398) +++ head/sys/boot/pc98/boot0.5/selector.s Sat Jan 2 17:32:40 2010 (r201399) @@ -35,7 +35,7 @@ # Display partition table. # showpartitions: - # Clear partion table area + # Clear partition table area movw $16, %cx clear_part: push %cx From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 17:45:54 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40C101065679; Sat, 2 Jan 2010 17:45:54 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2FED58FC15; Sat, 2 Jan 2010 17:45:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02HjsYU010406; Sat, 2 Jan 2010 17:45:54 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02HjsIE010404; Sat, 2 Jan 2010 17:45:54 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201001021745.o02HjsIE010404@svn.freebsd.org> From: Konstantin Belousov Date: Sat, 2 Jan 2010 17:45:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201400 - head/sbin/mount_msdosfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 17:45:54 -0000 Author: kib Date: Sat Jan 2 17:45:53 2010 New Revision: 201400 URL: http://svn.freebsd.org/changeset/base/201400 Log: Remove reference to the bug in FreeBSD 2.0. Submitted by: Valentin Nechayev MFC after: 3 days Modified: head/sbin/mount_msdosfs/mount_msdosfs.8 Modified: head/sbin/mount_msdosfs/mount_msdosfs.8 ============================================================================== --- head/sbin/mount_msdosfs/mount_msdosfs.8 Sat Jan 2 17:32:40 2010 (r201399) +++ head/sbin/mount_msdosfs/mount_msdosfs.8 Sat Jan 2 17:45:53 2010 (r201400) @@ -205,14 +205,6 @@ The use of the flag could result in damaged file systems, albeit the damage is in part taken care of by procedures similar to the ones used in Win'95. -.Pp -.Fx 2.1 -and earlier versions could not handle cluster sizes larger than 16K. -Just mounting an MS-DOS file system could cause corruption to any -mounted file system. -Cluster sizes larger than 16K are unavoidable for file system sizes -larger than 1G, and also occur when file systems larger than 1G are -shrunk to smaller than 1G using FIPS. .Sh HISTORY The .Nm From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 19:57:38 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5140D10656A5; Sat, 2 Jan 2010 19:57:38 +0000 (UTC) (envelope-from tomelite82@gmail.com) Received: from mail-vw0-f173.google.com (mail-vw0-f173.google.com [209.85.212.173]) by mx1.freebsd.org (Postfix) with ESMTP id C94F98FC15; Sat, 2 Jan 2010 19:57:37 +0000 (UTC) Received: by vws3 with SMTP id 3so4459619vws.3 for ; Sat, 02 Jan 2010 11:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=8W9ke75oi+9PcXwe1vfAYfU1gsWs9J9qq/5Xm6mNAbM=; b=RVViiDVc03xk0dr1ukR+wr76G1tuxsABU/+Iw7DH+sXEgpxiGgE/eerwrit6GwEi0C 1yPcHjWMeW3xCYtG4sptns+K/UaolPyRj84aJ2zawouDtzxVz9y/pI5Zs4OGV1+0SE5e qnhadDjnBUhCfLgD87oLGUAEFd0LDv09RvJMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=ciWClzW/gYvw/BRF3pw87ctTdpiyKYL4mLL6oIDbC2Xc00okNCEdHq9/Tzmh8T0jaZ A2jJsL50AUyfp/yy87MB24a4JPMJh6NiWsU8P0fK47OkD/6SMk3E+EhL1OU1M5yMxqWR 3j7xUWu9SIy5UbAF+aKF3pB0eeIi1G1qFe6Ko= MIME-Version: 1.0 Sender: tomelite82@gmail.com Received: by 10.220.49.86 with SMTP id u22mr4010179vcf.113.1262462254370; Sat, 02 Jan 2010 11:57:34 -0800 (PST) In-Reply-To: <20100102122445.GD64905@hoeg.nl> References: <200912302151.nBULpNQN072941@svn.freebsd.org> <20100102122445.GD64905@hoeg.nl> Date: Sat, 2 Jan 2010 11:57:34 -0800 X-Google-Sender-Auth: 24b8f1fe44c03743 Message-ID: <9ace436c1001021157x34e64cc9n89356bbdb2a7d2d7@mail.gmail.com> From: Qing Li To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r201284 - head/sys/netinet6 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 19:57:38 -0000 Hmm... there is a possibility r201284, but on the other hand, I have been running this patch for a while now. However, that patch was created from several weeks ago, and -current had evolved. Would you mind sending me your configuration information, in particular, "ifconfig -a" and "netstat -rn" and I will take a look. Thanks, -- Qing On Sat, Jan 2, 2010 at 4:24 AM, Ed Schouten wrote: > Hi Qing, > > Could it be possible that this commit (or r201282) breaks IPv6/ND6 for > me? It seems my system no longer sends responses to ND6, causing all > traffic on the local network to that system to break. > > -- > =A0Ed Schouten > =A0WWW: http://80386.nl/ > From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 20:18:10 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 658DC1065679; Sat, 2 Jan 2010 20:18:10 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 54B828FC13; Sat, 2 Jan 2010 20:18:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02KIArJ043749; Sat, 2 Jan 2010 20:18:10 GMT (envelope-from gavin@svn.freebsd.org) Received: (from gavin@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02KIAs4043747; Sat, 2 Jan 2010 20:18:10 GMT (envelope-from gavin@svn.freebsd.org) Message-Id: <201001022018.o02KIAs4043747@svn.freebsd.org> From: Gavin Atkinson Date: Sat, 2 Jan 2010 20:18:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201401 - head/sbin/growfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 20:18:10 -0000 Author: gavin Date: Sat Jan 2 20:18:10 2010 New Revision: 201401 URL: http://svn.freebsd.org/changeset/base/201401 Log: Remove dead code. This section of code is only run in the (sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the loop is redundant. Submitted by: Nate Eldredge nge cs.hmc.edu Reviewed by: mjacob Approved by: ed (mentor) MFC after: 1 month Modified: head/sbin/growfs/growfs.c Modified: head/sbin/growfs/growfs.c ============================================================================== --- head/sbin/growfs/growfs.c Sat Jan 2 17:45:53 2010 (r201400) +++ head/sbin/growfs/growfs.c Sat Jan 2 20:18:10 2010 (r201401) @@ -376,7 +376,6 @@ initcg(int cylno, time_t utime, int fso, long d, dlower, dupper, blkno, start; ufs2_daddr_t i, cbase, dmax; struct ufs1_dinode *dp1; - struct ufs2_dinode *dp2; struct csum *cs; if (iobuf == NULL && (iobuf = malloc(sblock.fs_bsize)) == NULL) { @@ -460,16 +459,11 @@ initcg(int cylno, time_t utime, int fso, for (i = 2 * sblock.fs_frag; i < sblock.fs_ipg / INOPF(&sblock); i += sblock.fs_frag) { dp1 = (struct ufs1_dinode *)iobuf; - dp2 = (struct ufs2_dinode *)iobuf; #ifdef FSIRAND - for (j = 0; j < INOPB(&sblock); j++) - if (sblock.fs_magic == FS_UFS1_MAGIC) { - dp1->di_gen = random(); - dp1++; - } else { - dp2->di_gen = random(); - dp2++; - } + for (j = 0; j < INOPB(&sblock); j++) { + dp1->di_gen = random(); + dp1++; + } #endif wtfs(fsbtodb(&sblock, cgimin(&sblock, cylno) + i), sblock.fs_bsize, iobuf, fso, Nflag); From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 20:27:15 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BAD4106566B; Sat, 2 Jan 2010 20:27:15 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EF75E8FC17; Sat, 2 Jan 2010 20:27:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02KREMU045786; Sat, 2 Jan 2010 20:27:14 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02KREkn045784; Sat, 2 Jan 2010 20:27:14 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <201001022027.o02KREkn045784@svn.freebsd.org> From: Ed Schouten Date: Sat, 2 Jan 2010 20:27:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201402 - head/lib/libc/posix1e X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 20:27:15 -0000 Author: ed Date: Sat Jan 2 20:27:14 2010 New Revision: 201402 URL: http://svn.freebsd.org/changeset/base/201402 Log: Don't forget to clean up the file copied from the kernel sources. MFC after: 1 week Modified: head/lib/libc/posix1e/Makefile.inc Modified: head/lib/libc/posix1e/Makefile.inc ============================================================================== --- head/lib/libc/posix1e/Makefile.inc Sat Jan 2 20:18:10 2010 (r201401) +++ head/lib/libc/posix1e/Makefile.inc Sat Jan 2 20:27:14 2010 (r201402) @@ -119,3 +119,5 @@ MLINKS+=acl_create_entry.3 acl_create_en mac_set.3 mac_set_proc.3 \ mac_text.3 mac_from_text.3 \ mac_text.3 mac_to_text.3 + +CLEANFILES+= subr_acl_nfs4.c From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 20:34:14 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C7061065670; Sat, 2 Jan 2010 20:34:14 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EF4E88FC19; Sat, 2 Jan 2010 20:34:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02KYD3s047392; Sat, 2 Jan 2010 20:34:13 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02KYDp1047390; Sat, 2 Jan 2010 20:34:13 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201001022034.o02KYDp1047390@svn.freebsd.org> From: Warner Losh Date: Sat, 2 Jan 2010 20:34:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201403 - stable/8/sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 20:34:14 -0000 Author: imp Date: Sat Jan 2 20:34:13 2010 New Revision: 201403 URL: http://svn.freebsd.org/changeset/base/201403 Log: Welcome to 2010. Modified: stable/8/sys/sys/copyright.h Modified: stable/8/sys/sys/copyright.h ============================================================================== --- stable/8/sys/sys/copyright.h Sat Jan 2 20:27:14 2010 (r201402) +++ stable/8/sys/sys/copyright.h Sat Jan 2 20:34:13 2010 (r201403) @@ -1,5 +1,5 @@ /*- - * Copyright (C) 1992-2009 The FreeBSD Project. All rights reserved. + * Copyright (C) 1992-2010 The FreeBSD Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,7 +30,7 @@ /* FreeBSD */ #define COPYRIGHT_FreeBSD \ - "Copyright (c) 1992-2009 The FreeBSD Project.\n" + "Copyright (c) 1992-2010 The FreeBSD Project.\n" /* Foundation */ #define TRADEMARK_Foundation \ From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 20:35:19 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A163B1065672; Sat, 2 Jan 2010 20:35:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8FFE28FC2D; Sat, 2 Jan 2010 20:35:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02KZJ4Y047664; Sat, 2 Jan 2010 20:35:19 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02KZJFJ047662; Sat, 2 Jan 2010 20:35:19 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201001022035.o02KZJFJ047662@svn.freebsd.org> From: Warner Losh Date: Sat, 2 Jan 2010 20:35:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201404 - stable/7/sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 20:35:19 -0000 Author: imp Date: Sat Jan 2 20:35:19 2010 New Revision: 201404 URL: http://svn.freebsd.org/changeset/base/201404 Log: Welcome to 2010. Modified: stable/7/sys/sys/copyright.h Modified: stable/7/sys/sys/copyright.h ============================================================================== --- stable/7/sys/sys/copyright.h Sat Jan 2 20:34:13 2010 (r201403) +++ stable/7/sys/sys/copyright.h Sat Jan 2 20:35:19 2010 (r201404) @@ -1,5 +1,5 @@ /*- - * Copyright (C) 1992-2009 The FreeBSD Project. All rights reserved. + * Copyright (C) 1992-2010 The FreeBSD Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,7 +30,7 @@ /* FreeBSD */ #define COPYRIGHT_FreeBSD \ - "Copyright (c) 1992-2009 The FreeBSD Project.\n" + "Copyright (c) 1992-2010 The FreeBSD Project.\n" /* Foundation */ #define TRADEMARK_Foundation \ From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 20:36:36 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACF9D10656A6; Sat, 2 Jan 2010 20:36:36 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 91F528FC1C; Sat, 2 Jan 2010 20:36:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02KaapK047966; Sat, 2 Jan 2010 20:36:36 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02KaaGt047964; Sat, 2 Jan 2010 20:36:36 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201001022036.o02KaaGt047964@svn.freebsd.org> From: Warner Losh Date: Sat, 2 Jan 2010 20:36:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org X-SVN-Group: stable-6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201405 - stable/6/sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 20:36:36 -0000 Author: imp Date: Sat Jan 2 20:36:36 2010 New Revision: 201405 URL: http://svn.freebsd.org/changeset/base/201405 Log: Welcome to 2010. (Note: this was mistakenly not updated for 2009, even though there were changes on the releng_6 branch). Modified: stable/6/sys/sys/copyright.h Modified: stable/6/sys/sys/copyright.h ============================================================================== --- stable/6/sys/sys/copyright.h Sat Jan 2 20:35:19 2010 (r201404) +++ stable/6/sys/sys/copyright.h Sat Jan 2 20:36:36 2010 (r201405) @@ -1,5 +1,5 @@ /*- - * Copyright (C) 1992-2008 The FreeBSD Project. All rights reserved. + * Copyright (C) 1992-2010 The FreeBSD Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,7 +30,7 @@ /* FreeBSD */ #define COPYRIGHT_FreeBSD \ - "Copyright (c) 1992-2008 The FreeBSD Project.\n" + "Copyright (c) 1992-2010 The FreeBSD Project.\n" /* Foundation */ #define TRADEMARK_Foundation \ From owner-svn-src-all@FreeBSD.ORG Sat Jan 2 23:38:03 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC6DC1065670; Sat, 2 Jan 2010 23:38:03 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BFDC58FC0A; Sat, 2 Jan 2010 23:38:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o02Nc3sE087797; Sat, 2 Jan 2010 23:38:03 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o02Nc3Ko087794; Sat, 2 Jan 2010 23:38:03 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201001022338.o02Nc3Ko087794@svn.freebsd.org> From: Xin LI Date: Sat, 2 Jan 2010 23:38:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201406 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2010 23:38:04 -0000 Author: delphij Date: Sat Jan 2 23:38:03 2010 New Revision: 201406 URL: http://svn.freebsd.org/changeset/base/201406 Log: Reduce diff against OpenSolaris - move Giant acquire/release to zfs_znode.c. As a side effect this also eliminates two potential Giant leaks. Approved by: pjd MFC after: 1 month Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c Sat Jan 2 20:36:36 2010 (r201405) +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_dir.c Sat Jan 2 23:38:03 2010 (r201406) @@ -557,9 +557,6 @@ zfs_rmnode(znode_t *zp) dmu_tx_t *tx; uint64_t acl_obj; int error; - int vfslocked; - - vfslocked = VFS_LOCK_GIANT(zfsvfs->z_vfs); ASSERT(zp->z_phys->zp_links == 0); @@ -593,7 +590,6 @@ zfs_rmnode(znode_t *zp) */ zfs_znode_dmu_fini(zp); zfs_znode_free(zp); - VFS_UNLOCK_GIANT(vfslocked); return; } } @@ -666,7 +662,6 @@ zfs_rmnode(znode_t *zp) out: if (xzp) VN_RELE(ZTOV(xzp)); - VFS_UNLOCK_GIANT(vfslocked); } static uint64_t Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c Sat Jan 2 20:36:36 2010 (r201405) +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c Sat Jan 2 23:38:03 2010 (r201406) @@ -1017,6 +1017,7 @@ zfs_zinactive(znode_t *zp) vnode_t *vp = ZTOV(zp); zfsvfs_t *zfsvfs = zp->z_zfsvfs; uint64_t z_id = zp->z_id; + int vfslocked; ASSERT(zp->z_dbuf && zp->z_phys); @@ -1049,7 +1050,9 @@ zfs_zinactive(znode_t *zp) ZFS_OBJ_HOLD_EXIT(zfsvfs, z_id); ASSERT(vp->v_count == 0); vrecycle(vp, curthread); + vfslocked = VFS_LOCK_GIANT(zfsvfs->z_vfs); zfs_rmnode(zp); + VFS_UNLOCK_GIANT(vfslocked); return; } mutex_exit(&zp->z_lock);