artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2700a32
)
Disable logging to CVSROOT/history if we are running on a read-only file
author
tholo
<tholo@openbsd.org>
Sat, 14 Sep 1996 21:23:36 +0000
(21:23 +0000)
committer
tholo
<tholo@openbsd.org>
Sat, 14 Sep 1996 21:23:36 +0000
(21:23 +0000)
system
gnu/usr.bin/cvs/src/main.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/cvs/src/main.c
b/gnu/usr.bin/cvs/src/main.c
index
0150771
..
bf9c83c
100644
(file)
--- a/
gnu/usr.bin/cvs/src/main.c
+++ b/
gnu/usr.bin/cvs/src/main.c
@@
-334,8
+334,10
@@
main (argc, argv)
}
if (getenv (CVSREAD_ENV) != NULL)
cvswrite = FALSE;
- if (getenv (CVSREADONLYFS_ENV))
+ if (getenv (CVSREADONLYFS_ENV))
{
readonlyfs = TRUE;
+ logoff = TRUE;
+ }
if ((cp = getenv (CVSUMASK_ENV)) != NULL)
{
/* FIXME: Should be accepting symbolic as well as numeric mask. */