summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/util.c
AgeCommit message (Expand)Author
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
2005-05-20* proper memsetPatrick Latifi
2005-05-20unused varJoris Vink
2005-05-19use the date parsing code from date.y and fix timestamps on newlyJean-Francois Brousseau
2005-05-18build a local copy of the client's source tree when acting as a server.Joris Vink
2005-04-18Modify the CVSFILE structure using a union to keep information aboutJean-Francois Brousseau
2005-04-16more snprintf return value check; joris okXavier Santolaria
2005-04-16snprintf return value check; joris okXavier Santolaria
2004-12-22spelling corrections; ok jmc@David Krause
2004-12-13if we fail to generate a file's checksum, print the path of the fileJean-Francois Brousseau
2004-12-07less whitespace, more pretty. ok jfbTed Unangst
2004-12-07add missing parts for support of .cvsrcJean-Francois Brousseau
2004-12-06reorder some of the code for argument vector splitting so we don'tJean-Francois Brousseau
2004-12-06tighten vertical spacing for else; jfb okTheo de Raadt
2004-12-03Handle files mode 750.Tobias Weingartner
2004-11-26Rewrite the internals of the file management code so that we do not keepJean-Francois Brousseau
2004-11-10missing headerskrapht
2004-11-09cvs_exec()krapht
2004-08-13Handle RFC822 and ctime(3) style timestampsJean-Francois Brousseau
2004-08-13Add cvs_datesec() to calculate the time_t value corresponding to aJean-Francois Brousseau
2004-08-12Before stating the Root file, make sure we actually have something toJean-Francois Brousseau
2004-08-06Simplify cvs_splitpath() by requiring only one buffer to copy the resultJean-Francois Brousseau
2004-08-05When splitting a path, strip the trailing slashes before splitting it,Jean-Francois Brousseau
2004-07-30When calling cvs_mkadmin(), only create the files if they don't alreadyJean-Francois Brousseau
2004-07-30Move to the new API for the client-server protocol. All functions nowJean-Francois Brousseau
2004-07-28Add a newline at the end of the strings put in CVS/Root andJean-Francois Brousseau
2004-07-27* create cvs_file_alloc() to keep one copy of the file allocation codeJean-Francois Brousseau