summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/ci.c
AgeCommit message (Expand)Author
2006-12-23Spelling.Kenneth R Westerback
2006-11-18- update commentNiall O'Higgins
2006-11-09Simplify stripping of write bits from file mode.Todd C. Miller
2006-09-27Add and correct comments, spacing.Ray Lai
2006-09-21Add support to rcsdiff for all the other diff flags thatTodd C. Miller
2006-08-23use the correct variable in error and warning messagesJoris Vink
2006-08-16Improve rcs_buf_load() by setting errno appropriately on failure andRay Lai
2006-08-02strlcpy/strlcat overload made deraadt@ sick; change to xasprintf.Ray Lai
2006-08-02Fix a lot of buffer overflows and make the code more binary safe.Ray Lai
2006-07-27unused variableTheo de Raadt
2006-07-08Remove file mode argument from {cvs|rcs}_buf_write_stmp(). WeRay Lai
2006-06-03- correctly handle binary files; say bye bye to using c strings for deltatexts.Niall O'Higgins
2006-06-02various spelling fixesDavid Krause
2006-06-02- at end of checkin_main loop, reset pb.newrev. fixes a problem with checkinNiall O'Higgins
2006-05-29Plug more memory leaks.Ray Lai
2006-05-29- zap unrequired casts for rcs_buf_release().Niall O'Higgins
2006-05-27Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(),Ray Lai
2006-05-17fix printf'sXavier Santolaria
2006-05-11fix informative msg's wrt to -q and stderr. now matches gnu/usr.bin/rcs.Xavier Santolaria
2006-05-10Remove (size_t) casts on integer constants.Ray Lai
2006-05-09Remove /* NOTREACHED */ comments, now that lint is smart aboutRay Lai
2006-05-08check for rcs_diffreg() return value; OK ray@.Xavier Santolaria
2006-05-05o GNU ci returns 0 when a file is reverted (co -l file; ci file).Ray Lai
2006-05-04finish work wrt TMPDIR; use xasprintf() to simplify code while in there;Xavier Santolaria
2006-04-29o Simplify ci by using strchr and strcspn instead of custom loops.Ray Lai
2006-04-29Check return values for all strlcpy, and strlcat calls.Ray Lai
2006-04-29Clarify man pages to match -t behavior and pretty up usage strings.Ray Lai
2006-04-29Make ci store gmtime instead of localtime in RCS files, like GNU.Ray Lai
2006-04-26prevent file races by obtaining an fd for the RCS file andJoris Vink
2006-04-26fork our code we shared between openrcs/cvs into the openrcs dir.Joris Vink
2006-04-25quote strings consistently.Xavier Santolaria
2006-04-25fatal() -> err()/errx() as we try to not depend on heavy cvs_log().Xavier Santolaria
2006-04-25style;Xavier Santolaria
2006-04-24prevent a race by keeping an fd for the workfile around untilJoris Vink
2006-04-24o Better match GNU behavior (a bare -t does NOT read from stdin,Ray Lai
2006-04-21move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner;Xavier Santolaria
2006-04-21remove overkill cvs_log() and rather use warn()/warnx().Xavier Santolaria
2006-04-19switch -q handling to bitwise flags; OK ray@ niallo@.Xavier Santolaria
2006-04-18Combine code to prompt user for input into a shared function,Ray Lai
2006-04-18/* FALLTHROUGH */ to share code between the -N and -n flags.Ray Lai
2006-04-18Removes memory leaks when flags are called multiple times. ThisRay Lai
2006-04-18Remove -h flag from rcs_getopt loop, which is not in GNU.Ray Lai
2006-04-17Relieve checkin_update and checkin_init of the responsibility ofRay Lai
2006-04-16- fix description handling.Niall O'Higgins
2006-04-14excessive addition to brackets is a mental disease. you will goTheo de Raadt
2006-04-14Fix a typo introduced in rev 1.135; ok ray@Patrick Latifi
2006-04-13Currently rcs_getopt spits out a generic error message if you doRay Lai
2006-04-13clean up temporary files when we finish running.Joris Vink
2006-04-13fix some typosNiall O'Higgins
2006-04-13correctly handle RCS files without any revisions;Joris Vink