bug-gnulib
[Top][All Lists]
Advanced

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

Re: test-fseek fails on W32


From: Eric Blake
Subject: Re: test-fseek fails on W32
Date: Mon, 01 Apr 2013 16:10:45 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

On 04/01/2013 04:04 PM, LRN wrote:
> it does fseek on stdin.
> That is supposed to succeed when stdin is a file, and fail when stdin
> is a pipe.
> On W32 it always succeeds, even on a pipe, and thus fseek test fails.
> Should that be fixed, or marked as XFAIL on W32?

That should be fixed, since a seek succeeding on a pipe is contrary to
POSIX.  Is fseek being replaced on W32?  If so, the gnulib replacement
has a bug - it should be preventing fseek() from succeeding on a pipe.
If not, then we should fix the m4 tests to filter out the buggy W32
fseek and install the gnulib replacement.

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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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