]> git.pld-linux.org Git - packages/cvs.git/blob - cvs-debian-l-opt.patch
rel 20; rediff patches
[packages/cvs.git] / cvs-debian-l-opt.patch
1 #  Re-added -l option to the client. Does nothing, but stops
2 #  warnings/errors. Will really fix #219950 and #224737, and also a
3 #  differently-described bug (220379). Closes: #219950, #220379
4 #
5 # Patch by Steve McIntyre <steve@einval.com>
6 diff -ruN cvs-1.12.13-old/src/main.c cvs-1.12.13/src/main.c
7 --- cvs-1.12.13-old/src/main.c  2006-02-26 22:09:42.000000000 +0800
8 +++ cvs-1.12.13/src/main.c      2006-02-26 22:09:43.000000000 +0800
9 @@ -511,7 +511,7 @@
10      int help = 0;              /* Has the user asked for help?  This
11                                    lets us support the `cvs -H cmd'
12                                    convention to give help for cmd. */
13 -    static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xa";
14 +    static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xal";
15      static struct option long_options[] =
16      {
17          {"help", 0, NULL, 'H'},
18 @@ -669,6 +669,8 @@
19                 noexec = 1;
20                 logoff = 1;
21                 break;
22 +        case 'l': /* no-op to simply ignore the old -l option */
23 +            break;
24             case 'v':
25                 (void) fputs ("\n", stdout);
26                 version (0, NULL);    
This page took 0.081679 seconds and 3 git commands to generate.