1 $DragonFly: src/gnu/usr.bin/cvs/cvs/Attic/main.c.patch,v 1.2 2005/03/13 11:43:07 corecode Exp $
2 --- /usr/src/contrib/cvs-1.12.11/src/main.c 2005-01-05 22:17:44.000000000 +0100
3 +++ main.c 2005-03-07 09:06:36.000000000 +0100
5 " -q Cause CVS to be somewhat quiet.\n",
6 " -r Make checked-out files read-only.\n",
7 " -w Make checked-out files read-write (default).\n",
8 + " -g Force group-write perms on checked-out files.\n",
9 " -n Do not execute anything that will change the disk.\n",
10 " -t Show trace of program execution (repeat for more\n",
11 " verbosity) -- try with -n.\n",
13 int help = 0; /* Has the user asked for help? This
14 lets us support the `cvs -H cmd'
15 convention to give help for cmd. */
16 - static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xa";
17 + static const char short_options[] = "+QqgrwtnRvb:T:e:d:Hfz:s:xa";
18 static struct option long_options[] =
20 {"help", 0, NULL, 'H'},
27 + * Force full group write perms (used for shared checked-out
28 + * source trees, see manual page)
30 + umask(umask(S_IRWXG|S_IRWXO) & S_IRWXO);
39 +/* This is just too much output */
41 if (readonlyfs && !really_quiet) {
43 "WARNING: Read-only repository access mode selected via `cvs -R'.\n\
44 Using this option to access a repository which some users write to may\n\
45 cause intermittent sandbox corruption.");
49 /* Look up the command name. */