summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcs.c
AgeCommit message (Expand)Author
2021-11-28Stop using MAXBSIZE to eliminate sys/param.h including (which injects aTheo de Raadt
2019-01-09When expanding $Log$ make sure a newline is added if rd_log has none.Joris Vink
2019-01-09Make sure rcs_lock_add() and rcs_lock_remove() properly update theJoris Vink
2018-12-30Delete unnecessary <libgen.h> #includesPhilip Guenther
2016-05-09Implement Mdocdate keyword substitution.Ingo Schwarze
2015-11-02Allow rcsnum_free and buf_free to accept NULL and remove various NULLNicholas Marriott
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-01-07ctype cleanups; ok okanTheo de Raadt
2012-03-03Remove unused variable, from Michael W Bombardieri who also got an okNicholas Marriott
2011-07-14spacing, no binary change.Igor Sobrado
2011-07-06Replace the keyword expansion code with a faster, more readable versionNicholas Marriott
2011-05-20Remove a bunch of unused functions, from Michael W Bombardieri.Nicholas Marriott
2011-04-20Remove some unneeded includes and dead code, from Michael W Bombardieri.Nicholas Marriott
2011-04-04previous commit introduced a crash: the removed strtol was being used toDamien Miller
2011-03-27- remove unused variablesJasper Lievisse Adriaanse
2010-12-10- plug an fd leakJasper Lievisse Adriaanse
2010-10-27Merge -k and expand @@ parsing code between OpenCVS and OpenRCS, resultingTobias Stoeckmann
2010-10-20Merge OpenCVS' rcs_deltatext_set into OpenRCS, fixing a memory leak.Tobias Stoeckmann
2010-10-20Remove the need for rp_file in parser structure, instead keep only oneTobias Stoeckmann
2010-10-15Replaced RCS parser code with new rcsparse.{c,h}:Tobias Stoeckmann
2010-10-05Zapped unused function rcs_tag_resolve.Tobias Stoeckmann
2010-10-05rcs_state_check must check for more invalid characters than just space.Tobias Stoeckmann
2010-09-29Ensure that we always parse all deltas before expecting "desc" keyword.Tobias Stoeckmann
2010-09-23Plug memory leak in rcs_getrev, from zinovik.Nicholas Marriott
2010-09-11Fixed typo.Tobias Stoeckmann
2010-09-02rcsnum_parse() allocates already an RCSNUM struct, so it's not needed toTobias Stoeckmann
2010-08-31styleTobias Stoeckmann
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
2010-07-23Rename a bunch of variables and functions, removing the cvs_/rcs_Ray Lai
2010-07-21Only use username if author is NULL. Fixes "ci -wusername" when runRay Lai
2010-07-13Don't read before the beginning of the log message if it is zero-lengthNicholas Marriott
2010-07-09Make cvs and rcs consistent in what characters they'll accept inChristian Weisgerber
2009-04-14tried to fix a the-the in the comment, ended up rewriting it. with/from joris@Janne Johansson
2009-02-25Checking if a file is ASCII should only be done when diffing, becauseRay Lai
2009-02-15add our temporary RCS file to our temp_files worklist in caseJoris Vink
2008-11-09Removed unneeded conversion from RCSNUM to string in rcs_rev_setlog.Tobias Stoeckmann
2008-11-08Support for retrieving revisions from branches in branches was missing.Tobias Stoeckmann
2008-10-09cvs(1) uses a config file to know about the $OpenBSD$ expansion keyword,Theo de Raadt
2008-09-17try getlogin() to get the real username when comitting files as root.Reyk Floeter
2008-05-11Memory leak in rcs_delta_stats plugged.Tobias Stoeckmann
2008-02-02From src/usr.bin/cvs:Xavier Santolaria
2008-01-31Revert last patch and add this magic branch number only duringTobias Stoeckmann
2008-01-06Branches are separated with \n\t in GNU rcs/cvs.Tobias Stoeckmann
2008-01-06gnu cvs added a new keyword 'commitid', this diff adds just enough codeNikolay Sturm
2007-08-27typo in error msg; from Igor Zinovik.Xavier Santolaria
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