summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.c
AgeCommit message (Expand)Author
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
2004-08-27Skip directory entries which have a file number of 0Jean-Francois Brousseau
2004-08-27Do not attempt to free directory information on error cases inJean-Francois Brousseau
2004-08-13More unused variablesJean-Francois Brousseau
2004-08-13When comparing a file's timestamp against the one found in the EntriesJean-Francois Brousseau
2004-08-12If we create a directory with cvs_file_create(), keep a pointer to theJean-Francois Brousseau
2004-08-12Implement cvs_file_getspec() so we can finally deal with explicit fileJean-Francois Brousseau
2004-08-10Cleanup, and don't close the Entries file handle for a directory when weJean-Francois Brousseau
2004-08-06* add a flag CF_NOSYMS to avoid loading information about symbolic linksJean-Francois Brousseau
2004-08-06Handle case insensitivity for realJean-Francois Brousseau
2004-08-06Add fields to keep track of the file's mode and last modification timeJean-Francois Brousseau
2004-08-06the CF_STAT flag is useless now, all we have to do is extract the requiredJean-Francois Brousseau
2004-08-03Fix an annoying error message on checkouts by loading administrativeJean-Francois Brousseau
2004-08-03cleanupJean-Francois Brousseau
2004-08-03Initialize ndirsJean-Francois Brousseau
2004-08-02Remove cruft and unbreak compilationJean-Francois Brousseau
2004-08-02Allocate a dynamic buffer for sorting. This way, we don't bork anymoreJean-Francois Brousseau
2004-07-31Minor fixes and remove debugging messagesJean-Francois Brousseau
2004-07-30Lots of cleanup, and add an internal version of cvs_file_get() so we canJean-Francois Brousseau
2004-07-30Add cvs_file_find() to find a particular file from its path within aJean-Francois Brousseau
2004-07-29Remove debugging statementsJean-Francois Brousseau
2004-07-29Loop on the call to getdirentries() until there are no more entries.Jean-Francois Brousseau
2004-07-29* move to tail queues for file list managementJean-Francois Brousseau
2004-07-29* when comparing timestamps, use the last modification time insteadJean-Francois Brousseau
2004-07-27the `.#*' pattern actually still matches, include it in standardJean-Francois Brousseau
2004-07-27Fix directory loading with the new file structure allocation codeJean-Francois Brousseau
2004-07-27* create cvs_file_alloc() to keep one copy of the file allocation codeJean-Francois Brousseau
2004-07-26* when loading a file, cvs_file_get() can now tell whether the fileJean-Francois Brousseau
2004-07-25* cleanup the file API with regards to flag handling andJean-Francois Brousseau
2004-07-23Revamp the file interface to make life easierJean-Francois Brousseau