svn commit: r216195 - head/sys/dev/iwn

2010-12-05 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Dec 5 09:00:32 2010 New Revision: 216195 URL: http://svn.freebsd.org/changeset/base/216195 Log: For 6000 series and newer devices the DC calibration results are no longer requested of the boot firmware. Instead of sending those results to the runtime firmware the

svn commit: r216196 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 09:33:04 2010 New Revision: 216196 URL: http://svn.freebsd.org/changeset/base/216196 Log: Bring in the change from NetBSD 1.18: "If using stat (the -L flag) and it fails, fall back to lstat(). It may be the case that we're examining a broken symlink, and an

svn commit: r216197 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 09:35:07 2010 New Revision: 216197 URL: http://svn.freebsd.org/changeset/base/216197 Log: Add my own documentation for the change in our r216196, aka NetBSD's 1.18 For -L if stat(2) fails, fall back to lstat(2). .Dd purposely not bumped because more changes

svn commit: r216198 - head/sys/teken

2010-12-05 Thread Ed Schouten
Author: ed Date: Sun Dec 5 10:15:23 2010 New Revision: 216198 URL: http://svn.freebsd.org/changeset/base/216198 Log: Use proper bounds checking on VPA. We must check against tp->t_cursor.tp_row, not row, to figure out whether we must clamp the cursor position. Submitted by: luigi

Re: svn commit: r216191 - head/sys/i386/i386

