From: | Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Thu, 5 Jun 2008 11:06:34 -0700 (PDT) |
swildner 2008/06/05 11:06:34 PDT DragonFly src repository Modified files: bin/mined mined1.c bin/pax options.c games/larn io.c main.c games/mille comp.c games/number number.c gnu/usr.bin/gdb/kgdb trgt_i386.c gnu/usr.bin/gdb/libgdb freebsd-uthread.c lib/libc/gen dlfcn.c lib/libc/regex cclass.h lib/libkvm kvm_proc.c lib/libncp ncpl_nls.c sbin/jscan jscan.c sbin/kget kget.c sbin/restore restore.c sbin/vinum commands.c sys/boot/pc32/loader main.c sys/bus/pci pci.c sys/dev/acpica5 acpi.c sys/dev/acpica5/Osd OsdSchedule.c sys/dev/atm/hfa fore_buffer.c sys/dev/disk/mpt mpt_pci.c sys/dev/disk/nsp nsp.c sys/dev/netif/bfe if_bfe.c sys/dev/netif/wi if_wi_pci.c sys/dev/raid/asr asr.c sys/dev/raid/twe twe.c sys/dev/raid/vinum vinumdaemon.c vinumio.c sys/dev/serial/cy cy.c sys/dev/serial/sio sio.c sys/dev/serial/stl stallion.c sys/dev/serial/stli istallion.c sys/kern kern_cputimer.c subr_disk.c sys_pipe.c uipc_domain.c uipc_mbuf.c sys/net if_atmsubr.c sys/net/pf pf.c sys/net/tun if_tun.c sys/netinet sctp_indata.c tcp_usrreq.c sys/netinet6 ip6_mroute.c ip6_output.c sys/platform/pc32/i386 busdma_machdep.c est.c pmap.c test/stress/fsstress fsstress.c usr.bin/doscmd xms.c usr.bin/finger finger.c usr.bin/gcore elfcore.c usr.bin/head head.c usr.bin/login login_access.c usr.bin/mkstr mkstr.c usr.bin/newkey generic.c usr.bin/systat ifstat.c usr.bin/whereis whereis.c usr.bin/who who.c usr.sbin/burncd burncd.c usr.sbin/keyserv setkey.c usr.sbin/rtadvd rrenum.c usr.sbin/setkey token.l usr.sbin/vidcontrol vidcontrol.c Log: * Fix some cases where NULL was used but 0 was meant (and vice versa). * Remove some bogus casts of NULL to (void *). Revision Changes Path 1.9 +4 -4 src/bin/mined/mined1.c 1.9 +1 -1 src/bin/pax/options.c 1.7 +5 -5 src/games/larn/io.c 1.5 +1 -1 src/games/larn/main.c 1.4 +1 -1 src/games/mille/comp.c 1.5 +1 -1 src/games/number/number.c 1.6 +3 -3 src/gnu/usr.bin/gdb/kgdb/trgt_i386.c 1.4 +1 -1 src/gnu/usr.bin/gdb/libgdb/freebsd-uthread.c 1.5 +1 -1 src/lib/libc/gen/dlfcn.c 1.3 +1 -1 src/lib/libc/regex/cclass.h 1.18 +1 -1 src/lib/libkvm/kvm_proc.c 1.3 +2 -2 src/lib/libncp/ncpl_nls.c 1.13 +1 -1 src/sbin/jscan/jscan.c 1.6 +2 -2 src/sbin/kget/kget.c 1.9 +1 -1 src/sbin/restore/restore.c 1.10 +1 -1 src/sbin/vinum/commands.c 1.9 +2 -2 src/sys/boot/pc32/loader/main.c 1.52 +1 -1 src/sys/bus/pci/pci.c 1.34 +1 -1 src/sys/dev/acpica5/acpi.c 1.10 +1 -1 src/sys/dev/acpica5/Osd/OsdSchedule.c 1.6 +2 -2 src/sys/dev/atm/hfa/fore_buffer.c 1.12 +1 -1 src/sys/dev/disk/mpt/mpt_pci.c 1.13 +2 -2 src/sys/dev/disk/nsp/nsp.c 1.34 +1 -1 src/sys/dev/netif/bfe/if_bfe.c 1.10 +1 -1 src/sys/dev/netif/wi/if_wi_pci.c 1.36 +4 -4 src/sys/dev/raid/asr/asr.c 1.20 +1 -1 src/sys/dev/raid/twe/twe.c 1.12 +1 -1 src/sys/dev/raid/vinum/vinumdaemon.c 1.31 +1 -1 src/sys/dev/raid/vinum/vinumio.c 1.28 +1 -1 src/sys/dev/serial/cy/cy.c 1.43 +1 -1 src/sys/dev/serial/sio/sio.c 1.26 +1 -1 src/sys/dev/serial/stl/stallion.c 1.22 +2 -2 src/sys/dev/serial/stli/istallion.c 1.5 +4 -4 src/sys/kern/kern_cputimer.c 1.40 +1 -1 src/sys/kern/subr_disk.c 1.49 +4 -4 src/sys/kern/sys_pipe.c 1.11 +1 -1 src/sys/kern/uipc_domain.c 1.66 +1 -1 src/sys/kern/uipc_mbuf.c 1.20 +1 -1 src/sys/net/if_atmsubr.c 1.20 +1 -2 src/sys/net/pf/pf.c 1.37 +1 -1 src/sys/net/tun/if_tun.c 1.8 +2 -2 src/sys/netinet/sctp_indata.c 1.48 +2 -2 src/sys/netinet/tcp_usrreq.c 1.17 +1 -1 src/sys/netinet6/ip6_mroute.c 1.34 +5 -5 src/sys/netinet6/ip6_output.c 1.23 +1 -1 src/sys/platform/pc32/i386/busdma_machdep.c 1.11 +2 -2 src/sys/platform/pc32/i386/est.c 1.86 +1 -1 src/sys/platform/pc32/i386/pmap.c 1.2 +1 -1 src/test/stress/fsstress/fsstress.c 1.4 +1 -1 src/usr.bin/doscmd/xms.c 1.6 +1 -1 src/usr.bin/finger/finger.c 1.5 +1 -1 src/usr.bin/gcore/elfcore.c 1.6 +2 -2 src/usr.bin/head/head.c 1.4 +1 -1 src/usr.bin/login/login_access.c 1.3 +2 -2 src/usr.bin/mkstr/mkstr.c 1.8 +1 -1 src/usr.bin/newkey/generic.c 1.4 +2 -2 src/usr.bin/systat/ifstat.c 1.6 +2 -3 src/usr.bin/whereis/whereis.c 1.7 +2 -4 src/usr.bin/who/who.c 1.4 +1 -1 src/usr.sbin/burncd/burncd.c 1.10 +5 -5 src/usr.sbin/keyserv/setkey.c 1.5 +1 -1 src/usr.sbin/rtadvd/rrenum.c 1.4 +4 -4 src/usr.sbin/setkey/token.l 1.13 +2 -2 src/usr.sbin/vidcontrol/vidcontrol.c http://www.dragonflybsd.org/cvsweb/src/bin/mined/mined1.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/bin/pax/options.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/games/larn/io.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/games/larn/main.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/games/mille/comp.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/games/number/number.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/gdb/kgdb/trgt_i386.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/gdb/libgdb/freebsd-uthread.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/dlfcn.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libc/regex/cclass.h.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libkvm/kvm_proc.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/lib/libncp/ncpl_nls.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/sbin/jscan/jscan.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sbin/kget/kget.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sbin/restore/restore.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sbin/vinum/commands.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/boot/pc32/loader/main.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/pci/pci.c.diff?r1=1.51&r2=1.52&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/acpica5/acpi.c.diff?r1=1.33&r2=1.34&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/acpica5/Osd/OsdSchedule.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/atm/hfa/fore_buffer.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/mpt/mpt_pci.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nsp/nsp.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bfe/if_bfe.c.diff?r1=1.33&r2=1.34&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/wi/if_wi_pci.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/asr/asr.c.diff?r1=1.35&r2=1.36&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/twe/twe.c.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/vinum/vinumdaemon.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/vinum/vinumio.c.diff?r1=1.30&r2=1.31&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/cy/cy.c.diff?r1=1.27&r2=1.28&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/sio/sio.c.diff?r1=1.42&r2=1.43&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/stl/stallion.c.diff?r1=1.25&r2=1.26&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/stli/istallion.c.diff?r1=1.21&r2=1.22&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_cputimer.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_disk.c.diff?r1=1.39&r2=1.40&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_pipe.c.diff?r1=1.48&r2=1.49&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_domain.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_mbuf.c.diff?r1=1.65&r2=1.66&f=u http://www.dragonflybsd.org/cvsweb/src/sys/net/if_atmsubr.c.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/net/pf/pf.c.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/net/tun/if_tun.c.diff?r1=1.36&r2=1.37&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netinet/sctp_indata.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netinet/tcp_usrreq.c.diff?r1=1.47&r2=1.48&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_mroute.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_output.c.diff?r1=1.33&r2=1.34&f=u http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/busdma_machdep.c.diff?r1=1.22&r2=1.23&f=u http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/est.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/pmap.c.diff?r1=1.85&r2=1.86&f=u http://www.dragonflybsd.org/cvsweb/src/test/stress/fsstress/fsstress.c.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/doscmd/xms.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/finger/finger.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/gcore/elfcore.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/head/head.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/login/login_access.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/mkstr/mkstr.c.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/newkey/generic.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/systat/ifstat.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/whereis/whereis.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/usr.bin/who/who.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/burncd/burncd.c.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/keyserv/setkey.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/rtadvd/rrenum.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/setkey/token.l.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/usr.sbin/vidcontrol/vidcontrol.c.diff?r1=1.12&r2=1.13&f=u