Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pull in <time.h> for struct tm, used in rcs.h | 2016-08-26 | 1 | -1/+2 | |
| | | | | ok deraadt@ | ||||
* | Allow rcsnum_free and buf_free to accept NULL and remove various NULL | 2015-11-02 | 1 | -7/+3 | |
| | | | | checks that are now unnecessary, from Michael W Bombardieri. ok millert | ||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -2/+2 | |
| | | | | | | | | | 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) | ||||
* | Zap some stored values never read; From Fritjof Bornebusch; ok nicm@ | 2014-10-10 | 1 | -2/+1 | |
| | |||||
* | exit in usage functions themselves; from Fritjof Bornebusch; ok nicm@ | 2014-10-02 | 1 | -6/+4 | |
| | |||||
* | Reduce variable/function name and whitespace differences between | 2010-07-23 | 1 | -5/+5 | |
| | | | | | | cvs/rcs. OK xsa zinovik | ||||
* | Sync revisions and time buffers size to be consistent with each others. | 2007-06-30 | 1 | -2/+3 | |
| | | | | | Simplifies further size tweaks if needed. OK ray@. | ||||
* | As done in OpenCVS, general includes cleanup sweep. OK otto@. | 2007-02-27 | 1 | -2/+6 | |
| | |||||
* | - convert some warnx() to warn(), which fixes a few stupidly un-informative error messages (found by tom@) | 2006-10-12 | 1 | -2/+2 | |
| | | | | | | - make rcs_choosefile() save wrt errno, input from ray@ ok joris@ xsa@ | ||||
* | correctly handle merge(1) and rcsmerge(1) -e and -E flags; tests and OK ray@. | 2006-08-11 | 1 | -4/+13 | |
| | |||||
* | Reduce rcs_buf_release() usage, improving binary support. | 2006-08-01 | 1 | -9/+7 | |
| | | | | OK niallo@ | ||||
* | Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(), | 2006-05-27 | 1 | -3/+3 | |
| | | | | | | handling exceptions oddly. OK joris@ | ||||
* | warnx(); return(); --> errx(); | 2006-05-14 | 1 | -5/+3 | |
| | |||||
* | treat first file passed as argument only; issue a warning for others. | 2006-05-10 | 1 | -68/+65 | |
| | | | | matches gnu/usr.bin/rcs. OK joris@. | ||||
* | move -e to compat land; pointed out by ray | 2006-05-09 | 1 | -2/+2 | |
| | | | | ok xsa | ||||
* | Remove /* NOTREACHED */ comments, now that lint is smart about | 2006-05-09 | 1 | -2/+1 | |
| | | | | | | __dead. I never should have put them there. OK xsa@. | ||||
* | properly handle exit code 1; OK ray@. | 2006-05-08 | 1 | -3/+7 | |
| | |||||
* | correctly handle the `no input file' case. | 2006-05-08 | 1 | -2/+2 | |
| | |||||
* | err() and errx() should also exit with status 2; | 2006-05-08 | 1 | -3/+3 | |
| | |||||
* | exit with status 2 after usage() too; pointed out by uwe@. | 2006-05-08 | 1 | -5/+5 | |
| | |||||
* | prevent file races by obtaining an fd for the RCS file and | 2006-04-26 | 1 | -4/+5 | |
| | | | | | | | | 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 | -7/+7 | |
| | | | | | | | 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. | ||||
* | fatal() -> err()/errx() as we try to not depend on heavy cvs_log(). | 2006-04-25 | 1 | -3/+3 | |
| | | | | OK joriski. | ||||
* | The -r flag without an argument signifies HEAD for rcsmerge as well. | 2006-04-25 | 1 | -5/+10 | |
| | | | | OK joris@ | ||||
* | - move -A into compat land | 2006-04-24 | 1 | -2/+2 | |
| | | | | | | - tweak -E description accordingly ok xsa | ||||
* | -r is not optional: simplify its synopsis, but improve its description; | 2006-04-24 | 1 | -2/+2 | |
| | | | | ok xsa | ||||
* | be consistent in error messages for wrongly specified keyword substitution | 2006-04-24 | 1 | -2/+2 | |
| | | | | mode for `-k'. | ||||
* | move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner; | 2006-04-21 | 1 | -2/+2 | |
| | | | | "the voices in my head say OK!" joris@. | ||||
* | remove overkill cvs_log() and rather use warn()/warnx(). | 2006-04-21 | 1 | -7/+6 | |
| | | | | OK ray@ and discussed with joris@. | ||||
* | switch -p handling to bitwise flags; OK ray@. | 2006-04-21 | 1 | -4/+4 | |
| | |||||
* | switch -q handling to bitwise flags; OK ray@ niallo@. | 2006-04-19 | 1 | -8/+8 | |
| | |||||
* | Add missing usage() calls. | 2006-04-14 | 1 | -2/+3 | |
| | | | | ``crazy'' joris@ | ||||
* | *** empty log message *** | 2006-04-13 | 1 | -5/+7 | |
| | |||||
* | Clean up <rev> handling. Whenever a revision is specified after a | 2006-04-12 | 1 | -23/+32 | |
| | | | | | | | | | | | | | | | | | | | | | | flag, it calls one of two new functions: rcs_setrevstr() or rcs_setrevstr2(). rcs_setrevstr() sets a string to another string, and complains if it was set more than once. rcs_setrevstr2() takes two strings, sets one after the other, and fatal()s if more than two strings were given. All <rev> handling is now done in the loop that goes through each argv. This is necessary for parsing symbols, which will be much easier after this. Along the way a lot of memory leaks were cleaned up. There is one area where rcs_set_rev() is called, which allocates a RCSNUM and stores it in pb.newrev, but it segfaults whenever I try to rcsnum_free() it. I put an /* XXX */ comment there for now. Passes regression tests and the code is less complicated in some ways (to me). Suggestions and OK xsa@ | ||||
* | Allow the -x flag to be used without an extension. | 2006-03-24 | 1 | -3/+4 | |
| | | | | ``that makes sense'' xsa@ | ||||
* | - cvs_buf_putc() will never return non-zero | 2006-03-23 | 1 | -6/+2 | |
| | | | | | - change cvs_buf_putc() return type to void OK ray@. | ||||
* | Follow exit() with /* NOTREACHED*/ for lint. | 2006-03-16 | 1 | -1/+2 | |
| | | | | ``OK niallo@'' niallo@ | ||||
* | add an argument to cvs_diff3() to be able to handle verbosity of | 2006-03-14 | 1 | -2/+3 | |
| | | | | commands; fixes rcsmerge -q behaviour. OK niallo@ ray@. | ||||
* | fix usage(); | 2006-03-08 | 1 | -3/+3 | |
| | |||||
* | respect -q; pointed out by Ray Lai. | 2006-03-08 | 1 | -4/+7 | |
| | |||||
* | -z support for RCS; | 2006-03-07 | 1 | -2/+5 | |
| | |||||
* | move compat flags into a STANDARDS section; | 2006-03-06 | 1 | -3/+3 | |
| | | | | update usage() whilst here... | ||||
* | adapt informative message if we are sending output to stdout. | 2006-03-06 | 1 | -2/+8 | |
| | |||||
* | if the submitted rev(s) is/are the same as the head rev, skip the process | 2006-03-06 | 1 | -11/+12 | |
| | | | | for the specified file. Fix some error messages while there. OK joris@ | ||||
* | cleanup, move log.h and rcs.h inclusion into rcsprog.h; | 2006-01-05 | 1 | -4/+2 | |
| | |||||
* | #include's cleanup; ok joris@ niallo@. | 2006-01-02 | 1 | -8/+2 | |
| | |||||
* | switch to xmalloc stuff, me and xsa@ agreed on this a long | 2005-12-10 | 1 | -2/+2 | |
| | | | | | | | | | time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@ | ||||
* | sync usage() for `-xsuffixes'; | 2005-11-28 | 1 | -2/+2 | |
| | |||||
* | enable `-xsuffixes' support as it has been added a few days ago | 2005-11-21 | 1 | -2/+5 | |
| | | | | | in rcs_statfile(); niallo ok | ||||
* | print RCS file path; | 2005-11-02 | 1 | -1/+3 | |
| |