[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#159742: wdiff: --ignore-case option doesn't work, not properly docum
From: |
Santiago Vila |
Subject: |
Bug#159742: wdiff: --ignore-case option doesn't work, not properly documented (patch included) (fwd) |
Date: |
Thu, 5 Sep 2002 18:51:46 +0200 (CEST) |
Hello.
I received this from the Debian bug system.
[ Please keep the Cc: lines when replying ].
Thanks.
---------- Forwarded message ----------
Date: Thu, 05 Sep 2002 12:24:05 -0400
From: Adam Kessel <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Subject: Bug#159742: wdiff: --ignore-case option doesn't work,
not properly documented (patch included)
Package: wdiff
Version: 0.5-12
Severity: normal
The command-line option --ignore-case (or -i) is supposed to cause wdiff
to do a case-insensitive comparison. It doesn't work, at least when
diff 2.8.1-1 is installed. Also, the option is not documented in the
wdiff manpage or in /usr/share/doc/wdiff (it is listed under wdiff
--help).
The following patch will fix wdiff to properly do case-insensitive
comparisons:
------------
*** wdiff.c Thu Sep 5 12:17:30 2002
--- wdiff-old.c Thu Sep 5 12:18:05 2002
***************
*** 898,904 ****
/* Launch the diff program. */
if (ignore_case)
! 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,
--- 898,904 ----
/* Launch the diff program. */
if (ignore_case)
! input_file = readpipe (DIFF_PROGRAM, "-c", left_side->temp_name,
right_side->temp_name, NULL);
else
input_file = readpipe (DIFF_PROGRAM, left_side->temp_name,
------------
- Bug#159742: wdiff: --ignore-case option doesn't work, not properly documented (patch included) (fwd),
Santiago Vila <=