summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.c
AgeCommit message (Expand)Author
2017-08-28Use xasprintf() instead of calloc() + strlcpy() + memcpy() toTodd C. Miller
2017-05-31Plug memleak in rcs_translate_tag() that was causing havoc on large repos.Joris Vink
2016-10-15Quiet compiler warnings. OK tomc@ tb@Todd C. Miller
2016-10-13rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.Frederic Cambus
2016-10-13Fix revision lookups for branches. Properly perform a revisionTodd C. Miller
2015-11-05Remove xfree(), like already done for RCS. From Michael W Bombardieri,Nicholas Marriott
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-01-08unsigned char for ctype. ok deraadtOkan Demirmen
2011-05-02Fix bad return value check for rcsnum_cmp()Charles Longeau
2011-03-27Get rid of some warnings, from Michael W Bombardieri.Nicholas Marriott
2010-11-11Nuke dead assignments and a dead function, from Michael W BombardieriNicholas Marriott
2010-10-31init was passing a writable file descriptor into rcs_open which was thenNicholas Marriott
2010-10-27Merge -k and expand @@ parsing code between OpenCVS and OpenRCS, resultingTobias Stoeckmann
2010-10-20Remove the need for rp_file in parser structure, instead keep only oneTobias Stoeckmann
2010-10-15Fixed default branch handling and added support for branches in branches.Tobias Stoeckmann
2010-10-15Replaced RCS parser code with new rcsparse.{c,h}:Tobias Stoeckmann
2010-09-29Ensure that we always parse all deltas before expecting "desc" keyword.Tobias Stoeckmann
2010-09-11Fixed typo.Tobias Stoeckmann
2010-09-03Rename RCSNUM's fd to rf_fd, complies to other variable names andTobias Stoeckmann
2010-09-02rcsnum_parse() allocates already an RCSNUM struct, so it's not needed toTobias Stoeckmann
2010-07-31When looking for revision, break out of the loop at the end rather thanNicholas Marriott
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-13PR 6423 fix for cvs too, requested by xsa@.Nicholas Marriott
2010-07-09Make cvs and rcs consistent in what characters they'll accept inChristian Weisgerber
2010-03-30This diff synchronizes rcs parser code with OpenRCS. It shrinks code by 3zinovik
2009-06-07More cvs/diff/rcs convergence:Ray Lai
2009-06-06Sync some rcsdiff changes to cvsdiff. As a side effect,Ray Lai
2009-03-30kill rp_lines, we do not need it when parsing an RCS file.Joris Vink
2009-03-25prevent a very difficult to reach, but possible use after free.Joris Vink
2009-03-22Properly free allocated memory in error case.Tobias Stoeckmann
2009-02-21Properly convert dates between timezones before comparison.Tobias Stoeckmann
2009-02-18fix off by one character when constructing $Mdocdate$.Joris Vink
2009-02-15add our temporary RCS file to our temp_files worklist in caseJoris Vink
2009-01-02Add format attributes to functions that use variable arguments andCan Erkin Acar
2008-11-09Removed unneeded conversion from RCSNUM to string in rcs_rev_setlog.Tobias Stoeckmann
2008-09-17try getlogin() to get the real username when comitting files as root.Reyk Floeter
2008-09-12Plugged two memory leaks which could be encountered while using -r argumentTobias Stoeckmann
2008-09-12Be very conservative about state changes with "admin -s". With GNU CVSTobias Stoeckmann
2008-06-26plug a memleak in rcs_rev_getlines() - initially noticed & diff byJoris Vink
2008-06-15if we are using RCS_PARSE_FULLY we can close the RCS file descriptorJoris Vink
2008-06-15Support the addition of new files in branches.Tobias Stoeckmann
2008-06-14Conforming to RCS specification, it is possible but unlikely to encounterTobias Stoeckmann
2008-06-14Added support for sticky date set in CVS/Tag and CVS/Entries per directory.Tobias Stoeckmann
2008-06-14don't always re-open the same CVS/Entries file, instead keep theJoris Vink
2008-06-14Fixed wrong function name in fatal call.Tobias Stoeckmann
2008-06-12we should be able to handle symbol names that are also RCS tokens,Joris Vink
2008-06-12completely kill the need for TMP_DIR when running checkout,Joris Vink
2008-06-10properly inherit file permissions.Joris Vink