summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/util.c
AgeCommit message (Expand)Author
2007-07-19xcalloc is unneeded here since i is always 0 and we always use theRay Lai
2007-07-03Rework the way opencvs works in relation to files in the Attic/:Joris Vink
2007-05-29Since xrealloc dies on failure it is safe to directly assign to theRay Lai
2007-05-27Fix off-by-one, from Tobias Stoeckmann.Ray Lai
2007-05-09cvs_splitpath() isn't used anymore; from Tobias Stoeckmann.Xavier Santolaria
2007-04-20- correct signal handling and process waiting for the EDITOR support codeXavier Santolaria
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-19Fix const inconsistencies, void pointer artithmetic and a few otherOtto Moerbeek
2007-02-17cvs_path_cat() removal since we can now easily handle thatXavier Santolaria
2007-02-07fstat() -> lstat() in a few select cases,Todd T. Fries
2007-01-26Handle CVS/Entries and file timestamp correctly so we doJoris Vink
2007-01-25plug a memleak in keyword expansion.Niall O'Higgins
2007-01-20Add missing check for fgets return value inThordur I. Bjornsson
2007-01-20sweep opencvs for missing rcs_translate_tag() return checks.Niall O'Higgins
2007-01-19another place to check for DT_UNKNOWN for d_type for afs/nfsTodd T. Fries
2007-01-17add support for remote checkout in both our client and server,Joris Vink
2007-01-11rework opencvs so that we can deal with binary files. previously we assumed ...Niall O'Higgins
2007-01-07zap-o-matic 2007:Joris Vink
2007-01-03bring back cvs_yesno() as is it going to be used pretty soon now.Xavier Santolaria
2006-12-05unlink(2) sets errno, use it for error message.Xavier Santolaria
2006-12-05rmdir(2) sets errno, use it for error message.Xavier Santolaria
2006-11-28snprintf() -> cvs_path_cat()Xavier Santolaria
2006-10-11check fgets(3) return value and also fix aThordur I. Bjornsson
2006-07-09more straightforward trace (-t) output, too much is just too noisy.Joris Vink
2006-07-07first part of opencvs remote, fairly useable on existing treesJoris Vink
2006-06-14simplify cvs_hack_time() and the way it is called;Joris Vink
2006-06-14handle existing CVS/Tag file when adding new directories. OK joris@.Xavier Santolaria
2006-06-07a bug in cvs_mkpath() prevented to create the CVS admin directory andReyk Floeter
2006-05-30make sure cvs_get_repository_path returns a valid repo nameJoris Vink
2006-05-30hello import, only works for non-existing repositories right now,Joris Vink
2006-05-29make the log command use rcs_translate_tagJoris Vink
2006-05-28add code which allows us to select revisions based uponJoris Vink
2006-05-28several fixes to the file api:Joris Vink
2006-05-27boogie cvs_yesno() down the removal hatch, it is not used.Joris Vink
2006-05-27commit the new opencvs code, i have been hacking onJoris Vink
2006-04-14remove a metric buttload of excessive ()Theo de Raadt
2006-04-05Use variable names for sizeof, remove casts in front of xmalloc,Ray Lai
2006-03-29Yet more lint:Ray Lai
2006-03-28xmalloc(num * size) -> xcalloc(num, size)Ray Lai
2006-03-28Today is Integer Overflow Prevention Day:Ray Lai
2006-03-27Plug a memory leak for all cvs_strsplit call sites; ok xsa@Patrick Latifi
2006-03-17- Lint says cvs_hacktime() is not used in rcs, so move it into !RCSPROG.Niall O'Higgins
2006-03-17rlog_strsplit() -> cvs_strsplit() and move it to util.c so it can be reusedXavier Santolaria
2006-03-15- add util.h, reorganising a bunch of things and exposing cvs_yesno()Niall O'Higgins
2006-01-27cvs_mkadmin() cannot return < 0 anymore;Xavier Santolaria
2006-01-25strings cleanup; OK niallo@.Xavier Santolaria
2006-01-02rename variable to fix shadow warning;Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2006-01-01more code cleanup;Joris Vink
2005-12-30more code cleanup, ok niallo@ and xsa@Joris Vink