diff options
author | dd <dd@FreeBSD.org> | 2005-06-15 10:13:04 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2005-06-15 10:13:04 +0000 |
commit | f531cb9c12903b71c9be2328df21ae307192a0a6 (patch) | |
tree | 853f0d282f9e7f08f32f4b2b98319676deefb039 /lib/libc/stdlib/system.c | |
parent | d5a287bf04a18d7f33d2f2dd80777ad484277fe3 (diff) | |
download | FreeBSD-src-f531cb9c12903b71c9be2328df21ae307192a0a6.zip FreeBSD-src-f531cb9c12903b71c9be2328df21ae307192a0a6.tar.gz |
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)
Diffstat (limited to 'lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions