summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/rcsparse.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.fcambus2016-10-131-8/+8
| | | | OK millert@
* Remove xfree(), like already done for RCS. From Michael W Bombardieri,nicm2015-11-051-7/+6
| | | | ok mmcc
* An internal function called xrealloc() is actually a fail-hardderaadt2014-12-011-2/+2
| | | | reallocarray()... so rename it.
* not compiled before commitderaadt2014-11-221-2/+2
|
* Fixed uninitialized pointer (and other struct entries while at it)tobias2014-11-221-2/+2
| | | | | | | | which is referenced while parsing invalid RCS files. Spotted by jsg. ok deraadt
* Convert the logic in rcsparse_warnx(). Instead of creating abluhm2014-11-161-8/+9
| | | | | | | | temporary format string, create a temporary message. If there is not enough memory to log the error, just log this second error. The double error path gets never tested, so it should be simple. Make it work like the other places. OK doug@
* properly handle commitid tokens found in rcs filesjcs2013-06-031-3/+25
| | | | ok deraadt
* Sync rcsparse between OpenCVS/OpenRCS. Spaces, no binary change.tobias2012-02-041-4/+4
|
* Fix a typo in a comment, from Michael W Bombardieri.nicm2011-05-041-2/+2
|
* Nuke some unused variables and remove an unnecessary call to dirname().nicm2010-10-291-4/+1
| | | | From Michael W Bombardieri via ray@.
* Remove the need for rp_file in parser structure, instead keep only onetobias2010-10-201-17/+11
| | | | | | | | | FILE pointer in RCSFILE. This fixes some ugliness in closing an fdopen()ed FILE and its underlying file descriptor. Notified by Joerg Sonnenberger <joerg at britannica dot bec to de> discussed with and ok nicm
* Prevent a NULL pointer dereference if rcsparse_deltatexts is called withtobias2010-10-201-9/+7
| | | | | | a revision not specified as delta in an RCS file. Spotted by and ok zinovik
* Replaced RCS parser code with new rcsparse.{c,h}:tobias2010-10-151-0/+1262
- be very strict about things we parse - print more information about errors if they occur - do not fatal() directly in parser, give caller a chance to react - fix an rcs design issue when it comes to login names tested by many on tech@ ok xsa