Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136818909
D11022.id29133.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11022.id29133.diff
View Options
Index: head/usr.bin/diff/diff.c
===================================================================
--- head/usr.bin/diff/diff.c
+++ head/usr.bin/diff/diff.c
@@ -46,7 +46,7 @@
struct excludes *excludes_list;
regex_t ignore_re;
-#define OPTIONS "0123456789aBbC:cdD:efhI:iL:lnNPpqrS:sTtU:uwX:x:"
+#define OPTIONS "0123456789aBbC:cdD:efHhI:iL:lnNPpqrS:sTtU:uwX:x:"
enum {
OPT_TSIZE = CHAR_MAX + 1,
OPT_STRIPCR,
@@ -54,7 +54,6 @@
OPT_NO_IGN_FN_CASE,
OPT_NORMAL,
OPT_HORIZON_LINES,
- OPT_SPEED_LARGE_FILES,
OPT_CHANGED_GROUP_FORMAT,
};
@@ -66,6 +65,7 @@
{ "minimal", no_argument, 0, 'd' },
{ "ed", no_argument, 0, 'e' },
{ "forward-ed", no_argument, 0, 'f' },
+ { "speed-large-files", no_argument, NULL, 'H' },
{ "ignore-matching-lines", required_argument, 0, 'I' },
{ "ignore-case", no_argument, 0, 'i' },
{ "paginate", no_argument, NULL, 'l' },
@@ -88,7 +88,6 @@
{ "horizon-lines", required_argument, NULL, OPT_HORIZON_LINES },
{ "no-ignore-file-name-case", no_argument, NULL, OPT_NO_IGN_FN_CASE },
{ "normal", no_argument, NULL, OPT_NORMAL },
- { "speed-large-files", no_argument, NULL, OPT_SPEED_LARGE_FILES},
{ "strip-trailing-cr", no_argument, NULL, OPT_STRIPCR },
{ "tabsize", optional_argument, NULL, OPT_TSIZE },
{ "changed-group-format", required_argument, NULL, OPT_CHANGED_GROUP_FORMAT},
@@ -159,6 +158,9 @@
case 'f':
diff_format = D_REVERSE;
break;
+ case 'H':
+ /* ignore but needed for compatibility with GNU diff */
+ break;
case 'h':
/* silently ignore for backwards compatibility */
break;
@@ -252,8 +254,6 @@
usage();
}
break;
- case OPT_SPEED_LARGE_FILES:
- break; /* ignore but needed for compatibility with GNU diff */
case OPT_STRIPCR:
dflags |= D_STRIPCR;
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 20, 7:58 PM (9 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25739153
Default Alt Text
D11022.id29133.diff (1 KB)
Attached To
Mode
D11022: Add -H as an alias for --speed-large-file to match GNU diff.
Attached
Detach File
Event Timeline
Log In to Comment