Source-Changes archive

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

CVS commit: src/usr.bin/last



Module Name:    src
Committed By:   cbiere
Date:           Sat Jan  6 14:00:36 UTC 2007

Modified Files:
        src/usr.bin/last: want.c

Log Message:
 - Applied patch by David Holland from PR bin/35354.
 - Use EXIT_SUCCESS/EXIT_FAILURE instead of 0/1.
 - Additional check for regular file.
 - Use pread() instead of lseek() + read().
 - Check for partial read to prevent out-of-bounds memory access.
 - Added FIXME to onintr(): This is no proper signal handler albeit might
   not really matter here.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/usr.bin/last/want.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