Subject: Re: [bug-diffutils] bug#15459: diff -Z hangs [was: bug#15459: bug#15459: bug#15459: bug#15459:]

From: Eric Blake <[email-masked]>
Date: Wed, 25 Sep 2013 11:16:16 -0600

On 09/25/2013 11:05 AM, [email-masked] wrote:
>> $ timeout 10s diff -Z <(printf 'a\r\nb\n') <(printf 'a\nb\r\n'); echo $?
>> 124
>>

> 
> diff 3.3 (probably compiled with gcc-4.7.3 p1.0, pie-0.5.5, 
> glibc-2.17 on amd64) does not timeout on my system:
> 
>  $ diff -Z <(printf 'a\nb\n') <(printf 'a\nb\n'); echo $?
>  0
>  $ timeout 10s diff -Z <(printf 'a\r\nb\n') <(printf 'a\nb\r\n'); echo $?
>  0

Odd; I've raised a separate Fedora bug in case it is a downstream-only
issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1012075

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org