Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2008 13:50:53 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 144782 for review
Message-ID:  <200807061350.m66Dor8R029556@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=144782

Change 144782 by gabor@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807061350.m66Dor8R029556>