svn commit: r216582 - head/libexec/getty

2010-12-20 Thread Philippe Charnier
Author: charnier Date: Mon Dec 20 08:29:54 2010 New Revision: 216582 URL: http://svn.freebsd.org/changeset/base/216582 Log: Add __unused. Ansi prototypes. Modified: head/libexec/getty/chat.c head/libexec/getty/main.c Modified: head/libexec/getty/chat.c

Re: svn commit: r212770 - head/usr.bin/script

2010-12-20 Thread Anonymous
Anonymous swel...@gmail.com writes: David E. O'Brien obr...@freebsd.org writes: Author: obrien Date: Thu Sep 16 22:31:03 2010 New Revision: 212770 URL: http://svn.freebsd.org/changeset/base/212770 Log: + Add the 'command' argument (if supplied on the command line) to the typescript

svn commit: r216583 - head/libexec/rbootd

2010-12-20 Thread Philippe Charnier
Author: charnier Date: Mon Dec 20 08:37:26 2010 New Revision: 216583 URL: http://svn.freebsd.org/changeset/base/216583 Log: Add __unused Modified: head/libexec/rbootd/rbootd.c Modified: head/libexec/rbootd/rbootd.c

svn commit: r216584 - head/libexec/rlogind

2010-12-20 Thread Philippe Charnier
Author: charnier Date: Mon Dec 20 08:44:08 2010 New Revision: 216584 URL: http://svn.freebsd.org/changeset/base/216584 Log: Add __unused Modified: head/libexec/rlogind/rlogind.c Modified: head/libexec/rlogind/rlogind.c

svn commit: r216585 - head/usr.bin/rsh

2010-12-20 Thread Philippe Charnier
Author: charnier Date: Mon Dec 20 08:47:43 2010 New Revision: 216585 URL: http://svn.freebsd.org/changeset/base/216585 Log: Add __unused Modified: head/usr.bin/rsh/rsh.c Modified: head/usr.bin/rsh/rsh.c == ---

svn commit: r216586 - head/usr.sbin/mld6query

2010-12-20 Thread Philippe Charnier
Author: charnier Date: Mon Dec 20 08:54:30 2010 New Revision: 216586 URL: http://svn.freebsd.org/changeset/base/216586 Log: Add __unused. Ansi prototypes. Modified: head/usr.sbin/mld6query/mld6.c Modified: head/usr.sbin/mld6query/mld6.c

svn commit: r216587 - head/usr.sbin/mountd

2010-12-20 Thread Philippe Charnier
Author: charnier Date: Mon Dec 20 09:28:28 2010 New Revision: 216587 URL: http://svn.freebsd.org/changeset/base/216587 Log: Add __unused. Ansi prototypes. Modified: head/usr.sbin/mountd/mountd.c Modified: head/usr.sbin/mountd/mountd.c

svn commit: r216588 - head/usr.sbin/ngctl

2010-12-20 Thread Philippe Charnier
Author: charnier Date: Mon Dec 20 09:36:54 2010 New Revision: 216588 URL: http://svn.freebsd.org/changeset/base/216588 Log: Add __unused. Ansi prototypes. Modified: head/usr.sbin/ngctl/main.c head/usr.sbin/ngctl/msg.c Modified: head/usr.sbin/ngctl/main.c

svn commit: r216589 - head/sys/powerpc/include

2010-12-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Dec 20 14:25:01 2010 New Revision: 216589 URL: http://svn.freebsd.org/changeset/base/216589 Log: Memory can be laid out with large gaps on 64-bit PowerPC, so switch to VM_PHYSSEG_SPARSE. Modified: head/sys/powerpc/include/vmparam.h Modified:

svn commit: r216590 - head/sys/dev/pci

2010-12-20 Thread John Baldwin
Author: jhb Date: Mon Dec 20 14:54:24 2010 New Revision: 216590 URL: http://svn.freebsd.org/changeset/base/216590 Log: Don't whine about child drivers calling pci_enable_busmaster(). That is perfectly normal. MFC after:1 week Modified: head/sys/dev/pci/vga_pci.c Modified:

svn commit: r216591 - head

2010-12-20 Thread Alexander Leidinger
Author: netchild Date: Mon Dec 20 15:17:34 2010 New Revision: 216591 URL: http://svn.freebsd.org/changeset/base/216591 Log: Suggest to run the delete-old target after the second mergemaster. If you run it before, your rc scripts may still reference old files/directories and if you are in

Re: svn commit: r212770 - head/usr.bin/script

