svn commit: r208973 - head/sys/sys

2010-06-09 Thread Ed Schouten
Author: ed Date: Thu Jun 10 06:48:09 2010 New Revision: 208973 URL: http://svn.freebsd.org/changeset/base/208973 Log: Bump __FreeBSD_version to indicate the addition of Clang to HEAD. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ==

Re: svn commit: r208954 - in head/contrib/llvm: . docs test tools/clang tools/clang/docs tools/clang/test website

2010-06-09 Thread Garrett Cooper
On Jun 9, 2010, at 3:20 PM, Pawel Worach wrote: > On Jun 9, 2010, at 23:58, Garrett Cooper wrote: > >> On Wed, Jun 9, 2010 at 12:04 PM, Ed Schouten wrote: >>> Hi Garrett, >>> >>> * Garrett Cooper wrote: Why strip test? This might actually be helpful for folks trying to evaluate wheth

svn commit: r208972 - head/share/man/man5

2010-06-09 Thread Ed Schouten
Author: ed Date: Thu Jun 10 06:22:10 2010 New Revision: 208972 URL: http://svn.freebsd.org/changeset/base/208972 Log: Regenerate. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 == -

svn commit: r208971 - head/tools/build/options

2010-06-09 Thread Ed Schouten
Author: ed Date: Thu Jun 10 06:20:26 2010 New Revision: 208971 URL: http://svn.freebsd.org/changeset/base/208971 Log: Fix typo. Spotted by: Garrett Cooper Modified: head/tools/build/options/WITHOUT_CLANG Modified: head/tools/build/options/WITHOUT_CLANG

Re: svn commit: r208954 - in head/contrib/llvm: . docs test tools/clang tools/clang/docs tools/clang/test website

2010-06-09 Thread Ed Schouten
* Garrett Cooper wrote: > On Wed, Jun 9, 2010 at 12:04 PM, Ed Schouten wrote: > > Hi Garrett, > > > > * Garrett Cooper wrote: > >> Why strip test? This might actually be helpful for folks trying to > >> evaluate whether or not they should upgrade to newer versions of > >> clang. > > > > The test

Re: svn commit: r208954 - in head/contrib/llvm: . docs test tools/clang tools/clang/docs tools/clang/test website

2010-06-09 Thread Pawel Worach
On Jun 9, 2010, at 23:58, Garrett Cooper wrote: > On Wed, Jun 9, 2010 at 12:04 PM, Ed Schouten wrote: >> Hi Garrett, >> >> * Garrett Cooper wrote: >>> Why strip test? This might actually be helpful for folks trying to >>> evaluate whether or not they should upgrade to newer versions of >>> clan

svn commit: r208970 - head/sys/netinet

2010-06-09 Thread Randall Stewart
Author: rrs Date: Wed Jun 9 22:05:29 2010 New Revision: 208970 URL: http://svn.freebsd.org/changeset/base/208970 Log: Found by Michael. In cases where we run out of memory (no more inp space) we don't propely NULL the INP on return. Obtained from:tuexen MFC after:3 Days

Re: svn commit: r208965 - head/tools/build/options

2010-06-09 Thread Garrett Cooper
On Wed, Jun 9, 2010 at 1:11 PM, Roman Divacky wrote: > Author: rdivacky > Date: Wed Jun  9 20:11:35 2010 > New Revision: 208965 > URL: http://svn.freebsd.org/changeset/base/208965 > > Log: >  Add WITHOUT_CLANG file with a description. > >  Approved by:  ed (mentor) > > Added: >  head/tools/build/o

Re: svn commit: r208954 - in head/contrib/llvm: . docs test tools/clang tools/clang/docs tools/clang/test website

2010-06-09 Thread Garrett Cooper
On Wed, Jun 9, 2010 at 12:04 PM, Ed Schouten wrote: > Hi Garrett, > > * Garrett Cooper wrote: >> Why strip test? This might actually be helpful for folks trying to >> evaluate whether or not they should upgrade to newer versions of >> clang. > > The testsuite can be checked out separately from th

svn commit: r208969 - head/sys/dev/twa

