summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/util.c
AgeCommit message (Expand)Author
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
2005-07-24use cvs_unlink() here too;Xavier Santolaria
2005-07-24add cvs_unlink(); a wrapper to unlunk() w/ an error msg as it is used inXavier Santolaria
2005-07-23use cvs_chdir();Xavier Santolaria
2005-07-23add cvs_chdir(); a wrapper to chdir() w/ an error msg as it is used inXavier Santolaria
2005-07-19use cvs_path_cat() where appropriate; ok joris@.Xavier Santolaria
2005-07-19spacingTheo de Raadt
2005-07-13add cvs_rcs_getpath() function. Returns the path of the RCS file if itXavier Santolaria
2005-06-17correctly build a temporary copy of the client its repositoryJoris Vink
2005-06-14missing closedir() on error path; ok joris xsaPatrick Latifi
2005-06-02remove unneeded error reporting when using cvs_path_cat(), theJoris Vink
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
2005-05-27- check strlcpy() return values for truncationJean-Francois Brousseau
2005-05-26don't keep a pointer to the file handle in CVSENTRIES, it is onlyJean-Francois Brousseau
2005-05-24- simplify cvs_mkadmin().Joris Vink