OpenBSD CVS

CVS log for src/usr.bin/units/units.c


[BACK] Up to [local] / src / usr.bin / units

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_4_1


Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 24 03:28:16 2007 UTC (17 years, 3 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.12: +15 -10 lines
Diff to previous 1.12 (colored)

- Don't access buffers with negative indexes.
- Save a ton of strlen calls.
- Return NULL pointer, not 0.

``boy there is a lot of strlen()'' millert@ and OK moritz@.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.