]> git.pld-linux.org Git - packages/cvs.git/blame - cvs-debian-l-opt.patch
- avoid datetime parsing errors.
[packages/cvs.git] / cvs-debian-l-opt.patch
CommitLineData
76652ff6
AM
1--- cvs-1.12.13.orig/debian/patches/81_fix_-l
2+++ cvs-1.12.13/debian/patches/81_fix_-l
3@@ -0,0 +1,26 @@
4+# Re-added -l option to the client. Does nothing, but stops
5+# warnings/errors. Will really fix #219950 and #224737, and also a
6+# differently-described bug (220379). Closes: #219950, #220379
7+#
8+# Patch by Steve McIntyre <steve@einval.com>
9+diff -ruN cvs-1.12.13-old/src/main.c cvs-1.12.13/src/main.c
10+--- cvs-1.12.13-old/src/main.c 2006-02-26 22:09:42.000000000 +0800
11++++ cvs-1.12.13/src/main.c 2006-02-26 22:09:43.000000000 +0800
12+@@ -511,7 +511,7 @@
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[] = "+QqrwtnRvb:T:e:d:Hfz:s:xal";
18+ static struct option long_options[] =
19+ {
20+ {"help", 0, NULL, 'H'},
21+@@ -669,6 +669,8 @@
22+ noexec = 1;
23+ logoff = 1;
24+ break;
25++ case 'l': /* no-op to simply ignore the old -l option */
26++ break;
27+ case 'v':
28+ (void) fputs ("\n", stdout);
29+ version (0, NULL);
This page took 0.136225 seconds and 4 git commands to generate.