Date: Wed, 15 Jun 2005 10:13:05 +0000 (UTC) From: Dima Dorfman <dd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pwd_mkdb pwd_mkdb.c Message-ID: <200506151013.j5FAD5xd084843@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506151013.j5FAD5xd084843>
