bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in diffutils 2.7


From: Otto Bruggeman
Subject: Bug in diffutils 2.7
Date: Sun, 20 May 2001 21:17:07 +0200 (CEST)

Hi,

i think i found a bug in diff from the diffutils 2.7 package. It manifests
itself with the Makefile.in and Makefile (which are attached) and use
context as diff format. The exact commandline is "diff -c Makefile.in
Makefile". The error occurs in the second hunk.

In more detail:
***************
*** 14,62 ****
  ####### kdevelop will overwrite this part!!! (begin)##########


! SHELL = @SHELL@

! srcdir = @srcdir@
! top_srcdir = @top_srcdir@
! VPATH = @srcdir@
! prefix = @prefix@
! exec_prefix = @exec_prefix@
  #>-
! bindir = @bindir@
  #>+ 3
  DEPDIR = .deps

... some lines cut because they dont care ...
--- 15,62 ----
  ####### kdevelop will overwrite this part!!! (begin)##########


! SHELL = /bin/sh

! srcdir = .
! top_srcdir = .
! prefix = /opt/kde2
! exec_prefix = ${prefix}
  #>-
! bindir = ${exec_prefix}/bin
  #>+ 3
  DEPDIR = .deps
... some lines cut because they dont care ...

As you can see there are 62-14+1 = 49 lines and 62-15+1 = 48 lines so the
first part should contain one '- ' in the output but that does not happen.
The disappeared line is: '! VPATH = @srcdir@'. This line is not in the
new file and should therefore have a - sign before it. This is a bug in my
eyes and needs fixing.

BTW this is a suse 7.1 system with all packages updated to the latest
versions.

Thanks in advance,
Otto Bruggeman

Attachment: Makefile
Description: Text document

Attachment: Makefile.in
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]