Source-Changes archive

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

CVS commit: src/usr.sbin/pwd_mkdb



Module Name:    src
Committed By:   enami
Date:           Tue Aug 25 09:27:25 UTC 2009

Modified Files:
        src/usr.sbin/pwd_mkdb: pwd_mkdb.c

Log Message:
- The value getdbent() returns when no record is found is not -1 but 1.
  Testing if it returns -1 is always false.
- Use the same expression for the size to write and for the size to
  advance a pointer.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/pwd_mkdb/pwd_mkdb.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