OpenBSD CVS

CVS log for src/usr.bin/diff/xmalloc.h


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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_8


Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 29 04:00:25 2015 UTC (9 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Change internal xrealloc() to a idiom-following xreallocarray().
This loses a "new size is 0" failure case.  Probably not relevant;
and since we develop this in OpenBSD, we'll catch that before someone
else imports this...
ok millert

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.