forked from Lainports/freebsd-ports
Fix --ignore-case option That port fails to work when DIFF_OPTIONS is set to something like "-u" and the "-i" option to wdiff also fails to work (not the -i option is not in the man page but it is in the NEWS file). Submitted by: Dave Chapeskie <dchapes@ddm.crosswinds.net>
13 lines
438 B
Text
13 lines
438 B
Text
--- wdiff.c.orig Sun Nov 6 02:57:23 1994
|
|
+++ wdiff.c Wed Aug 1 16:48:38 2001
|
|
@@ -892,8 +892,9 @@
|
|
{
|
|
/* Launch the diff program. */
|
|
|
|
+ unsetenv ("DIFF_OPTIONS");
|
|
if (ignore_case)
|
|
- input_file = readpipe (DIFF_PROGRAM, "-c", left_side->temp_name,
|
|
+ input_file = readpipe (DIFF_PROGRAM, "-i", left_side->temp_name,
|
|
right_side->temp_name, NULL);
|
|
else
|
|
input_file = readpipe (DIFF_PROGRAM, left_side->temp_name,
|