2010-12-20 Thread Anonymous
David E. O'Brien obr...@freebsd.org writes: Author: obrien Date: Thu Sep 16 22:31:03 2010 New Revision: 212770 URL: http://svn.freebsd.org/changeset/base/212770 Log: + Add the 'command' argument (if supplied on the command line) to the typescript file. This creates a more complete

Re: svn commit: r212770 - head/usr.bin/script

2010-12-20 Thread Bruce Cran
On Mon, 20 Dec 2010 18:30:36 +0300 Anonymous swel...@gmail.com wrote: David E. O'Brien obr...@freebsd.org writes: + if (av[0]) + for (k = 0 ; av[k] ; ++k) + fprintf(fscript, %s%s, k ? : , av[k]); + fprintf(fscript, \r\n); + An indent bug?

svn commit: r216592 - in head/sys: amd64/include compat/ndis dev/atkbdc dev/lmc dev/sis dev/sound/pci dev/uart i386/include pc98/include x86/include x86/x86

2010-12-20 Thread Tijl Coosemans
Author: tijl Date: Mon Dec 20 16:39:43 2010 New Revision: 216592 URL: http://svn.freebsd.org/changeset/base/216592 Log: Merge amd64 and i386 bus.h and move the resulting header to x86. Replace the original amd64 and i386 headers with stubs. Rename (AMD64|I386)_BUS_SPACE_* to

svn commit: r216594 - in head: contrib/bsnmp/lib contrib/bsnmp/snmp_target contrib/bsnmp/snmp_usm contrib/bsnmp/snmp_vacm contrib/bsnmp/snmpd lib/libbsnmp/libbsnmp usr.sbin/bsnmpd/bsnmpd usr.sbin/b...

2010-12-20 Thread Shteryana Shopova
Author: syrinx Date: Mon Dec 20 17:13:14 2010 New Revision: 216594 URL: http://svn.freebsd.org/changeset/base/216594 Log: Bring in a SNMP module that allows configuration of SNMPv3 Notification targets. Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip

svn commit: r216595 - head/etc

2010-12-20 Thread Shteryana Shopova
Author: syrinx Date: Mon Dec 20 17:28:15 2010 New Revision: 216595 URL: http://svn.freebsd.org/changeset/base/216595 Log: Add (disabled) sample configuration lines needed to enable snmp_target(3) module and configure minimal target addresses notifications needed for bsnmpd(1) to send

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

2010-12-20 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 20 17:39:39 2010 New Revision: 216596 URL: http://svn.freebsd.org/changeset/base/216596 Log: Document limitation of station address reprogramming. Modified: head/share/man/man4/jme.4 Modified: head/share/man/man4/jme.4

svn commit: r216597 - head/usr.sbin/lmcconfig

2010-12-20 Thread Ulrich Spoerlein
Author: uqs Date: Mon Dec 20 19:07:48 2010 New Revision: 216597 URL: http://svn.freebsd.org/changeset/base/216597 Log: Remove useless conditional. `vga' cannot be less than 0x3f when reaching the check. Coverity Prevent: CID 5196 Modified: head/usr.sbin/lmcconfig/lmcconfig.c

svn commit: r216598 - head/games/factor

2010-12-20 Thread Ulrich Spoerlein
Author: uqs Date: Mon Dec 20 19:07:56 2010 New Revision: 216598 URL: http://svn.freebsd.org/changeset/base/216598 Log: factor(6): Check return values of BN_* functions. Coverity Prevent: CID 4862, 8771, 8772, 8773 Modified: head/games/factor/factor.c Modified:

svn commit: r216599 - head/usr.sbin/lmcconfig

2010-12-20 Thread Ulrich Spoerlein
Author: uqs Date: Mon Dec 20 19:08:07 2010 New Revision: 216599 URL: http://svn.freebsd.org/changeset/base/216599 Log: Fix type used to hold fgetc(3) output, this should help arm and powerpc which have char == unsigned char Modified: head/usr.sbin/lmcconfig/lmcconfig.c Modified:

svn commit: r216600 - head/usr.sbin/lmcconfig

2010-12-20 Thread Ulrich Spoerlein
Author: uqs Date: Mon Dec 20 19:08:15 2010 New Revision: 216600 URL: http://svn.freebsd.org/changeset/base/216600 Log: lmcconfig(8): bump to WARNS=3, fix typo in usage while here Slight style(9) improvments - function definitions - sort #include Modified:

Re: svn commit: r216594 - in head: contrib/bsnmp/lib contrib/bsnmp/snmp_target contrib/bsnmp/snmp_usm contrib/bsnmp/snmp_vacm contrib/bsnmp/snmpd lib/libbsnmp/libbsnmp usr.sbin/bsnmpd/bsnmpd usr.sbin/

