Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/usr.sbin/sysinst



Module Name:    src
Committed By:   riz
Date:           Sat Aug 23 03:44:02 UTC 2014

Modified Files:
        src/usr.sbin/sysinst [netbsd-7]: disks.c main.c mbr.c net.c partman.c
            util.c

Log Message:
Pull up following revision(s) (requested by martin in ticket #39):
        usr.sbin/sysinst/main.c: revision 1.4
        usr.sbin/sysinst/disks.c: revision 1.5
        usr.sbin/sysinst/main.c: revision 1.5
        usr.sbin/sysinst/mbr.c: revision 1.3
        usr.sbin/sysinst/net.c: revision 1.3
        usr.sbin/sysinst/net.c: revision 1.4
        usr.sbin/sysinst/partman.c: revision 1.5
        usr.sbin/sysinst/partman.c: revision 1.6
        usr.sbin/sysinst/util.c: revision 1.4
Remove duplicate fclose(), pointed out by coverity scan.
Remove (accidently) duplicated code - pointed out by coverity scan.
Make sure the interface name is 0 terminated, pointed out by coverity scan.
Check return value from getenv() before using the value. Pointed out by
coverity scan.
Make an invariant more clear to avoid fals positives from coverity scan
if chdir() fails, try chdir /
Check return values from stat before comparing contents of the result
structures. Pointed out by coverity scan.
Cosmetic changes trying to appease coverity scan.
Make sure to not dereference a NULL pointer.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.4.1 src/usr.sbin/sysinst/disks.c \
    src/usr.sbin/sysinst/partman.c
cvs rdiff -u -r1.3 -r1.3.4.1 src/usr.sbin/sysinst/main.c
cvs rdiff -u -r1.2 -r1.2.4.1 src/usr.sbin/sysinst/mbr.c \
    src/usr.sbin/sysinst/net.c
cvs rdiff -u -r1.3 -r1.3.2.1 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index