Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177596739
D11022.1794815691.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D11022.1794815691.diff
View Options
Index: usr.bin/diff/diff.c
===================================================================
--- usr.bin/diff/diff.c
+++ 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
Mon, Nov 16, 7:54 AM (8 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41767771
Default Alt Text
D11022.1794815691.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