summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/util.c
AgeCommit message (Expand)Author
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
2005-12-24add an argument to cvs_chdir() which enables or not the removalXavier Santolaria
2005-12-24remove useless cvs_buf_alloc() failure checks;Joris Vink
2005-12-22cvs_chdir() cannot fail anymore;Xavier Santolaria
2005-12-22another fatal() round;Xavier Santolaria
2005-12-10switch to xmalloc stuff, me and xsa@ agreed on this a longJoris Vink
2005-12-03fix date handling in opencvs, this was broken since the very start.Joris Vink
2005-12-03nuke unused vars;Joris Vink
2005-12-03add very basic support for the following stuff:Joris Vink
2005-10-30nuke trailing whitespaces;Xavier Santolaria
2005-10-22diff3 support, needed for merging files together;Joris Vink
2005-10-07knf and spacing, ok joris@Reyk Floeter
2005-09-15check in cvs_mkadmin() wether we need to create or not theXavier Santolaria
2005-09-05add new functions: cvs_write_tagfile() and cvs_parse_tagfile(),Xavier Santolaria
2005-08-17trailing whitespaces ...Xavier Santolaria
2005-08-12add cvs_rename() function; ok jfbXavier Santolaria
2005-07-30o remove a call to cvs_ent_open() from cvs_file_create(),Moritz Jodeit
2005-07-27check == -1 not != 0 for stat() return value, for consistency sake!Xavier Santolaria
2005-07-27make cvs_rmdir() handle global -n and -t options; ok joris@.Xavier Santolaria
2005-07-27rename cvs_remove_dir() to cvs_rmdir() because it might be confusingXavier Santolaria
2005-07-26no need to complain that we cannot remove the file in cvs_unlink()Joris Vink
2005-07-25minor KNF;Xavier Santolaria
2005-07-25KNF;Xavier Santolaria