Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The -I flag is documented but not implemented. This fixes that and | 2016-07-04 | 1 | -4/+7 | |
| | | | | | also honors the -I flag from ci/co when prompting like GNU RCS. OK jca@ | ||||
* | fix exit status on pledge(2) failure. | 2015-12-29 | 1 | -2/+2 | |
| | | | | from jsg@ | ||||
* | Implement real "flock" request and add it to userland programs that | 2015-10-16 | 1 | -2/+2 | |
| | | | | use pledge and file locking. OK deraadt@ | ||||
* | normalize a few more tame request orderings, to help review | 2015-10-10 | 1 | -2/+2 | |
| | |||||
* | pledge "stdio getpw rpath wpath cpath fattr". doug pointed out getpw* | 2015-10-10 | 1 | -1/+4 | |
| | | | | | use, and fattr for chmod. doug | ||||
* | Convert xfree to free. From Fritjof Bornebusch. ok deraadt | 2015-06-13 | 1 | -5/+4 | |
| | |||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -3/+3 | |
| | | | | | | | | | 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) | ||||
* | An internal function called xrealloc() is actually a fail-hard | 2014-12-01 | 1 | -3/+3 | |
| | | | | reallocarray()... so rename it. | ||||
* | Explicitly handle -l and -u combinations. From Fritjof Bornebusch; ok daniel@ | 2014-10-10 | 1 | -3/+7 | |
| | |||||
* | exit in usage functions themselves; from Fritjof Bornebusch; ok nicm@ | 2014-10-02 | 1 | -5/+4 | |
| | |||||
* | argument to -t is optional. | 2011-07-12 | 1 | -2/+2 | |
| | | | | ok jmc@ | ||||
* | add missing header to properly use SIG* definitions | 2010-12-06 | 1 | -1/+2 | |
| | | | | ok tobias@ nicm@ | ||||
* | Set rcs_suffixes to default value on initialization. | 2010-09-08 | 1 | -2/+2 | |
| | | | | ok ray zinovik | ||||
* | Rename a bunch of variables and functions, removing the cvs_/rcs_ | 2010-07-23 | 1 | -5/+5 | |
| | | | | | | prefixes to reduce differences between cvs and rcs files. "yes!" nicm | ||||
* | bump version to match next release | 2009-02-15 | 1 | -2/+2 | |
| | |||||
* | typo fixed (overriden -> overridden) | 2008-11-09 | 1 | -3/+3 | |
| | | | | ok espie, jmc | ||||
* | bump version to 4.4 | 2008-07-08 | 1 | -2/+2 | |
| | |||||
* | OpenRCS only handled a max of 128 arguments on command line + RCSINIT, | 2008-05-10 | 1 | -34/+32 | |
| | | | | | | which was a bogus limit. Spotted by naddy. horribly prodded by and ok joris | ||||
* | Duplicate envstr and free it on error instead of allocating for | 2008-04-26 | 1 | -8/+5 | |
| | | | | | | each argument and freeing each argument on error. OK joris, tobias | ||||
* | Prevent overflow of cmd_argv if RCS_INIT and command line arguments | 2008-04-24 | 1 | -5/+5 | |
| | | | | | | exceed buffer size (diff based on OpenCVS code). ok ray, xsa | ||||
* | fix segfault when trying to lock and unlock rcs files that | 2008-03-04 | 1 | -1/+13 | |
| | | | | | | | | contain no revisions. reported by Jean Raby. ok deraadt@ | ||||
* | Bump version. Improvements and fixes since last release. | 2008-02-24 | 1 | -2/+2 | |
| | | | | OK joris@. | ||||
* | Sync revisions and time buffers size to be consistent with each others. | 2007-06-30 | 1 | -5/+5 | |
| | | | | | Simplifies further size tweaks if needed. OK ray@. | ||||
* | `[-sstate[:rev]]' is not available in rcs(1) | 2007-04-26 | 1 | -3/+2 | |
| | | | | ok by jmc@, niallo@, and xsa@ | ||||
* | As done in OpenCVS, general includes cleanup sweep. OK otto@. | 2007-02-27 | 1 | -2/+8 | |
| | |||||
* | you know what, now that openrcs is in fact working properly and | 2007-01-10 | 1 | -2/+2 | |
| | | | | | | | has been in the previous release - how about we give it a proper version instead of "OpenCVS RCS 3.6" okay xsa@, ray@ | ||||
* | - no need to mention -e option twice in usage. | 2006-12-27 | 1 | -2/+2 | |
| | | | | pointed out by Igor Sobrado <igor at string1.ciencias.uniovi.es> | ||||
* | no magic, use defined RCS_LOCK_INVAL variable. | 2006-11-13 | 1 | -3/+3 | |
| | |||||
* | - convert some warnx() to warn(), which fixes a few stupidly un-informative error messages (found by tom@) | 2006-10-12 | 1 | -3/+3 | |
| | | | | | | - make rcs_choosefile() save wrt errno, input from ray@ ok joris@ xsa@ | ||||
* | Improve rcs_buf_load() by setting errno appropriately on failure and | 2006-08-16 | 1 | -6/+18 | |
| | | | | | | | | | | never print errors or quit on error. Fix usages of rcs_buf_load() and rcs_set_description. Also plug an fd leak. OK xsa@ | ||||
* | Plug more memory leaks. | 2006-05-29 | 1 | -4/+3 | |
| | | | | OK joris@ | ||||
* | Remove a lot of xstrdup() calls in getopt() loops, which are usually | 2006-05-28 | 1 | -16/+10 | |
| | | | | | | | unnecessary. These xstrdup() calls don't call xfree() before anyway, so if a flag is given multiple times memory leaks would have resulted. OK joris@ | ||||
* | Move -A<oldfile> handling into separate chunk of code. This also | 2006-05-28 | 1 | -18/+18 | |
| | | | | | | removes a memory leak if -A is given multiple times. OK joris@ | ||||
* | Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(), | 2006-05-27 | 1 | -6/+12 | |
| | | | | | | handling exceptions oddly. OK joris@ | ||||
* | fix printf + add missing printf when unlocking file (-u). | 2006-05-19 | 1 | -2/+7 | |
| | |||||
* | missing bits for a working merge(1). Built and enabled. | 2006-05-15 | 1 | -1/+2 | |
| | | | | OK joris@ ray@. | ||||
* | fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs. | 2006-05-11 | 1 | -4/+7 | |
| | |||||
* | Remove /* NOTREACHED */ comments, now that lint is smart about | 2006-05-09 | 1 | -3/+1 | |
| | | | | | | __dead. I never should have put them there. OK xsa@. | ||||
* | using *_FOREACH macros is really bad when we are actually | 2006-05-01 | 1 | -3/+6 | |
| | | | | | | | removing elements from the list inside the loop. this has been documented *clearly* in queue(3). okay niallo@ | ||||
* | Check return values for all strlcpy, and strlcat calls. | 2006-04-29 | 1 | -3/+4 | |
| | | | | OK xsa@ and probably others. | ||||
* | Clarify man pages to match -t behavior and pretty up usage strings. | 2006-04-29 | 1 | -2/+2 | |
| | | | | OK xsa@ and jmc@. | ||||
* | remove -h; ok xsa | 2006-04-28 | 1 | -2/+2 | |
| | |||||
* | move -M into compat land; ok xsa | 2006-04-27 | 1 | -3/+3 | |
| | |||||
* | prevent file races by obtaining an fd for the RCS file and | 2006-04-26 | 1 | -9/+19 | |
| | | | | | | | | do our operations on that, this is safe and guarantees we can operate on the file until we close(2) it. a fix is coming for the remaining races in our diff code. okay niallo@ and ray@ | ||||
* | fork our code we shared between openrcs/cvs into the openrcs dir. | 2006-04-26 | 1 | -10/+10 | |
| | | | | | | | this was starting to become inhuman to maintain without ugly ugly hacks in the shared code, and it will be easier to make specific changes for openrcs without touching the soon-to-be-replaced opencvs code. | ||||
* | quote strings consistently. | 2006-04-25 | 1 | -3/+3 | |
| | |||||
* | fatal() -> err()/errx() as we try to not depend on heavy cvs_log(). | 2006-04-25 | 1 | -10/+10 | |
| | | | | OK joriski. | ||||
* | be consistent in error messages for wrongly specified keyword substitution | 2006-04-24 | 1 | -3/+3 | |
| | | | | mode for `-k'. | ||||
* | o Better match GNU behavior (a bare -t does NOT read from stdin, | 2006-04-24 | 1 | -36/+3 | |
| | | | | | | | | unlike rcs). o Share code with rcs by moving rcs_set_description() to rcsutil.c. o Change description prompt from #define to const char *. OK xsa@ | ||||
* | move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner; | 2006-04-21 | 1 | -418/+5 | |
| | | | | "the voices in my head say OK!" joris@. |