=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/init.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/cvs/init.c 2005/01/05 18:34:01 1.9 --- src/usr.bin/cvs/init.c 2005/02/27 00:22:08 1.10 *************** *** 1,4 **** ! /* $OpenBSD: init.c,v 1.9 2005/01/05 18:34:01 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: init.c,v 1.10 2005/02/27 00:22:08 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 128,134 **** (void)close(fd); strlcat(path, RCS_FILE_EXT, sizeof(path)); ! rfp = rcs_open(path, RCS_MODE_WRITE); if (rfp == NULL) { return (EX_CANTCREAT); } --- 128,134 ---- (void)close(fd); strlcat(path, RCS_FILE_EXT, sizeof(path)); ! rfp = rcs_open(path, RCS_WRITE, 0644); if (rfp == NULL) { return (EX_CANTCREAT); }