summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/co.c
AgeCommit message (Expand)Author
2019-01-09Delay keyword expansion in co until after the locks have been resolved.Joris Vink
2017-08-29kill const and string artithmetic related warnings; ok millert@Otto Moerbeek
2015-10-21Style fixes; from Ilya KalimanTodd C. Miller
2015-06-13Convert xfree to free. From Fritjof Bornebusch. ok deraadtNicholas Marriott
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-10Zap some stored values never read; From Fritjof Bornebusch; ok nicm@Otto Moerbeek
2014-10-02exit in usage functions themselves; from Fritjof Bornebusch; ok nicm@Otto Moerbeek
2013-04-16remove wrong casts; ok millertTheo de Raadt
2010-12-03add missing header needed by futimes()Charles Longeau
2010-10-20Remove the need for rp_file in parser structure, instead keep only oneTobias Stoeckmann
2010-09-08Set rcs_suffixes to default value on initialization.Tobias Stoeckmann
2010-07-30Check date_parse return values.Ray Lai
2010-07-28Make BUFs autoextend by default. This was already done in OpenCVSRay Lai
2010-07-23Reduce variable/function name and whitespace differences betweenRay Lai
2009-02-25Checking if a file is ASCII should only be done when diffing, becauseRay Lai
2007-07-03Rename rcs_diffreg() to diffreg().Ray Lai
2007-06-30Sync revisions and time buffers size to be consistent with each others.Xavier Santolaria
2007-06-08If strict locking is disabled, make file writable by owner on checkout.Xavier Santolaria
2007-06-07Correct exit value when one of the files specified cannot be checked out.Xavier Santolaria
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2007-02-22If a ,suffix file is given as an arg to ci and co, strip it. AvoidsOtto Moerbeek
2007-02-21make sure checkout_rev() sets correct file permissions via file->rf_modeNiall O'Higgins
2007-02-18keep correct permissions on the RCS file when locking/unlocking the fileXavier Santolaria
2007-02-01When checking to see if a checked-out copy of the file is the sameTodd C. Miller
2006-11-10Unlike GNU rcs, our co will not overwrite an existing file, evenTodd C. Miller
2006-11-09Simplify stripping of write bits from file mode.Todd C. Miller
2006-10-12- convert some warnx() to warn(), which fixes a few stupidly un-informative e...Niall O'Higgins
2006-08-07More strlcpy/strlcat -> snprintf/xasprintf cleanup.Ray Lai
2006-08-01Reduce rcs_buf_release() usage, improving binary support.Ray Lai
2006-06-03- correctly handle binary files; say bye bye to using c strings for deltatexts.Niall O'Higgins
2006-05-28Remove a lot of xstrdup() calls in getopt() loops, which are usuallyRay Lai
2006-05-27Rename RCSFILE.fd to RCSFILE.rf_fd, plus minor spacing nits. NoRay Lai
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-09Remove /* NOTREACHED */ comments, now that lint is smart aboutRay Lai
2006-05-05o GNU ci returns 0 when a file is reverted (co -l file; ci file).Ray Lai
2006-04-29Check return values for all strlcpy, and strlcat calls.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-25fatal() -> err()/errx() as we try to not depend on heavy cvs_log().Xavier Santolaria
2006-04-24be consistent in error messages for wrongly specified keyword substitutionXavier Santolaria
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-21switch -p handling to bitwise flags; OK ray@.Xavier Santolaria
2006-04-19switch -q handling to bitwise flags; OK ray@ niallo@.Xavier Santolaria
2006-04-15Plug some memory leaks; ok niallo@Patrick Latifi
2006-04-14excessive addition to brackets is a mental disease. you will goTheo de Raadt
2006-04-13correctly handle RCS files without any revisions;Joris Vink
2006-04-13*** empty log message ***Ray Lai