Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-10 | Amend previous fix; joris@ fixed the same bug in OpenCVS's diff3.c r1.47. | Stefan Sperling | |
Put the OpenCVS fix, which additionally checks for trailing \n, into OpenRCS. Sync requested by deraadt@ (thanks, I would otherwise have overlooked this) | |||
2019-08-10 | Fix merge(1) of files which contain lines with leading dots. | Stefan Sperling | |
A check which tried to detect "dot on a line of its own" in the internal ed script was treating any line with a leading dot as such. Changes made to groups of such lines therefore ended up being truncated in the merged result. "For a random user, there's no shame in being unable to use ed." -- Michael W Lucas ok millert@ deraadt@ | |||
2019-06-28 | When system calls indicate an error they return -1, not some arbitrary | Theo de Raadt | |
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | |||
2019-06-28 | asprintf returns -1, not an arbitrary value < 0. Also upon error the | Theo de Raadt | |
(very sloppy specification) leaves an undefined value in *ret, so it is wrong to inspect it, the error condition is enough. discussed a little with nicm, and then much more with millert until we were exasperated | |||
2019-04-26 | There was an extra newline in some cases and missing one in others. | Todd C. Miller | |
OK joris@ | |||
2019-04-24 | new manual page rcsfile(5) | Ingo Schwarze | |
written by Fabio Scotoni <fabio at esse dot ch> with minimal tweaks by me OK jmc@ deraadt@ millert@ on an earlier version | |||
2019-01-09 | Delay keyword expansion in co until after the locks have been resolved. | Joris Vink | |
This way the expansion can happen with the correct values and files do not show up as modified. | |||
2019-01-09 | When expanding $Log$ make sure a newline is added if rd_log has none. | Joris Vink | |
This can happen on new RCS files. Fixes $Log$ keyword expansion. | |||
2019-01-09 | Make sure rcs_lock_add() and rcs_lock_remove() properly update the | Joris Vink | |
rd_lock member of the matching delta. Other keyword substitution will not properly work in cases where the RCS file did not have a lock for the revision yet or if the lock is being removed. | |||
2018-12-30 | Delete unnecessary <libgen.h> #includes | Philip Guenther | |
ok deraadt@ | |||
2018-06-07 | add some EXIT STATUS sections; from matthew martin | Jason McIntyre | |
2018-03-16 | improve markup quality in the cases found by the new "--" style message | Ingo Schwarze | |
2017-10-17 | add missing HISTORY; based on CVS logs and release announcements | Ingo Schwarze | |
2017-08-29 | kill const and string artithmetic related warnings; ok millert@ | Otto Moerbeek | |
2016-10-18 | Using bitwise OR along with two assignments in the conditional of | Todd C. Miller | |
a while() loop is a trap for the unwary programmer (albeit a clever trap). Break this up into two separate assignments and using boolean OR for clarity. OK otto@ | |||
2016-10-16 | Quiet compiler warnings; as applied to usr.bin/cvs by millert@ | Okan Demirmen | |
ok millert@ | |||
2016-08-31 | rlog: add -E and -S options to configure revision separators, to | Joshua Stein | |
work around commits that might have the default strings in them ok tom deraadt | |||
2016-08-26 | Pull in <time.h> for struct tm, used in rcs.h | Philip Guenther | |
ok deraadt@ | |||
2016-07-04 | The -I flag is documented but not implemented. This fixes that and | Todd C. Miller | |
also honors the -I flag from ci/co when prompting like GNU RCS. OK jca@ | |||
2016-05-09 | Implement Mdocdate keyword substitution. | Ingo Schwarze | |
In particular, this stops rcsdiff(1) and CVSweb from showing wrong Mdocdate lines in diffs. Problem originally reported by tj@. OK tobias@ otto@ millert@ | |||
2015-12-29 | fix exit status on pledge(2) failure. | Gleydson Soares | |
from jsg@ | |||
2015-11-17 | Merge xmalloc.[ch] files across base, skipping OpenSSH for now. | Tobias Stoeckmann | |
ok nicm | |||
2015-11-02 | Allow rcsnum_free and buf_free to accept NULL and remove various NULL | Nicholas Marriott | |
checks that are now unnecessary, from Michael W Bombardieri. ok millert | |||
2015-10-21 | Style fixes; from Ilya Kaliman | Todd C. Miller | |
2015-10-16 | Implement real "flock" request and add it to userland programs that | Todd C. Miller | |
use pledge and file locking. OK deraadt@ | |||
2015-10-10 | normalize a few more tame request orderings, to help review | Theo de Raadt | |
2015-10-10 | pledge "stdio getpw rpath wpath cpath fattr". doug pointed out getpw* | Theo de Raadt | |
use, and fattr for chmod. doug | |||
2015-09-25 | fix the spacing of -m in the SYNOPSIS | Ingo Schwarze | |
2015-09-05 | Add brackets to clarify assignments that are the result of a test operator. | Jonathan Gray | |
ok deraadt@ looks correct millert@ jung@ | |||
2015-09-05 | Avoid unintended problems with operator precedence when doing an | Jonathan Gray | |
assignment and comparison. ok deraadt@ looks correct millert@ jung@ | |||
2015-06-17 | Use strdup in xstrdup; from Fritjof Bornebusch. | Nicholas Marriott | |
2015-06-17 | Remove NULL check before free; Fritjof Bornebusch. | Nicholas Marriott | |
2015-06-13 | Convert xfree to free. From Fritjof Bornebusch. ok deraadt | Nicholas Marriott | |
2015-03-26 | Use the (new) function name in errx() after its rename in r1.6. | Okan Demirmen | |
ok bcallah@ | |||
2015-02-05 | Include stdint.h, not limits.h to get SIZE_MAX. OK guenther@ | Todd C. Miller | |
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo 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-01 | An internal function called xrealloc() is actually a fail-hard | Theo de Raadt | |
reallocarray()... so rename it. | |||
2014-11-28 | consistency in calling usage, from Fritjof Bornebusch | Otto Moerbeek | |
2014-11-22 | not compiled before commit | Theo de Raadt | |
2014-11-22 | Fixed 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-16 | Convert the logic in rcsparse_warnx(). Instead of creating a | Alexander 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-10 | Zap some stored values never read; From Fritjof Bornebusch; ok nicm@ | Otto Moerbeek | |
2014-10-10 | Explicitly handle -l and -u combinations. From Fritjof Bornebusch; ok daniel@ | Otto Moerbeek | |
2014-10-02 | exit in usage functions themselves; from Fritjof Bornebusch; ok nicm@ | Otto Moerbeek | |
2014-09-30 | atoi to strtonum; from Fritjof Bornebusch; ok nicm@ | Otto Moerbeek | |
2014-09-27 | Use %zu where appropriate, from Fritjof Bornebusch. | Otto Moerbeek | |
2014-05-29 | use calloc, from Benjamin Baier | Ted Unangst | |
2014-05-19 | Plug a small memory leak: if we pass checkin_init/checkin_update | Jeremie Courreges-Anglas | |
a revision thru pb.newrev, it will not be freed. From Fritjof Bornebusch, no objections from tech@ | |||
2014-04-29 | fix a test for invalid timezones | Jonathan Gray | |
oks from a bunch of people | |||
2014-01-07 | ctype cleanups; ok okan | Theo de Raadt | |