bug-m4
[Top][All Lists]
Advanced

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

Re: failure with HEAD: stdin seekable


From: Eric Blake
Subject: Re: failure with HEAD: stdin seekable
Date: Mon, 18 Dec 2006 07:02:23 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ralf Wildenhues on 12/17/2006 5:10 AM:
> 
> Thanks, the stdin seekable test is skipped now, but also the stdout full
> one fails.

I see it on cygwin as well.  The problem is that my added call to fflush
ignores the errno, and while ferror tracks that something went wrong, the
error message is now less descriptive.  But warning during the flush is
also wrong, as m4 should only need to error out once that stdout is full,
rather than on every subsequent flush.  I'm debating whether it is worth
capturing errno on flush, then referring to that on close; or just
changing the testsuite to match the new reality of the error message.

> @@ -1,2 +1,2 @@
> -m4: write error: No space left on device
> +m4: write error
>  

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhp9v84KuGfSFAYARAlRRAJ9SLG0oatqRbViz5cP4JhVp0+KFUwCdE9xE
sUnWrJHs8nNY7Jn/yd0g7H4=
=yOOd
-----END PGP SIGNATURE-----




reply via email to

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