2010-06-09 Thread Xin LI
Author: delphij Date: Wed Jun 9 21:40:38 2010 New Revision: 208969 URL: http://svn.freebsd.org/changeset/base/208969 Log: Apply driver update from LSI. Many thanks to LSI for continuing to support FreeBSD. 1) Timeout ioctl command timeouts. Do not reset the controller if ioct

svn commit: r208968 - head/share/man/man5

2010-06-09 Thread Ed Schouten
Author: ed Date: Wed Jun 9 20:20:24 2010 New Revision: 208968 URL: http://svn.freebsd.org/changeset/base/208968 Log: Regenerate. Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 == -

svn commit: r208967 - head/tools/build/options

2010-06-09 Thread Ed Schouten
Author: ed Date: Wed Jun 9 20:18:18 2010 New Revision: 208967 URL: http://svn.freebsd.org/changeset/base/208967 Log: This should be commented out. Modified: head/tools/build/options/WITHOUT_CLANG Modified: head/tools/build/options/WITHOUT_CLANG ==

Re: svn commit: r208965 - head/tools/build/options

2010-06-09 Thread Roman Divacky
On Wed, Jun 09, 2010 at 08:11:35PM +, Roman Divacky wrote: > Author: rdivacky > Date: Wed Jun 9 20:11:35 2010 > New Revision: 208965 > URL: http://svn.freebsd.org/changeset/base/208965 > > Log: > Add WITHOUT_CLANG file with a description. > > Approved by:ed (mentor) noticed an

svn commit: r208966 - head/share/man/man5

2010-06-09 Thread Roman Divacky
Author: rdivacky Date: Wed Jun 9 20:13:50 2010 New Revision: 208966 URL: http://svn.freebsd.org/changeset/base/208966 Log: Regen src.conf.5 Approved by: ed (mentor) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

svn commit: r208965 - head/tools/build/options

2010-06-09 Thread Roman Divacky
Author: rdivacky Date: Wed Jun 9 20:11:35 2010 New Revision: 208965 URL: http://svn.freebsd.org/changeset/base/208965 Log: Add WITHOUT_CLANG file with a description. Approved by: ed (mentor) Added: head/tools/build/options/WITHOUT_CLANG (contents, props changed) Added: head/tools/bu

Re: svn commit: r208964 - in head: . etc/mtree lib share/mk usr.bin

2010-06-09 Thread Ed Schouten
* Roman Divacky wrote: > Log: > Hook clang into the build on i386/amd64/powerpc. > > Approved by:ed (mentor) Yeeehaw! -- Ed Schouten WWW: http://80386.nl/ pgpmfvCZtRbT6.pgp Description: PGP signature

svn commit: r208964 - in head: . etc/mtree lib share/mk usr.bin

2010-06-09 Thread Roman Divacky
Author: rdivacky Date: Wed Jun 9 19:57:20 2010 New Revision: 208964 URL: http://svn.freebsd.org/changeset/base/208964 Log: Hook clang into the build on i386/amd64/powerpc. Approved by: ed (mentor) Modified: head/Makefile.inc1 head/etc/mtree/BSD.include.dist head/lib/Makefile head

svn commit: r208963 - in head: lib/clang lib/clang/include lib/clang/include/clang lib/clang/include/clang/AST lib/clang/include/clang/Basic lib/clang/include/clang/Driver lib/clang/include/llvm li...

2010-06-09 Thread Roman Divacky
Author: rdivacky Date: Wed Jun 9 19:32:20 2010 New Revision: 208963 URL: http://svn.freebsd.org/changeset/base/208963 Log: Import the build makefiles for clang/LLVM. Approved by: ed (mentor) Added: head/lib/clang/ head/lib/clang/Makefile (contents, props changed) head/lib/clang/c

svn commit: r208962 - head/contrib/llvm/tools/clang/lib/Frontend

2010-06-09 Thread Roman Divacky
Author: rdivacky Date: Wed Jun 9 19:15:58 2010 New Revision: 208962 URL: http://svn.freebsd.org/changeset/base/208962 Log: Remove the commented out piece that slipped as a mismerge. Approved by: ed (mentor) Modified: head/contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp Modi

