Subject: Re: misc/23162
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: netbsd-bugs
Date: 10/15/2005 20:31:02
The following reply was made to PR misc/23162; it has been noted by GNATS.
From: "Valeriy E. Ushakov" <uwe@ptc.spbu.ru>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: misc/23162
Date: Sun, 16 Oct 2005 00:30:05 +0400
This is a bug in sdiff in diffutils 2.8.1
In 2.7 sdiff checks that the exit code of diff is < 2 (exit code 1
means that files differ, which is ok).
In 2.8.1 they introduced ck_editor_status() function to check the exit
code of the editor, and wisely "reused" it to check the exit status of
the diff. Of course that function doesn't have that special treatment
for the exit code == 1.
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen