[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#146964: diff: Argument --horizon-lines documented, handled, not used
From: |
Santiago Vila |
Subject: |
Bug#146964: diff: Argument --horizon-lines documented, handled, not used (fwd) |
Date: |
Sun, 26 May 2002 01:44:58 +0200 (CEST) |
Hello.
I received this report from the Debian bug system. By looking at the
code I believe this is already fixed in diffutils-2.8, but I didn't
find yet a test case. It's fixed?
---------- Forwarded message ----------
Date: Tue, 14 May 2002 11:24:14 -0500
From: John R. Daily <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Subject: #146964: diff: Argument --horizon-lines documented, handled, not used
Package: diff
Version: 2.7-29
Severity: normal
The man page states:
--horizon-lines=lines
Do not discard the last lines lines of the common
prefix and the first lines lines of the common sufÂ
fix.
Judging both by the output and by diff.c (snippet below),
--horizon-lines is ignored.
case 140:
if (ck_atoi (optarg, &horizon_lines) || horizon_lines < 0)
fatal ("horizon must be a nonnegative integer");
break;
Note that nothing seems to be actually done with the argument.
- Bug#146964: diff: Argument --horizon-lines documented, handled, not used (fwd),
Santiago Vila <=