summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsclean.c
AgeCommit message (Expand)Author
2016-08-26Pull in <time.h> for struct tm, used in rcs.hPhilip Guenther
2015-11-02Allow rcsnum_free and buf_free to accept NULL and remove various NULLNicholas Marriott
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-02exit in usage functions themselves; from Fritjof Bornebusch; ok nicm@Otto Moerbeek
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
2007-06-30Sync revisions and time buffers size to be consistent with each others.Xavier Santolaria
2007-04-16file argument is not mandatory, say so.Xavier Santolaria
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2006-05-27Remove rcs_statfile(). It was just a wrapper for rcs_choosefile(),Ray Lai
2006-05-09Remove /* NOTREACHED */ comments, now that lint is smart aboutRay 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-25The -r flag without an argument signifies HEAD for rcsclean.Ray Lai
2006-04-24- the argument to -r is optionalJason McIntyre
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-19switch -q handling to bitwise flags; OK ray@ niallo@.Xavier Santolaria
2006-04-17Remove pointless stat() call.Ray Lai
2006-04-14Add missing usage() calls.Ray Lai
2006-04-14Plug obvious memory leaks.Ray Lai
2006-04-14excessive addition to brackets is a mental disease. you will goTheo de Raadt
2006-04-13Remove unused variable.Ray Lai
2006-04-13*** empty log message ***Ray Lai
2006-04-12Clean up <rev> handling. Whenever a revision is specified after aRay Lai
2006-04-10change rcs_kwexp_set() return type to void and simplify its use. OK niallo@.Xavier Santolaria
2006-03-24change rcsclean_file() return type to void as it does not needXavier Santolaria
2006-03-24Allow the -x flag to be used without an extension.Ray Lai
2006-03-16Follow exit() with /* NOTREACHED*/ for lint.Ray Lai
2006-03-15remove some bizzare idioms; ok rayTheo de Raadt
2006-03-06update usage();Jason McIntyre
2006-01-05cleanup, move log.h and rcs.h inclusion into rcsprog.h;Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-19use fatal() if getlogin() fails;Xavier Santolaria
2005-12-10switch to xmalloc stuff, me and xsa@ agreed on this a longJoris Vink
2005-12-08complete and correct rcs locking functionality,Joris Vink
2005-11-28sync usage() for `-xsuffixes';Xavier Santolaria
2005-11-25add `-T' support for rcsclean(1) and rcs(1);Xavier Santolaria
2005-11-23initial bits for -T support;Xavier Santolaria
2005-11-21enable `-xsuffixes' support as it has been added a few days agoXavier Santolaria
2005-11-17yet another output fix;Xavier Santolaria
2005-11-16fix output if file is not locked;Xavier Santolaria
2005-11-02sync with Reality;Xavier Santolaria
2005-10-29rcsclean -u support; ok joris nialloXavier Santolaria
2005-10-19sync usage();Xavier Santolaria
2005-10-19.Xr rcsmerge(1) + one style nitpick;Xavier Santolaria
2005-10-18use rcs_set_rev() instead of duplicating code all over theJoris Vink
2005-10-13To be fully compatibly with the GNU RCS tools we need to have theJoris Vink