2010-12-20 Thread Dimitry Andric
On 2010-12-20 18:13, Shteryana Shopova wrote: Author: syrinx Date: Mon Dec 20 17:13:14 2010 New Revision: 216594 URL: http://svn.freebsd.org/changeset/base/216594 Log: Bring in a SNMP module that allows configuration of SNMPv3 Notification targets. This doesn't build, it looks like

Re: svn commit: r216594 - in head: contrib/bsnmp/lib contrib/bsnmp/snmp_target contrib/bsnmp/snmp_usm contrib/bsnmp/snmp_vacm contrib/bsnmp/snmpd lib/libbsnmp/libbsnmp usr.sbin/bsnmpd/bsnmpd usr.sbin/

2010-12-20 Thread Dimitry Andric
On 2010-12-20 20:15, Dimitry Andric wrote: This doesn't build, it looks like gensnmptree needs an additional -I option: === bsnmpd (depend) gensnmptree -l /usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd/tree.def line 34: cannot open 'tc.def' In fact, it looks like it depends

Re: svn commit: r216600 - head/usr.sbin/lmcconfig

2010-12-20 Thread Bruce Cran
On Mon, 20 Dec 2010 19:08:15 + (UTC) Ulrich Spoerlein u...@freebsd.org wrote: -u_int32_t read_pci_config(u_int8_t addr) - { +static u_int32_t +read_pci_config(u_int8_t addr) It might make sense to switch to the C99 [u]intX_t types at the same time. -- Bruce Cran

svn commit: r216603 - in head: include usr.sbin/rpc.lockd

2010-12-20 Thread Ulrich Spoerlein
Author: uqs Date: Mon Dec 20 21:12:18 2010 New Revision: 216603 URL: http://svn.freebsd.org/changeset/base/216603 Log: rpc.lockd(8) WARNS cleanup - Provide function prototype for nlm_syscall - Don't assign a variable from the stack to a global var[1] - Remove unused vars Found by:

svn commit: r216604 - in head/sys: dev/cxgb/ulp/tom kern vm

2010-12-20 Thread Alan Cox
Author: alc Date: Mon Dec 20 22:49:31 2010 New Revision: 216604 URL: http://svn.freebsd.org/changeset/base/216604 Log: Introduce vm_fault_hold() and use it to (1) eliminate a long-standing race condition in proc_rwmem() and to (2) simplify the implementation of the cxgb driver's

svn commit: r216605 - in head: contrib/bsnmp/snmp_target contrib/bsnmp/snmp_usm contrib/bsnmp/snmp_vacm contrib/bsnmp/snmpd lib/libbsnmp/libbsnmp usr.sbin/bsnmpd/modules/snmp_bridge usr.sbin/bsnmpd...

2010-12-20 Thread Shteryana Shopova
Author: syrinx Date: Mon Dec 20 22:56:50 2010 New Revision: 216605 URL: http://svn.freebsd.org/changeset/base/216605 Log: Unbreak the build by temprorarily not using include directives in bsnmpd(1)' def files, until bsd.snmpmod.mk Makefiles are fixed to pass proper include path flags to

svn commit: r216606 - in head: bin/sh/bltin tools/regression/bin/sh/builtins usr.bin/printf

2010-12-20 Thread Jilles Tjoelker
Author: jilles Date: Mon Dec 20 23:06:57 2010 New Revision: 216606 URL: http://svn.freebsd.org/changeset/base/216606 Log: sh: Make warnings in the printf builtin non-fatal, like in the program. The #define for warnx now behaves much like the libc function (except that it uses sh command

svn commit: r216607 - head/sys/dev/cxgb/ulp/tom

2010-12-20 Thread Alan Cox
Author: alc Date: Mon Dec 20 23:41:31 2010 New Revision: 216607 URL: http://svn.freebsd.org/changeset/base/216607 Log: The local variable rv is still required by vm_fault_hold_user_pages(). Modified: head/sys/dev/cxgb/ulp/tom/cxgb_vm.c Modified: head/sys/dev/cxgb/ulp/tom/cxgb_vm.c

Re: svn commit: r216591 - head

2010-12-20 Thread Ben Kaduk
On Mon, Dec 20, 2010 at 10:17 AM, Alexander Leidinger netch...@freebsd.org wrote: == --- head/UPDATING       Mon Dec 20 14:54:24 2010        (r216590) +++ head/UPDATING       Mon Dec 20 15:17:34 2010        (r216591) @@