Up to [local] / src / usr.bin / patch
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_7_BASE
Revision 1.16 / (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_7_BASE
Branch point for: OPENBSD_5_7
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (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).