summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcsnum.c
AgeCommit message (Expand)Author
2008-05-22correctly deal with non-zero depths specified in rcsnum_cmp();Joris Vink
2008-03-01goodbye rcs_errno - we didnt use you and you wont be missedJoris Vink
2008-02-09- always remove the additional .0 from magic branches, even whenJoris Vink
2008-01-31Handle magic branch numbers in OpenCVS as well.Tobias Stoeckmann
2008-01-10Slap in -b support for tag command. It was missing for a full regress testTobias Stoeckmann
2007-12-09Fix for an off-by-one.Tobias Stoeckmann
2007-09-24add support to commit modified files to branches.Joris Vink
2007-09-04Replaced strlen() with sizeof() - 1 when #define'd strings are used.Tobias Stoeckmann
2007-05-29Since xrealloc dies on failure it is safe to directly assign to theRay Lai
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,Kenneth R Westerback
2007-05-12Change 0x30 to more readable '0'.Ray Lai
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-21Replace a manual xrealloc with rcsnum_setsize.Ray Lai
2006-11-13Check strlcpy/strlcat return values; from usr.bin/rcs/rcsnum.cXavier Santolaria
2006-07-27Pull in improper memory allocation from RCS:Ray Lai
2006-05-31be smarter when comparing 2 revisions to each other.Joris Vink
2006-05-27commit the new opencvs code, i have been hacking onJoris Vink
2006-04-14- swap a hack for a slightly nicer hack using a global variable. this avoidsNiall O'Higgins
2006-04-14spacingTheo de Raadt
2006-04-14remove a metric buttload of excessive ()Theo de Raadt
2006-04-06rcsnum_setsize() will never return non-zero; change its return type to void.Xavier Santolaria
2006-04-05Use variable names for sizeof, remove casts in front of xmalloc,Ray Lai
2006-03-30first part of supporting branches in openrcs. right now we can onlyJoris Vink
2006-03-30 - Comment fixes.Ray Lai
2006-03-28Today is Integer Overflow Prevention Day:Ray Lai
2006-03-18Change code to match comments, fixing potential off-by-one error.Ray Lai
2006-03-15remove some bizzare idioms; ok rayTheo de Raadt
2006-03-11- implement GNU-compatible handling of revisions specified as singleNiall O'Higgins
2006-03-11Fix rcsnum_tostr() description.Ray Lai
2006-01-28- don't segfault on rcsnum overflow.Niall O'Higgins
2006-01-03knf;Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-30knfReyk Floeter
2005-12-27- optimise rcsnum_tostr(). we call this function a LOT and using multipleNiall O'Higgins
2005-12-12rcsnum_alloc() and rcsnum_cpy() no longer can fail, so don'tJoris Vink
2005-12-10switch to xmalloc stuff, me and xsa@ agreed on this a longJoris Vink
2005-10-10add rcsnum_dec() api call, decreases a revision number by one.Joris Vink
2005-09-19Add preprocessor directives needed for usr.bin/rcs programs to compile.Niall O'Higgins
2005-08-02handle magic branch numbers.Joris Vink
2005-07-25KNF;Xavier Santolaria
2005-07-25KNF;Xavier Santolaria
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
2005-05-26add a couple of functions to go from branch numbers to revisions andJean-Francois Brousseau
2005-04-13make rcsnum_tostr() return an empty string if the RCSNUM is NULLJean-Francois Brousseau
2005-03-05add RCS error codes and a global variable to hold the last errorJean-Francois Brousseau
2005-02-25- switch to rcsnum_parse() where appropriateJean-Francois Brousseau
2005-02-25add rcsnum_parse() to simplify the most common caseJean-Francois Brousseau
2005-01-03limit the maximum length of RCS numbers to 64 nums and avoidJean-Francois Brousseau
2004-12-10proper typecast to get rid of another warningJean-Francois Brousseau
2004-12-07less whitespace, more pretty. ok jfbTed Unangst