[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mingw: test-ftell and test-ftello assertion failures
From: |
Eric Blake |
Subject: |
Re: mingw: test-ftell and test-ftello assertion failures |
Date: |
Wed, 25 May 2011 14:42:49 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 |
On 05/25/2011 02:37 PM, Matthias Bolte wrote:
> In both tests ASSERT (ftell (stdin) == -1); in line 45 fails. ftell
> (stdin) returns 0 in this case.
>
> Found via libvirt on mingw with recent gnulib version:
> f4c4af09bcf3f0497dc3347ecc0a0b3c9ee1ff63
In this particular case, test-ftell.sh is calling 'echo hi |
./test-ftell${EXEEXT}'. But ftell uses lseek, and gnulib already works
around the mingw bug that lseek on pipes doesn't fail with ESPIPE. I'll
have to see if I can reproduce this, and if there might be a recent
regression in behavior here.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature