summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcsnum.c
AgeCommit message (Expand)Author
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
2004-07-29Do not error out when calling rcsnum_aton() on the string "0", which isJean-Francois Brousseau
2004-07-14fix memleak on rcsnum reuseVincent Labrecque
2004-07-13* initial import from the cvs-tools moduleJean-Francois Brousseau