PERFORCE change 144782 for review
Gabor Kovesdan
gabor at FreeBSD.org
Sun Jul 6 13:50:54 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=144782
Change 144782 by gabor at gabor_server on 2008/07/06 13:50:22
- Add --speed-large-files. At the moment this is a compatibility
noop, optimization comes later.
Affected files ...
.. //depot/projects/soc2008/gabor_textproc/diff/diff.c#11 edit
Differences ...
==== //depot/projects/soc2008/gabor_textproc/diff/diff.c#11 (text+ko) ====
@@ -61,7 +61,8 @@
FCASE_IGNORE_OPT,
FROMFILE_OPT,
TOFILE_OPT,
- UNIDIR_OPT
+ UNIDIR_OPT,
+ SPEEDLF_OPT
};
#define OPTIONS "0123456789abC:cdD:efhI:iL:lnNPpqrS:sTtU:uvwX:x:"
@@ -82,8 +83,8 @@
{ "from-file", required_argument, NULL, FROMFILE_OPT },
{ "to-file", required_argument, NULL, TOFILE_OPT },
/* XXX: UNIMPLEMENTED
- { "horizon-lines", required_argument, NULL, OPT_HLINES },
- { "speed-large-files", no_argument, NULL, OPT_LFILES }, */
+ { "horizon-lines", required_argument, NULL, OPT_HLINES }, */
+ { "speed-large-files", no_argument, NULL, SPEEDLF_OPT },
{ "help", no_argument, NULL, HELP_OPT },
{ "text", no_argument, NULL, 'a' },
/* XXX: UNIMPLEMENTED
@@ -276,6 +277,9 @@
case FCASE_IGNORE_OPT:
fcase_behave = FCASE_IGNORE;
break;
+ case SPEEDLF_OPT:
+ /* noop, compatibility */
+ break;
case NORMAL_OPT:
/* compatibility, this is the default */
break;
More information about the p4-projects
mailing list