summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
AgeCommit message (Collapse)Author
2006-05-14warnx(); return(); --> errx();Xavier Santolaria
2006-05-11fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs.Xavier Santolaria
2006-05-11Use fstat instead of stat, simplifie switch statement into ifRay Lai
statement, and remove __inline. OK xsa@
2006-05-11fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs.Xavier Santolaria
2006-05-11first round of rcs_write() cleanup; prodded by joris@; input/OK ray@.Xavier Santolaria
2006-05-10starting bits for merge(1) replacement. Not built/linked yet.Xavier Santolaria
man page reviewed by jmc@.
2006-05-10treat first file passed as argument only; issue a warning for others.Xavier Santolaria
matches gnu/usr.bin/rcs. OK joris@.
2006-05-10Remove (size_t) casts on integer constants.Ray Lai
We should not cover up lint's shortcomings, especially if they no longer exist. ``This is definately good.'' niallo@.
2006-05-09move -e to compat land; pointed out by rayJason McIntyre
ok xsa
2006-05-09Remove /* NOTREACHED */ comments, now that lint is smart aboutRay Lai
__dead. I never should have put them there. OK xsa@.
2006-05-09Remove unused variable leftover from race condition cleanup.Ray Lai
OK xsa@.
2006-05-08Use warnx() when errno is not set.Ray Lai
OK joris@.
2006-05-08properly handle exit code 1; OK ray@.Xavier Santolaria
2006-05-08check for rcs_diffreg() return value; OK ray@.Xavier Santolaria
2006-05-08a few bits about exit status here too; OK jmc@.Xavier Santolaria
2006-05-08correctly handle the `no input file' case.Xavier Santolaria
2006-05-08fix error/verbose messages to match gnu/usr.bin/rcs when using rcsmerge(1).Xavier Santolaria
2006-05-08add DIAGNOSTICS section.Xavier Santolaria
2006-05-08err() and errx() should also exit with status 2;Xavier Santolaria
2006-05-08exit with status 2 after usage() too; pointed out by uwe@.Xavier Santolaria
2006-05-05- fix rcsdiff exit status on success/errors; now matches gnu/usr.bin/rcs.Xavier Santolaria
- add DIAGNOSTICS section to rcsdiff.1 wrt exit codes. ok ray@ and jmc@ for man page bits.
2006-05-05o GNU ci returns 0 when a file is reverted (co -l file; ci file).Ray Lai
o Don't unlock file after revert. o Fix spelling. Passes extra tests in GNU rcstest. OK niallo@.
2006-05-04finish work wrt TMPDIR; use xasprintf() to simplify code while in there;Xavier Santolaria
"looks fine" ray@.
2006-05-03Use xasprintf and xfree.Ray Lai
``But i thought it already went in...'' xsa@
2006-05-03respect TMPDIR; OK ray@.Xavier Santolaria
2006-05-01prevent a very, very stupid buffer overflow in ident_line().Joris Vink
fix for PR 5091 okay niallo@
2006-05-01- fix a case in rcs_getrev() handling of branches where variant was not beingNiall O'Higgins
increased and thus no progress could be made in the loop. bug noticed in rcsdiff(1) by sturm@ ok joris@
2006-05-01using *_FOREACH macros is really bad when we are actuallyJoris Vink
removing elements from the list inside the loop. this has been documented *clearly* in queue(3). okay niallo@
2006-05-01better description for -b; ok jorisJason McIntyre
2006-05-01rearrange the page to read better, and document branches/revisions/state;Jason McIntyre
ok xsa niallo ray
2006-04-29o Simplify ci by using strchr and strcspn instead of custom loops.Ray Lai
o Search for the ending `$' until the end of the line instead of the end of the string. OK niallo@ and xsa@, possibly joris@.
2006-04-29Check return values for all strlcpy, and strlcat calls.Ray Lai
OK xsa@ and probably others.
2006-04-29Clarify man pages to match -t behavior and pretty up usage strings.Ray Lai
OK xsa@ and jmc@.
2006-04-29Make ci store gmtime instead of localtime in RCS files, like GNU.Ray Lai
OK xsa@
2006-04-29Remove dead code.Ray Lai
OK niallo@
2006-04-28remove -h; ok xsaJason McIntyre
2006-04-28fix date format output if a timezone is specified (-z);Xavier Santolaria
2006-04-27expand the description of -c; help/ok xsaJason McIntyre
2006-04-27remove the revision sections - it's explained in rcs(1) and i thinkJason McIntyre
that's enough...
2006-04-27better wording for the keyword section;Jason McIntyre
2006-04-27consistency fix;Jason McIntyre
2006-04-27document state (-s); help/ok xsaJason McIntyre
2006-04-27zap util.[ch] and move the content into rcsutil.[ch].Xavier Santolaria
discussed with joris@.
2006-04-27move -M into compat land; ok xsaJason McIntyre
2006-04-26prevent file races by obtaining an fd for the RCS file andJoris Vink
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@
2006-04-26err() cleanup;Xavier Santolaria
2006-04-26don't talk about "shared mode";Jason McIntyre
2006-04-26grammar;Jason McIntyre
2006-04-26zap -DRCSPROG leftover.Xavier Santolaria
2006-04-26zap uneeded includes.Xavier Santolaria