=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/file.c,v retrieving revision 1.108 retrieving revision 1.109 diff -c -r1.108 -r1.109 *** src/usr.bin/cvs/file.c 2005/07/29 13:56:00 1.108 --- src/usr.bin/cvs/file.c 2005/07/29 17:04:42 1.109 *************** *** 1,4 **** ! /* $OpenBSD: file.c,v 1.108 2005/07/29 13:56:00 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: file.c,v 1.109 2005/07/29 17:04:42 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 245,251 **** * created. * Returns the created file on success, or NULL on failure. */ ! CVSFILE* cvs_file_create(CVSFILE *parent, const char *path, u_int type, mode_t mode) { int fd, l; --- 245,251 ---- * created. * Returns the created file on success, or NULL on failure. */ ! CVSFILE * cvs_file_create(CVSFILE *parent, const char *path, u_int type, mode_t mode) { int fd, l; *************** *** 324,330 **** * Returns the copied file on success, or NULL on failure. The returned * structure should be freed using cvs_file_free(). */ ! CVSFILE* cvs_file_copy(CVSFILE *orig) { char path[MAXPATHLEN]; --- 324,330 ---- * Returns the copied file on success, or NULL on failure. The returned * structure should be freed using cvs_file_free(). */ ! CVSFILE * cvs_file_copy(CVSFILE *orig) { char path[MAXPATHLEN]; *************** *** 653,659 **** * The file's pathname must be relative to the base of . * Returns the entry on success, or NULL on failure. */ ! CVSFILE* cvs_file_find(CVSFILE *hier, const char *path) { char *pp, *sp, pbuf[MAXPATHLEN]; --- 653,659 ---- * The file's pathname must be relative to the base of . * Returns the entry on success, or NULL on failure. */ ! CVSFILE * cvs_file_find(CVSFILE *hier, const char *path) { char *pp, *sp, pbuf[MAXPATHLEN]; *************** *** 1136,1142 **** * * Allocate a CVSFILE structure and initialize its internals. */ ! CVSFILE* cvs_file_alloc(const char *path, u_int type) { CVSFILE *cfp; --- 1136,1142 ---- * * Allocate a CVSFILE structure and initialize its internals. */ ! CVSFILE * cvs_file_alloc(const char *path, u_int type) { CVSFILE *cfp; *************** *** 1190,1196 **** * Returns a pointer to the created file structure on success, or NULL on * failure. */ ! static CVSFILE* cvs_file_lget(const char *path, int flags, CVSFILE *parent, struct cvs_ent *ent) { int ret; --- 1190,1196 ---- * Returns a pointer to the created file structure on success, or NULL on * failure. */ ! static CVSFILE * cvs_file_lget(const char *path, int flags, CVSFILE *parent, struct cvs_ent *ent) { int ret;