summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/ci.c
AgeCommit message (Expand)Author
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
2006-04-13*** empty log message ***Ray Lai
2006-04-12spacesTheo de Raadt
2006-04-12Clean up <rev> handling. Whenever a revision is specified after aRay Lai
2006-04-10make sure we add the correct name mkstemp(3) creates for usJoris Vink
2006-04-09- don't print out warnings about locking when they are actually wrong andNiall O'Higgins
2006-04-06-z can take no argument.Xavier Santolaria
2006-04-05Use variable names for sizeof, remove casts in front of xmalloc,Ray Lai
2006-04-01- plug a possible memory leak in checkin_update() error path.Niall O'Higgins
2006-03-31spacing;Joris Vink
2006-03-30add temporary files to the worklist before creating them, this preventsJoris Vink
2006-03-28check rcs_head_set() return value; OK niallo@.Xavier Santolaria
2006-03-28check rcs_sym_remove() return value; OK niallo@.Xavier Santolaria
2006-03-27- simplify checkin_init() and checkin_update() functions by movingNiall O'Higgins
2006-03-27- properly implement GNU file modes. basically, checkout will inheritNiall O'Higgins
2006-03-27check rcs_lock_remove() return value; OK ray@ niallo@.Xavier Santolaria
2006-03-26- clean up error handling in checkin_init() and checkin_update()Niall O'Higgins
2006-03-24Allow the -x flag to be used without an extension.Ray Lai
2006-03-23- cvs_buf_putc() will never return non-zeroXavier Santolaria
2006-03-20delint; cvs_buf_write_stmp() will never return non-zero:Niall O'Higgins
2006-03-17Remove unused variables len and i, change `end' to size_t type.Ray Lai
2006-03-16Follow exit() with /* NOTREACHED*/ for lint.Ray Lai
2006-03-15ask for log message when it's not specified, got broken in xsa's previousJoris Vink
2006-03-15- check for tty when asking for logmsg or descriptionXavier Santolaria
2006-03-15remove some bizzare idioms; ok rayTheo de Raadt
2006-03-15Move and rename checkin_choose_rcsfile() to rcs_choosefile().Ray Lai
2006-03-14ci currently doesn't parse the -x flag at all, defaulting to ",v/" everyRay Lai
2006-03-11- implement GNU-compatible handling of revisions specified as singleNiall O'Higgins
2006-03-11- reset NEWFILE flag on each iteration through main loop. this stopsNiall O'Higgins