From 1df51660481a8cba57af899a33503c4057ba59ec Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 19 Mar 2008 14:55:59 +0000 Subject: [PATCH] Merge rev 1.3 (catch write-lock attempts immediately if running in read-only mode) & rev 1.2 (check out from read-only repository support) into version 1.11-20080310. --- contrib/cvs/src/lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/cvs/src/lock.c b/contrib/cvs/src/lock.c index a407dacfca13..d8e78fa38e2b 100644 --- a/contrib/cvs/src/lock.c +++ b/contrib/cvs/src/lock.c @@ -175,7 +175,7 @@ lock_name (repository, name) const char *p; char *q; const char *short_repos; - mode_t save_umask; + mode_t save_umask = 0; int saved_umask = 0; if (lock_dir == NULL)