2010-12-05 Thread Bruce Evans
On Sat, 4 Dec 2010, Colin Percival wrote: Log: Remove gratuitous i386/amd64 inconsistency in favour of the less verbose version of declaring a variable initialized to zero. This is resolved backwardsly. style(9) forbids initializing variables in declarations (except for the bug in it which

svn commit: r216199 - head/bin/sh

2010-12-05 Thread Jilles Tjoelker
Author: jilles Date: Sun Dec 5 16:09:03 2010 New Revision: 216199 URL: http://svn.freebsd.org/changeset/base/216199 Log: sh: jobs -p: Do not ask the kernel for the pgid. The getpgid() call will fail if the first process in the job has already terminated, resulting in output of "-1".

svn commit: r216202 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 20:47:53 2010 New Revision: 216202 URL: http://svn.freebsd.org/changeset/base/216202 Log: Bring in the change from NetBSD 1.22: "Fix a trivial truncation case, and eliminate a corner case that might print a nul character." I am purposely bypassing the f

svn commit: r216203 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 21:11:45 2010 New Revision: 216203 URL: http://svn.freebsd.org/changeset/base/216203 Log: Bring in a new feature, adding a -f option to readlink to print the path of the target, similar to realpath(1). See the discussion at: http://gnats.netbsd.org/cgi-bin/quer

svn commit: r216204 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 21:17:02 2010 New Revision: 216204 URL: http://svn.freebsd.org/changeset/base/216204 Log: Bring in the update from NetBSD 1.19, the documentation of readlink -f "PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn't grok -f, and there's no

svn commit: r216205 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 21:29:20 2010 New Revision: 216205 URL: http://svn.freebsd.org/changeset/base/216205 Log: Bring in the update from NetBSD 1.28: "Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)" Because of code differences I had to hand-apply parts of the patch, so resp

svn commit: r216206 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 21:33:05 2010 New Revision: 216206 URL: http://svn.freebsd.org/changeset/base/216206 Log: Fix an "unused variable" error that gets us all the way to WARNS=6 Modified: head/usr.bin/stat/Makefile head/usr.bin/stat/stat.c Modified: head/usr.bin/stat/Makefile ===

svn commit: r216207 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 21:53:12 2010 New Revision: 216207 URL: http://svn.freebsd.org/changeset/base/216207 Log: Bring in the following changes from NetBSD. See the discussion at: http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=44128 1.29 "Don't printf time_t with %d;

svn commit: r216208 - head/bin/sh

2010-12-05 Thread Jilles Tjoelker
Author: jilles Date: Sun Dec 5 21:53:29 2010 New Revision: 216208 URL: http://svn.freebsd.org/changeset/base/216208 Log: sh: Avoid marking a job as done before it is fully created. In r208489, I added code to reap zombies when forking new processes, to limit the amount of zombies. Howeve

svn commit: r216210 - head/lib/msun/src

2010-12-05 Thread David Schultz
Author: das Date: Sun Dec 5 22:11:03 2010 New Revision: 216210 URL: http://svn.freebsd.org/changeset/base/216210 Log: Add a "kernel" log function, based on e_log.c, which is useful for implementing accurate logarithms in different bases. This is based on an approach bde coded up years ago.

svn commit: r216211 - in head/lib/msun: . man src

2010-12-05 Thread David Schultz
Author: das Date: Sun Dec 5 22:11:22 2010 New Revision: 216211 URL: http://svn.freebsd.org/changeset/base/216211 Log: Add log2() and log2f(). Added: head/lib/msun/src/e_log2.c - copied, changed from r216174, head/lib/msun/src/e_log10.c head/lib/msun/src/e_log2f.c - copied, change

svn commit: r216209 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 22:01:01 2010 New Revision: 216209 URL: http://svn.freebsd.org/changeset/base/216209 Log: Bring in the change from NetBSD 1.12: "document default format." Obtained from:y...@netbsd.org Modified: head/usr.bin/stat/stat.1 Modified: head/usr.bin/

svn commit: r216212 - head/sys/sys

2010-12-05 Thread David Schultz
Author: das Date: Sun Dec 5 22:12:07 2010 New Revision: 216212 URL: http://svn.freebsd.org/changeset/base/216212 Log: Bump __FreeBSD_version for the addition of log2(). This is mainly for the benefit of ports such as opencity and inkscape that have workarounds for the lack of a log2() in t

svn commit: r216213 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 22:16:51 2010 New Revision: 216213 URL: http://svn.freebsd.org/changeset/base/216213 Log: Bring in the changes from NetBSD 1.13 that we did not already have, with some differences. "Sort options. Use more mdoc macros. Some nit fixes. Bump date." Obtaine

svn commit: r216214 - head/tools/regression/lib/msun

2010-12-05 Thread David Schultz
Author: das Date: Sun Dec 5 22:18:35 2010 New Revision: 216214 URL: http://svn.freebsd.org/changeset/base/216214 Log: Add regression tests for logarithmic functions in the math library. Added: head/tools/regression/lib/msun/test-logarithm.c - copied, changed from r215587, head/tools/re

Re: svn commit: r216212 - head/sys/sys

2010-12-05 Thread Ben Kaduk
On Sun, Dec 5, 2010 at 5:12 PM, David Schultz wrote: > Author: das > Date: Sun Dec  5 22:12:07 2010 > New Revision: 216212 > URL: http://svn.freebsd.org/changeset/base/216212 > > Log: >  Bump __FreeBSD_version for the addition of log2().  This is mainly for the >  benefit of ports such as opencity

svn commit: r216215 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 22:20:08 2010 New Revision: 216215 URL: http://svn.freebsd.org/changeset/base/216215 Log: Bring in the changes from NetBSD 1.16 that we did not already have. "Some fixes from j...@openbsd." Obtained from:w...@netbsd.org Modified: head/usr.bin/s

svn commit: r216216 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 22:24:34 2010 New Revision: 216216 URL: http://svn.freebsd.org/changeset/base/216216 Log: Bring in the change from NetBSD 1.20: "Make sentence easier to parse. From js...@openbsd via j...@openbsd." Obtained from:w...@netbsd.org Modified: head/u

svn commit: r216217 - head/bin/sh

2010-12-05 Thread Jilles Tjoelker
Author: jilles Date: Sun Dec 5 22:37:01 2010 New Revision: 216217 URL: http://svn.freebsd.org/changeset/base/216217 Log: sh: Improve jobs output of pipelines. If describing the status of a pipeline, write all elements of the pipeline and show the status of the last process (which would a

svn commit: r216218 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 22:41:58 2010 New Revision: 216218 URL: http://svn.freebsd.org/changeset/base/216218 Log: Bring in the following changes from NetBSD: 1.21 "Document the flags displayed by the default format, and mention their short names. From es...@openbsd via j...@openb

svn commit: r216219 - head/usr.bin/stat

2010-12-05 Thread Doug Barton
Author: dougb Date: Sun Dec 5 22:47:08 2010 New Revision: 216219 URL: http://svn.freebsd.org/changeset/base/216219 Log: Bring in the change from NetBSD 1.28: "\\ -> \e" Obtained from:jo...@netbsd.org Bump .Dd because we're now up to date with the latest NetBSD version Mo

svn commit: r216220 - head/bin/sh

2010-12-05 Thread Jilles Tjoelker
Author: jilles Date: Sun Dec 5 22:56:46 2010 New Revision: 216220 URL: http://svn.freebsd.org/changeset/base/216220 Log: sh: POSIX says there should not be a space between Done and (exitstatus). (On the other hand, (core dumped) does need a space and so does [1] +.) Modified: head/bin/s

svn commit: r216221 - head/tools/regression/lib/msun

2010-12-05 Thread David Schultz
Author: das Date: Sun Dec 5 23:50:49 2010 New Revision: 216221 URL: http://svn.freebsd.org/changeset/base/216221 Log: Fix some warnings. Modified: head/tools/regression/lib/msun/test-fmaxmin.c Modified: head/tools/regression/lib/msun/test-fmaxmin.c ==

svn commit: r216222 - head/tools/regression/lib/msun

2010-12-05 Thread David Schultz
Author: das Date: Mon Dec 6 00:02:49 2010 New Revision: 216222 URL: http://svn.freebsd.org/changeset/base/216222 Log: signbit() returns nonzero for negative arguments, but we shouldn't assume that it always returns the same nonzero value. Modified: head/tools/regression/lib/msun/test-expon

svn commit: r216223 - head/tools/regression/lib/msun

2010-12-05 Thread David Schultz
Author: das Date: Mon Dec 6 00:19:56 2010 New Revision: 216223 URL: http://svn.freebsd.org/changeset/base/216223 Log: Work around gcc constant folding bugs. Modified: head/tools/regression/lib/msun/test-lrint.c Modified: head/tools/regression/lib/msun/test-lrint.c ==

Re: svn commit: r216210 - head/lib/msun/src

2010-12-05 Thread Bruce Evans
On Sun, 5 Dec 2010, David Schultz wrote: Log: Add a "kernel" log function, based on e_log.c, which is useful for implementing accurate logarithms in different bases. This is based on an approach bde coded up years ago. Thanks for doing lots of work to make this production quality. Bruce _