Up to [local] / src / usr.bin / sort
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_2
Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 2 08:04:52 2007 UTC (17 years, 2 months ago) by moritz
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE,
OPENBSD_4_2
Changes since 1.9: +8 -4 lines
Diff to previous 1.9 (colored)
The scanf(3) family of functions can return EOF (-1) if an input failure occurs. So check it, before blindly adding it to some pointer. ok millert@