summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
AgeCommit message (Collapse)Author
2014-10-10Zap some stored values never read; From Fritjof Bornebusch; ok nicm@Otto Moerbeek
2014-10-10Explicitly handle -l and -u combinations. From Fritjof Bornebusch; ok daniel@Otto Moerbeek
2014-10-02exit in usage functions themselves; from Fritjof Bornebusch; ok nicm@Otto Moerbeek
2014-09-30atoi to strtonum; from Fritjof Bornebusch; ok nicm@Otto Moerbeek
2014-09-27Use %zu where appropriate, from Fritjof Bornebusch.Otto Moerbeek
2014-05-29use calloc, from Benjamin BaierTed Unangst
2014-05-19Plug a small memory leak: if we pass checkin_init/checkin_updateJeremie Courreges-Anglas
a revision thru pb.newrev, it will not be freed. From Fritjof Bornebusch, no objections from tech@
2014-04-29fix a test for invalid timezonesJonathan Gray
oks from a bunch of people
2014-01-07ctype cleanups; ok okanTheo de Raadt
2013-12-03no need for timeb.hTheo de Raadt
2013-10-27If a constant string needs a name, use a static const array instead of aPhilip Guenther
pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings. ok deraadt@
2013-08-12some minor fixes; From: Jan StaryJason McIntyre
2013-06-29do not use Sx for sections outwith the page;Jason McIntyre
man4 still to go...
2013-06-03properly handle commitid tokens found in rcs filesjoshua stein
ok deraadt
2013-05-16Switch rcsdiff(1) binary file detection from !(isprint() || isspace()) toStefan Sperling
checking for embedded NULs, as was done for grep(1) and diff(1) some time ago. Avoids problems with e.g. latin1-encoded files being treated as binary, since isprint() uses only ASCII by default and rcsdiff(1) doesn't call setlocale(). ok sthen
2013-04-19Constrain the 2038 check to only when sizeof(time_t) == sizeof(int).Theo de Raadt
Adding more powerful checking is too difficult. We'll fix this problem by moving to 64-bit time_t.. and once we do, we don't want this code to falsely trigger. ok millert
2013-04-17remove time_t cast not needed; ok guentherTheo de Raadt
2013-04-16remove wrong casts; ok millertTheo de Raadt
2013-01-18Document $OpenBSD$ and teach ci's -k option to parse it tooPhilip Guenther
ok deraadt@
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
occurrences to get_line(). Based on a diff from Jan Klemkow <j-dot-klemkow-at-wemelug-dot-de> to tech.
2012-03-03Remove unused variable, from Michael W Bombardieri who also got an okNicholas Marriott
from tobias@.
2012-02-04Sync rcsparse between OpenCVS/OpenRCS. Spaces, no binary change.Tobias Stoeckmann
2011-11-17+.Xr cvs 1 ,Jason McIntyre
from Michael W. Bombardieri;
2011-07-14spacing, no binary change.Igor Sobrado
2011-07-14str is an optional argument to -t; if no argument is given, thisIgor Sobrado
option is ignored (for compatibility reasons). ok jmc@
2011-07-12argument to -t is optional.Igor Sobrado
ok jmc@
2011-07-06Replace the keyword expansion code with a faster, more readable versionNicholas Marriott
which additionally also supports $Log$ and $Locker. Written by Joerg Sonnenberger and tweaked by me. ok ray
2011-05-20Remove a bunch of unused functions, from Michael W Bombardieri.Nicholas Marriott
ok ray
2011-05-04Fix a typo in a comment, from Michael W Bombardieri.Nicholas Marriott
2011-04-20Remove some unneeded includes and dead code, from Michael W Bombardieri.Nicholas Marriott
ok jasper xsa
2011-04-19ident searches for $keyword:... $, not $keyword:...$;Jason McIntyre
from Alexis Fouilhe ...and i just know cvs is gonna mess up this commit message
2011-04-04previous commit introduced a crash: the removed strtol was being used toDamien Miller
skip past a value and it couldn't just be nuked
2011-04-01Move an isqrt() call outside a macro, from Michael W Bombardieri.Nicholas Marriott
ok ray
2011-03-27- remove unused variablesJasper Lievisse Adriaanse
from Michael W. Bombardieri ok chl@ nicm@
2011-03-27- garbage collect unused buf_fappend(), which was also removed from ocvs'sJasper Lievisse Adriaanse
buf.c some time ago. from Michael W. Bombardieri ok chl@ nicm@
2010-12-10- plug an fd leakJasper Lievisse Adriaanse
help/ok chl@ nicm@
2010-12-06add missing header needed by futimes()Charles Longeau
ok tobias@ xsa@ nicm@
2010-12-06add missing header needed by futimes()Charles Longeau
ok tobias@ nicm@
2010-12-06add missing header to properly use SIG* definitionsCharles Longeau
ok tobias@ nicm@
2010-12-03add missing header needed by futimes()Charles Longeau
ok stsp@
2010-12-01add missing header needed by mkstemp()Charles Longeau
ok stsp@
2010-10-28grammar tweak; from Michael W. BombardieriJason McIntyre
2010-10-27Merge -k and expand @@ parsing code between OpenCVS and OpenRCS, resultingTobias Stoeckmann
in a performance gain in OpenCVS in some "cvs update" scenarios. ok zinovik
2010-10-20Merge OpenCVS' rcs_deltatext_set into OpenRCS, fixing a memory leak.Tobias Stoeckmann
ok nicm zinovik
2010-10-20Remove the need for rp_file in parser structure, instead keep only oneTobias Stoeckmann
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
2010-10-20Prevent a NULL pointer dereference if rcsparse_deltatexts is called withTobias Stoeckmann
a revision not specified as delta in an RCS file. Spotted by and ok zinovik
2010-10-15No need to remove RCS_PARSE flag from rf_flags after successfully parsing.Tobias Stoeckmann
2010-10-15Replaced RCS parser code with new rcsparse.{c,h}:Tobias Stoeckmann
- 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
2010-10-05Zapped unused function rcs_tag_resolve.Tobias Stoeckmann
ok xsa
2010-10-05rcs_state_check must check for more invalid characters than just space.Tobias Stoeckmann
ok nicm