summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcsnum.c
AgeCommit message (Expand)Author
2017-08-28fix const related warnings; ok millert@Otto Moerbeek
2016-10-13rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.Frederic Cambus
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
2012-07-02simplify rcsnum parsing by using a fixed array without all the reallocTed Unangst
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