summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.c
AgeCommit message (Expand)Author
2005-05-28make sure we check the Entry file when we need to.Joris Vink
2005-05-25assume that a file is modified if its timestamp is lowerJean-Francois Brousseau
2005-05-24don't fail on mkdir(2) when errno is EEXIST in cvs_file_create().Joris Vink
2005-05-24- simplify cvs_mkadmin().Joris Vink
2005-05-24Merge the cvs_cmd and cvs_cmd_info structures and add the necessaryJean-Francois Brousseau
2005-05-22unused variableJoris Vink
2005-05-20plug a memleakJoris Vink
2005-05-20allow a cvs command to be executed from outside a repository,Joris Vink
2005-05-20execute the command callback at the same time we are buildingJoris Vink
2005-05-20don't attempt to copy the file's tag from the entry if we're dealingJean-Francois Brousseau
2005-05-12set cvsent to NULL if entfile is NULL, fixes a crashJoris Vink
2005-05-12introduce a new flag to the file api: CF_NOFILES, which allows usJoris Vink
2005-05-01if CF_MKADMIN flag is specified the administrative files willJoris Vink
2005-04-25first part of file API changes:Joris Vink
2005-04-22finish support for the '-' token in the Entry file, this allowsJoris Vink
2005-04-19update cf_type to the correct type if we cannot stat(2) theJoris Vink
2005-04-18only copy ce_tag is it is not NULL, fixes a segfault onJoris Vink
2005-04-18free cf_tag for regular files in cvs_file_free();Joris Vink
2005-04-18more debugging leftoversJoris 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-13file callbacks won't return -1 anymore, but a CVS_EX_* errorJoris Vink
2005-03-29cvs_file_attach() can fail, make sure we can handle itJoris Vink
2005-03-26fix a variety of things i found at coverity. ok joris@Ted Unangst
2005-03-24ditch the filename hash table and use the new strtab code insteadJean-Francois Brousseau
2005-03-05fix file loading when recursion is disabled. this should fix theJean-Francois Brousseau
2005-03-05make sure that errors from cvs_file_lget() cascade down instead ofJean-Francois Brousseau
2005-03-02add a flag to identify the base directory in file hierarchies.Joris Vink
2005-02-25- switch to rcsnum_parse() where appropriateJean-Francois Brousseau
2005-01-24when loading a file's information, remove its entry from the parentJean-Francois Brousseau
2005-01-12use basename(3) instead of mangling the path to figure out theJean-Francois Brousseau
2005-01-11Close the Entries file we just created upon directory creation. ThisJean-Francois Brousseau
2005-01-06add *.core as part of the standard ignore patternsJean-Francois Brousseau
2005-01-06* always assign a cvsroot to directories, even if they are unknownJean-Francois Brousseau
2005-01-03when releasing a file structure, free the reference to its name soJean-Francois Brousseau
2004-12-28check the return values of rcsnum_alloc() and rcsnum_aton() onJean-Francois Brousseau
2004-12-28add more standard patterns to ignore; jfb okXavier Santolaria
2004-12-14When loading directory entries, create file structures for files whichJean-Francois Brousseau
2004-12-13get rid of void* arithmetic to nuke another gcc warningJean-Francois Brousseau
2004-12-08check the return value of a strdup() call and return an error onJean-Francois Brousseau
2004-12-08avoid complaining twice when we fail to load a file, and fix a gccJean-Francois Brousseau
2004-12-07when loading directory info, only close the handle to the Entries fileJean-Francois Brousseau
2004-12-07less whitespace, more pretty. ok jfbTed Unangst
2004-12-06tighten vertical spacing for else; jfb okTheo de Raadt
2004-12-06when loading the file information from the Entries file, open it inJean-Francois Brousseau
2004-12-03If the timestamp in the Entries file is larger than the file'sJean-Francois Brousseau
2004-12-02Add cvs_file_copy() to create a copy of a file structure.Jean-Francois Brousseau
2004-11-26Rewrite the internals of the file management code so that we do not keepJean-Francois Brousseau
2004-08-31check return value of strdup(3);Joris Vink
2004-08-27Unbreak when running into files with an inode of 0Jean-Francois Brousseau