OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_8_BASE


Revision 1.54 / (download) - annotate - [select for diffs], Sat Dec 13 10:31:07 2014 UTC (9 years, 5 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.53: +8 -8 lines
Diff to previous 1.53 (colored)

The function savestr allows NULL return values during Plan A patching so in
case of out of memory conditions, Plan B can step in.  In many cases, NULL
value is not properly handled, so use xstrdup here (it's outside Plan A/B
patching, which means that even Plan B relies on successful operations).

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.