[gnu.utils.bug] Bug in diff 1.7 context diff

storm@texas.dk (Kim F. Storm) (07/06/89)

Program/release:
	gnu diff 1.7

Description:
	diff -c may place '-' on a non-empty unchanged line 
	instead of a deleted empty line.

Repeat by:
	diff -c f1 f2

----------f1---------
A

B

C

D
----------------------

----------f2---------
A

D
----------------------

----------diff -c f1 f2------------
*** f1	Thu Jul  6 14:35:03 1989
--- f2	Thu Jul  6 14:35:10 1989
***************
*** 1,7 ****
  A
  
- B
- 
- C
  			<-------------------------- ERROR  missing -
- D			<-------------------------- ERROR  wrong -
--- 1,3 ----
-------------------------------

Severity:
	High - it makes patches generated by gnu diff unreliable.

Fix:
	Don't know.

--
Kim F. Storm        storm@texas.dk        Tel +45 429 174 00
Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark
	  No news is good news, but nn is better!