summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
AgeCommit message (Collapse)Author
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-12-01An internal function called xrealloc() is actually a fail-hardTheo de Raadt
reallocarray()... so rename it.
2014-11-28consistency in calling usage, from Fritjof BornebuschOtto Moerbeek
2014-11-22not compiled before commitTheo de Raadt
2014-11-22Fixed uninitialized pointer (and other struct entries while at it)Tobias Stoeckmann
which is referenced while parsing invalid RCS files. Spotted by jsg. ok deraadt
2014-11-16Convert the logic in rcsparse_warnx(). Instead of creating aAlexander Bluhm
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@
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