cvs commit: src/usr.sbin/pwd_mkdb pwd_mkdb.c
Dima Dorfman
dd at FreeBSD.org
Wed Jun 15 10:13:05 GMT 2005
dd 2005-06-15 10:13:05 UTC
FreeBSD src repository
Modified files:
usr.sbin/pwd_mkdb pwd_mkdb.c
Log:
Correctly handle an input file without a newline on the last line (and
avoid the confusing error message about the line being too long). This
change uses fgetln to detect the right conditions, but the fixed-width
line buffer is kept because too many other places in the program make
assumptions about its maximum width.
Approved by: re (scottl)
Revision Changes Path
1.51 +9 -9 src/usr.sbin/pwd_mkdb/pwd_mkdb.c
More information about the cvs-src
mailing list