diff options
author | 2006-03-27 21:56:32 +0000 | |
---|---|---|
committer | 2006-03-27 21:56:32 +0000 | |
commit | c51cb395e54dc82a1b1d7391bf27f9373c5fe47a (patch) | |
tree | 2a1eb9503b3e73dbdf04474a09907520b1c6dec2 /usr.bin/rcs/rcsprog.c | |
parent | add a few more crypto cards. (diff) | |
download | wireguard-openbsd-c51cb395e54dc82a1b1d7391bf27f9373c5fe47a.tar.xz wireguard-openbsd-c51cb395e54dc82a1b1d7391bf27f9373c5fe47a.zip |
- properly implement GNU file modes. basically, checkout will inherit
permissions from rcs file and initial checkin will inherit permissions from
working file.
problem spotted by uwe@
ok ray@ xsa@
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r-- | usr.bin/rcs/rcsprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c index 60cb97d9f4e..73ace2b6a55 100644 --- a/usr.bin/rcs/rcsprog.c +++ b/usr.bin/rcs/rcsprog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsprog.c,v 1.88 2006/03/27 08:21:01 ray Exp $ */ +/* $OpenBSD: rcsprog.c,v 1.89 2006/03/27 21:56:32 niallo Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -450,7 +450,7 @@ rcs_main(int argc, char **argv) time_t rcs_mtime = -1; kflag = lkmode = -1; - fmode = 0; + fmode = S_IRUSR|S_IRGRP|S_IROTH; flags = RCS_RDWR|RCS_PARSE_FULLY; descfile = nflag = NULL; logstr = alist = comment = elist = NULL; |