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: Gary V. Vaughan
Subject: Re: fseek/ftell tests on platforms with bad ungetc
Date: Thu, 26 Feb 2009 04:36:02 +0700

Hi Eric,

Almost there now =)O|

2009/2/26 Eric Blake <address@hidden>:
> Hmm.  I suspect that ungetc.m4 needs work.  Can you confirm that
> FUNC_UNGETC_BROKEN did not get defined?  On a working platform, the configure
> output includes:
>
> checking whether ungetc works on arbitrary bytes... yes

checking for fseeko... yes
checking for ftello... yes
checking whether ungetc works on arbitrary bytes... no
checking for fseeko... (cached) yes
checking for ftello... (cached) yes
checking whether lseek detects pipes... yes
...
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
Skipping test: ungetc cannot handle arbitrary bytes
SKIP: test-ftell2.sh
../../gltests/test-ftello.c:118: assertion failed
../../gltests/test-ftello.sh: line 3:  3910 Aborted
                 ./test-ftello${EXEEXT} 1 <"$srcdir/test-ftello.sh"
FAIL: test-ftello.sh
Skipping test: ungetc cannot handle arbitrary bytes
SKIP: test-ftello2.sh
PASS: test-lseek.sh
PASS: test-stdio
PASS: test-unistd
======================
2 of 9 tests failed
(4 tests were not run)
======================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/home/gary/testdir31313/build/gltests'
...
% find testdir31313 -name config.h -exec fgrep _UNGETC_ {} \;
#define FUNC_UNGETC_BROKEN 1

Cheers,
    Gary
-- 
Email me:          address@hidden                        (\(\
Read my blog:      http://blog.azazil.net              ( o.O)
And my other blog: http://www.machaxor.net              (uu )o
...and my book:    http://sources.redhat.com/autobook  ("("_)




reply via email to

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