bug-gnulib
[Top][All Lists]
Advanced

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

Re: fseek/ftell tests on platforms with bad ungetc


From: Eric Blake
Subject: Re: fseek/ftell tests on platforms with bad ungetc
Date: Wed, 25 Feb 2009 22:07:07 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Gary V. Vaughan <gary <at> gnu.org> writes:

> Almost there now =)O|
> 
> PASS: test-binary-io.sh
> PASS: test-errno
> PASS: test-fseek.sh
> Skipping test: ungetc cannot handle arbitrary bytes
> SKIP: test-fseek2.sh
> PASS: test-fseeko.sh
> Skipping test: ungetc cannot handle arbitrary bytes
> SKIP: test-fseeko2.sh
> ../../gltests/test-ftell.c:108: assertion failed
> ../../gltests/test-ftell.sh: line 3:  3901 Aborted
>                  ./test-ftell${EXEEXT} 1 <"$srcdir/test-ftell.sh"
> FAIL: test-ftell.sh

OK, I'm pushing that patch.  test-ftell still needs work to solve this newly-
uncovered failure, but the failure was latent and is unaffected by ungetc, so 
the fix can safely be in a separate commit.  I don't know whether the fix is in 
fseek (for not seeking beyond the end of a file) or ftell (for not recognizing 
a prior seek beyond the end).

-- 
Eric Blake







reply via email to

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