1 # Don't make history and val-tags files world-writable when creating a
2 # new repository. (Closes: #125892)
4 # Author unknown, probably Eric Gillespie, Jr. <epg@debian.org>
5 diff -ruN cvs-1.12.13-old/src/mkmodules.c cvs-1.12.13/src/mkmodules.c
6 --- cvs-1.12.13-old/src/mkmodules.c 2005-05-25 04:59:01.000000000 +0800
7 +++ cvs-1.12.13/src/mkmodules.c 2006-02-26 22:27:55.000000000 +0800
9 fp = xfopen (info, "w");
11 error (1, errno, "cannot close %s", info);
13 - /* Make the new history file world-writeable, since every CVS
14 - user will need to be able to write to it. We use chmod()
15 - because xchmod() is too shy. */
19 /* Make an empty val-tags file to prevent problems creating it later. */
20 @@ -1267,11 +1262,6 @@
21 fp = xfopen (info, "w");
23 error (1, errno, "cannot close %s", info);
25 - /* Make the new val-tags file world-writeable, since every CVS
26 - user will need to be able to write to it. We use chmod()
27 - because xchmod() is too shy. */