summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/util.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r276218:pfg2015-01-081-1/+2
| | | | | | | | | | | | | patch: Bring in xstrdup and use it when appropriate. 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). Clean up some whitespaces while here Obtained from: OpenBSD
* - Refresh code with latest OpenBSD revisions.delphij2013-01-291-4/+1
| | | | | | | | | - Remove $DragonFly$ tags as they are using git nowadays and VCS tags will not help merging. - Other changes to Copyright headers to make them consistent with other source code, we intend to fork from this point. Reviewed by: pfg
* - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromgabor2013-01-291-0/+54
| | | | | | | | DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project
* kill the undeadpeter1997-07-131-74/+0
|
* Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,bde1997-07-061-0/+74
| | | | | pascal and vmstat.sparc. All changed files on the vendor branch should already have been imported.
* recording cvs-1.6 file deathpeter1995-12-301-74/+0
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+74
OpenPOWER on IntegriCloud