/[pkgs]/devel/sed/sed-4.2.1-dummyparam.diff
ViewVC logotype

Contents of /devel/sed/sed-4.2.1-dummyparam.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Jul 1 10:42:17 2009 UTC (4 months, 3 weeks ago) by jmoskovc
Branch: MAIN
CVS Tags: sed-4_2_1-2_fc12, F-12-split, sed-4_2_1-4_fc13, sed-4_2_1-1_fc12, sed-4_2_1-3_fc12, HEAD
File MIME type: text/x-diff
Update to version 4.2.1
1 --- sed-4.2.1/sed/sed.c 2009-06-03 21:10:51.000000000 +0200
2 +++ sed-4.2.1_copy/sed/sed.c 2009-06-30 14:12:28.000000000 +0200
3 @@ -174,11 +174,11 @@ main(argc, argv)
4 char **argv;
5 {
6 #ifdef REG_PERL
7 -#define SHORTOPTS "bsnrRuEe:f:l:i::V:"
8 +#define SHORTOPTS "cbsnrRuEe:f:l:i::V:"
9 #else
10 -#define SHORTOPTS "bsnruEe:f:l:i::V:"
11 +#define SHORTOPTS "cbsnruEe:f:l:i::V:"
12 #endif
13 -
14 +/* -c --copy is just a dummy param to keep backward compatibility */
15 static struct option longopts[] = {
16 {"binary", 0, NULL, 'b'},
17 {"regexp-extended", 0, NULL, 'r'},
18 @@ -196,6 +196,7 @@ main(argc, argv)
19 {"unbuffered", 0, NULL, 'u'},
20 {"version", 0, NULL, 'v'},
21 {"help", 0, NULL, 'h'},
22 + {"copy", 0, NULL, 'c'},
23 #ifdef ENABLE_FOLLOW_SYMLINKS
24 {"follow-symlinks", 0, NULL, 'F'},
25 #endif

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2