svn commit: r216448 - head/sys/xen/xenstore

2010-12-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Dec 14 20:57:40 2010 New Revision: 216448 URL: http://svn.freebsd.org/changeset/base/216448 Log: Fix a typo in a comment. Noticed by: Attila Nagy Modified: head/sys/xen/xenstore/xenstore.c Modified: head/sys/xen/xenstore/xenstore.c

svn commit: r216447 - head/usr.bin/printf

2010-12-14 Thread Xin LI
Author: delphij Date: Tue Dec 14 20:35:08 2010 New Revision: 216447 URL: http://svn.freebsd.org/changeset/base/216447 Log: Revert r216423 per request from Jilles. The new behavior prevents us from being able to bail out explicitly on unknown options that we have not implemented. BASH for

Re: svn commit: r216443 - in head/sys: amd64/amd64 dev/acpica i386/i386

2010-12-14 Thread Jung-uk Kim
On Tuesday 14 December 2010 03:07 pm, Jung-uk Kim wrote: > Author: jkim > Date: Tue Dec 14 20:07:51 2010 > New Revision: 216443 > URL: http://svn.freebsd.org/changeset/base/216443 > > Log: > Stop lying about supporting cpu_est_clockrate() when TSC is > invariant. This function always returned th

svn commit: r216443 - in head/sys: amd64/amd64 dev/acpica i386/i386

2010-12-14 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 14 20:07:51 2010 New Revision: 216443 URL: http://svn.freebsd.org/changeset/base/216443 Log: Stop lying about supporting cpu_est_clockrate() when TSC is invariant. This function always returned the nominal frequency instead of current frequency because we use RDTS

svn commit: r216439 - head/usr.bin/printf

2010-12-14 Thread Xin LI
Author: delphij Date: Tue Dec 14 18:23:15 2010 New Revision: 216439 URL: http://svn.freebsd.org/changeset/base/216439 Log: When printf is being used as a sh(1) builtin, it can not call exit(3) as pointed out by jilles@ so revert to using return(), also change the return value back to 1 as re

Re: svn commit: r216422 - head/usr.bin/printf

2010-12-14 Thread Jilles Tjoelker
On Tue, Dec 14, 2010 at 12:21:35AM +, Xin LI wrote: > Author: delphij > Date: Tue Dec 14 00:21:34 2010 > New Revision: 216422 > URL: http://svn.freebsd.org/changeset/base/216422 > Log: > Make use of EX_USAGE for usage(). > Modified: > head/usr.bin/printf/printf.c > Modified: head/usr.bin

svn commit: r216438 - head/sys/dev/ale

2010-12-14 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 14 17:39:10 2010 New Revision: 216438 URL: http://svn.freebsd.org/changeset/base/216438 Log: Remove unecessary and clearly wrong usage of atomic(9). Reported by: avg Modified: head/sys/dev/ale/if_ale.c Modified: head/sys/dev/ale/if_ale.c ==

svn commit: r216437 - head/sys/xen/xenstore

2010-12-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Dec 14 17:23:49 2010 New Revision: 216437 URL: http://svn.freebsd.org/changeset/base/216437 Log: Remove spurious printf left over from debugging our XenStore support. Modified: head/sys/xen/xenstore/xenstore.c Modified: head/sys/xen/xenstore/xenstore.c ===

Re: svn commit: r216422 - head/usr.bin/printf

2010-12-14 Thread Pawel Jakub Dawidek
On Tue, Dec 14, 2010 at 07:26:13PM +1100, Bruce Evans wrote: > (*) Reading between the lines, I wilfully misinterpret this example of > being a bad example of everthing it does: > > % Exits should be 0 on success, or according to the predefined values > in > % sysexits(3). > % > %

svn commit: r216432 - head/lib/libproc

2010-12-14 Thread Kevin Lo
Author: kevlo Date: Tue Dec 14 15:14:08 2010 New Revision: 216432 URL: http://svn.freebsd.org/changeset/base/216432 Log: Fix a memory leak on the error condition Reviewed by: rpaulo Modified: head/lib/libproc/proc_create.c Modified: head/lib/libproc/proc_create.c ==

svn commit: r216431 - head/lib/libusb

2010-12-14 Thread Kevin Lo
Author: kevlo Date: Tue Dec 14 15:11:49 2010 New Revision: 216431 URL: http://svn.freebsd.org/changeset/base/216431 Log: Check the return value of malloc(). Reviewed by: hselasky MFC after:3 days Modified: head/lib/libusb/libusb20_compat01.c Modified: head/lib/libusb/libusb20_com

Re: svn commit: r216422 - head/usr.bin/printf

2010-12-14 Thread Bruce Evans
On Tue, 14 Dec 2010, Xin LI wrote: Log: Make use of EX_USAGE for usage(). Most uses of sysexits are styyle bugs. This one is no exception, since printf is not sendmail. Modified: head/usr.bin/printf/printf.c == ---

svn commit: r216428 - head/share/man/man4

2010-12-14 Thread Robert Watson
Author: rwatson Date: Tue Dec 14 09:32:37 2010 New Revision: 216428 URL: http://svn.freebsd.org/changeset/base/216428 Log: Further refinements to the xen.4 man page: fix typos, add material on para-virtualized drivers, clarify how to configure XENHVM on amd64. MFC after:3 days Modifi

Re: svn commit: r216422 - head/usr.bin/printf

2010-12-14 Thread Bruce Cran
On Tue, 14 Dec 2010 00:21:35 + (UTC) Xin LI wrote: > Author: delphij > Date: Tue Dec 14 00:21:34 2010 > New Revision: 216422 > URL: http://svn.freebsd.org/changeset/base/216422 > > Log: > Make use of EX_USAGE for usage(). I think returning 1 is actually preferred - sysexits was removed fr

svn commit: r216429 - head/share/man/man4

2010-12-14 Thread Robert Watson
Author: rwatson Date: Tue Dec 14 10:06:28 2010 New Revision: 216429 URL: http://svn.freebsd.org/changeset/base/216429 Log: Slightly different formatting for options list. MFC after:3 days Modified: head/share/man/man4/xen.4 Modified: head/share/man/man4/xen.4 ===