🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Kim F. Storm Thu, 06 Jul 1989 13:39
Bug in diff 1.7 context diff
#280
Author: Kim F. Storm
Date: Thu, 06 Jul 1989 13:39
52 lines
1235 bytes
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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads