Up to [cvs.NetBSD.org] / src / lib / libc / gen
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-2-1-RC1
Revision 1.20.4.1 / (download) - annotate - [select for diffs], Fri May 13 18:26:09 2005 UTC (18 years, 10 months ago) by riz
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1
Changes since 1.20: +47 -45
lines
Diff to previous 1.20 (colored) next main 1.21 (colored)
Pull up revision 1.21 (requested by is in ticket #1396): PR/28183: Brian Marcotte: Getty eats the last character of the last field. As Brian reports the bug is in skip(). The logic on end of line is broken. - fix the bug which can cause buf[-1] to be written. - don't leave the line buffer allocated on end of file. - KNF - use __func__ instead of hard-coding the function name. - don't use needlessly global variables