svn commit: r208961 - head/contrib/llvm/tools/clang/lib/Frontend

2010-06-09 Thread Roman Divacky
Author: rdivacky Date: Wed Jun 9 19:12:25 2010 New Revision: 208961 URL: http://svn.freebsd.org/changeset/base/208961 Log: Adjust include paths to FreeBSD. Remove /usr/local/include and add /usr/include/clang/$VERSION (currently VERSION is 2.0). Approved by: ed (mentor) Modified: hea

svn commit: r208959 - head/contrib/llvm/tools/clang/lib/Driver

2010-06-09 Thread Roman Divacky
Author: rdivacky Date: Wed Jun 9 19:09:49 2010 New Revision: 208959 URL: http://svn.freebsd.org/changeset/base/208959 Log: Change the default CPU to i486 on i386 (architecture). Approved by: ed (mentor) Modified: head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Modified: head/contri

Re: svn commit: r208943 - head/usr.bin/calendar

2010-06-09 Thread Juli Mallett
On Wed, Jun 9, 2010 at 03:36, Edwin Groothuis wrote: > Author: edwin > Date: Wed Jun  9 10:36:25 2010 > New Revision: 208943 > URL: http://svn.freebsd.org/changeset/base/208943 > > Log: >  fix memset() calls. > -       memset(&tm, sizeof(struct tm), 0); > +       memset(&tm, '\0', sizeof(struct t

svn commit: r208958 - head/contrib/llvm/lib/System

2010-06-09 Thread Roman Divacky
Author: rdivacky Date: Wed Jun 9 19:08:17 2010 New Revision: 208958 URL: http://svn.freebsd.org/changeset/base/208958 Log: Comment out piece of code using __clear_cache() which FreeBSD does not have. This is only used for JIT on ARM so it's harmless. Approved by: ed (mentor) Modified:

Re: svn commit: r208954 - in head/contrib/llvm: . docs test tools/clang tools/clang/docs tools/clang/test website

2010-06-09 Thread Ed Schouten
Hi Garrett, * Garrett Cooper wrote: > Why strip test? This might actually be helpful for folks trying to > evaluate whether or not they should upgrade to newer versions of > clang. The testsuite can be checked out separately from the vendor space. It will account for about 50 MB of additional di

svn commit: r208957 - head/usr.bin/unzip

2010-06-09 Thread Xin LI
Author: delphij Date: Wed Jun 9 18:59:07 2010 New Revision: 208957 URL: http://svn.freebsd.org/changeset/base/208957 Log: Check return value from archive_read_new(). Found with: Coverity Prevent(tm) CID: 8462 Reviewed by: des MFC after:1 week Modified: head/usr.bin

Re: svn commit: r208954 - in head/contrib/llvm: . docs test tools/clang tools/clang/docs tools/clang/test website

2010-06-09 Thread Garrett Cooper
On Wed, Jun 9, 2010 at 10:59 AM, Roman Divacky wrote: > Author: rdivacky > Date: Wed Jun  9 17:59:52 2010 > New Revision: 208954 > URL: http://svn.freebsd.org/changeset/base/208954 > > Log: >  Import LLVM/clang from vendor stripped of docs/ test/ website/ www/ examples/ >  in llvm/ and/or llvm/con

svn commit: r208955 - in head/contrib/llvm: examples tools/clang/examples tools/clang/www

2010-06-09 Thread Ed Schouten
Author: ed Date: Wed Jun 9 18:11:12 2010 New Revision: 208955 URL: http://svn.freebsd.org/changeset/base/208955 Log: Remove unneeded directories. Even though Roman removed these directories in his working copy, they weren't removed from the actual repository, also causing his working c

svn commit: r208954 - in head/contrib/llvm: . docs test tools/clang tools/clang/docs tools/clang/test website

2010-06-09 Thread Roman Divacky
Author: rdivacky Date: Wed Jun 9 17:59:52 2010 New Revision: 208954 URL: http://svn.freebsd.org/changeset/base/208954 Log: Import LLVM/clang from vendor stripped of docs/ test/ website/ www/ examples/ in llvm/ and/or llvm/contrib/clang/ respectively. Approved by: ed (mentor) Approved

svn commit: r208953 - head/sys/netinet

2010-06-09 Thread Randall Stewart
Author: rrs Date: Wed Jun 9 16:42:42 2010 New Revision: 208953 URL: http://svn.freebsd.org/changeset/base/208953 Log: Fix serveral bugs all having to do with freeing an sctp_inpcb: 1) Make sure not to remove the flag on the PCB until after the close() caller is back in control with the

svn commit: r208952 - head/sys/netinet

2010-06-09 Thread Randall Stewart
Author: rrs Date: Wed Jun 9 16:39:18 2010 New Revision: 208952 URL: http://svn.freebsd.org/changeset/base/208952 Log: BUG:Turns out we need to use both bit maps to calculate the cum-ack (we were not doing it for the NR-Sack case). With this fix NR-sack should now work correctly. MFC aft

svn commit: r208951 - head/sys/fs/devfs

2010-06-09 Thread Jaakko Heinonen
Author: jh Date: Wed Jun 9 15:29:12 2010 New Revision: 208951 URL: http://svn.freebsd.org/changeset/base/208951 Log: Add a new function devfs_parent_dirent() for resolving devfs parent directory entry. Use the new function in devfs_fqpn(), devfs_lookupx() and devfs_vptocnp() instead of manu

Re: svn commit: r208921 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-09 Thread M. Warner Losh
In message: <201006090803.21947@freebsd.org> John Baldwin writes: : On Tuesday 08 June 2010 6:39:30 pm M. Warner Losh wrote: : > In message: <201006081725.24684@freebsd.org> : > John Baldwin writes: : > : On Tuesday 08 June 2010 3:22:10 pm M. Warner Losh wrote: : >

Re: svn commit: r208921 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-09 Thread John Baldwin
On Tuesday 08 June 2010 6:39:30 pm M. Warner Losh wrote: > In message: <201006081725.24684@freebsd.org> > John Baldwin writes: > : On Tuesday 08 June 2010 3:22:10 pm M. Warner Losh wrote: > : > In message: <201006081446.09423@freebsd.org> > : > John Baldwin writes:

svn commit: r208947 - head/sys/conf

2010-06-09 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 9 12:30:40 2010 New Revision: 208947 URL: http://svn.freebsd.org/changeset/base/208947 Log: Fix typo. Approved by: mav (mentor) MFC after:1 month Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES

svn commit: r208946 - in head: share/man/man4 sys/conf sys/modules/netgraph sys/modules/netgraph/patch sys/netgraph

2010-06-09 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 9 12:25:57 2010 New Revision: 208946 URL: http://svn.freebsd.org/changeset/base/208946 Log: New netgraph node ng_patch(4). It performs data modification of packets passing through. Modifications are restricted to a subset of C language operations on unsigned integer

svn commit: r208943 - head/usr.bin/calendar

2010-06-09 Thread Edwin Groothuis
Author: edwin Date: Wed Jun 9 10:36:25 2010 New Revision: 208943 URL: http://svn.freebsd.org/changeset/base/208943 Log: fix memset() calls. Found with: Coverity Prevent(tm) CID: 8531 Modified: head/usr.bin/calendar/locale.c Modified: head/usr.bin/calendar/locale.c

svn commit: r208938 - head/contrib/sendmail/mail.local

2010-06-09 Thread Ulrich Spoerlein
Author: uqs Date: Wed Jun 9 08:53:50 2010 New Revision: 208938 URL: http://svn.freebsd.org/changeset/base/208938 Log: Remove -mdoc macros from -man page Neither groff nor mandoc render these when in -man mode. This was introduced in r38083 as a local change, therefore no commit to the

svn commit: r208935 - head/lib/msun/man

2010-06-09 Thread Ulrich Spoerlein
Author: uqs Date: Wed Jun 9 07:31:32 2010 New Revision: 208935 URL: http://svn.freebsd.org/changeset/base/208935 Log: mdoc: spell out theta, the Unicode glyph is hard to read for terminal fonts It is referred to as "theta" later in the document anyway, so stop being fancy. Modified: h