bug-diffutils
[Top][All Lists]
Advanced

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

[bug-diffutils] bug#24210: diff3 in diffutils 3.4 is broken


From: Bastian Beischer
Subject: [bug-diffutils] bug#24210: diff3 in diffutils 3.4 is broken
Date: Fri, 12 Aug 2016 16:22:00 +0200

Hello,

Please try to run diff3 from diffutils 3.4 as follows:

echo a > a.txt
echo b > b.txt
echo c > c.txt
diff3 a.txt b.txt c.txt

Expected output (with diff3 from diffutils 3.3):

====
1:1c
 a
2:1c
 b
3:1c
 c

Actual output (with diff3 from diffutils 3.4):

====3
1:1c
2:1c
 a
3:1c
 c

There was only one commit in src/diff3.c between 3.3 and 3.4:

http://git.savannah.gnu.org/cgit/diffutils.git/commit/src?id=3b74a905c5460e7979c53273ac90345860d001a7

Reverting this commit fixes the issue.

Best
Bastian

-- 
Bastian Beischer
RWTH Aachen University of Technology

@RWTH Aachen
Office: 28 C 203
Phone: +49-241-80-27205
E-mail: address@hidden
Address: I. Physikalisches Institut B, Sommerfeldstr. 14, D-52074 Aachen

@CERN
Office: Bdg 32-4-B12
Phone: +41-22-76-75750
E-mail: address@hidden
Address: CERN, CH-1211 Geneve 23





reply via email to

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