[BACK]Return to file.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/file.c between version 1.108 and 1.109

version 1.108, 2005/07/29 13:56:00 version 1.109, 2005/07/29 17:04:42
Line 245 
Line 245 
  * created.   * created.
  * Returns the created file on success, or NULL on failure.   * Returns the created file on success, or NULL on failure.
  */   */
 CVSFILE*  CVSFILE *
 cvs_file_create(CVSFILE *parent, const char *path, u_int type, mode_t mode)  cvs_file_create(CVSFILE *parent, const char *path, u_int type, mode_t mode)
 {  {
         int fd, l;          int fd, l;
Line 324 
Line 324 
  * Returns the copied file on success, or NULL on failure.  The returned   * Returns the copied file on success, or NULL on failure.  The returned
  * structure should be freed using cvs_file_free().   * structure should be freed using cvs_file_free().
  */   */
 CVSFILE*  CVSFILE *
 cvs_file_copy(CVSFILE *orig)  cvs_file_copy(CVSFILE *orig)
 {  {
         char path[MAXPATHLEN];          char path[MAXPATHLEN];
Line 653 
Line 653 
  * The file's pathname <path> must be relative to the base of <hier>.   * The file's pathname <path> must be relative to the base of <hier>.
  * Returns the entry on success, or NULL on failure.   * Returns the entry on success, or NULL on failure.
  */   */
 CVSFILE*  CVSFILE *
 cvs_file_find(CVSFILE *hier, const char *path)  cvs_file_find(CVSFILE *hier, const char *path)
 {  {
         char *pp, *sp, pbuf[MAXPATHLEN];          char *pp, *sp, pbuf[MAXPATHLEN];
Line 1136 
Line 1136 
  *   *
  * Allocate a CVSFILE structure and initialize its internals.   * Allocate a CVSFILE structure and initialize its internals.
  */   */
 CVSFILE*  CVSFILE *
 cvs_file_alloc(const char *path, u_int type)  cvs_file_alloc(const char *path, u_int type)
 {  {
         CVSFILE *cfp;          CVSFILE *cfp;
Line 1190 
Line 1190 
  * Returns a pointer to the created file structure on success, or NULL on   * Returns a pointer to the created file structure on success, or NULL on
  * failure.   * failure.
  */   */
 static CVSFILE*  static CVSFILE *
 cvs_file_lget(const char *path, int flags, CVSFILE *parent, struct cvs_ent *ent)  cvs_file_lget(const char *path, int flags, CVSFILE *parent, struct cvs_ent *ent)
 {  {
         int ret;          int ret;

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.109