Up to [local] / src / usr.bin / sort
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_5
Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 1 18:13:58 2007 UTC (16 years, 9 months ago) by kili
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)
Use an int, not a size_t, to store the return value of snprintf(). This gives the later tests against -1 a chance to actually do something. Initially from Igor Zinovik <zinovik@cs.karelia.ru>. ok ray@