[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stdin seekable failure [was: HEAD: inclusion order wrong for input.c]
From: |
Eric Blake |
Subject: |
stdin seekable failure [was: HEAD: inclusion order wrong for input.c] |
Date: |
Wed, 11 Apr 2007 06:57:29 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 4/10/2007 12:55 PM:
Hi Ralf,
> ../../m4/tests/others.at:487: (m4 -EE; cat) < in.m4
> + m4 -EE
> + cat
> stderr:
> /tmp/build/src/.libs/lt-m4:stdin:1: Warning: dnl: extra arguments ignored: 1
> > 0
> --- - 2007-04-10 20:48:38.229645000 +0200
> +++ /tmp/build/tests/testsuite.dir/at-stdout 2007-04-10 20:48:38.000000000
> +0200
> @@ -1,2 +1 @@
> -trailing data
Hmm. I think the problem here is that on abrupt exit, you get the
system's implicit closure of stdin without any explicit fflush(stdin),
which is thus leaving the fd offset in the wrong position so that the
trailing data is not picked up by cat. I'm guessing that you are
suffering from what I consider to be a glibc bug, but which Ulrich refuses
to cater to: http://sources.redhat.com/bugzilla/show_bug.cgi?id=3746
Maybe the closeout module needs to be updated to worry about stdin as well
as stdout/stderr?
- --
Don't work too hard, make some time for fun as well!
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
iD8DBQFGHNs584KuGfSFAYARAtVYAJ9Ee0IEL3HIKojnrbyE0WLM18Y3rgCggt7t
sxClGHNVdEoGLf9VrQ8aWzI=
=aXSD
-----END PGP SIGNATURE-----
- stdin seekable failure [was: HEAD: inclusion order wrong for input.c],
Eric Blake <=
- Re: stdin seekable failure, Paul Eggert, 2007/04/11
- Re: stdin seekable failure, Eric Blake, 2007/04/12
- Re: stdin seekable failure, Eric Blake, 2007/04/12
- Re: stdin seekable failure, Eric Blake, 2007/04/27
- Re: stdin seekable failure, Bruno Haible, 2007/04/27
- Re: stdin seekable failure, Eric Blake, 2007/04/28
- Re: stdin seekable failure, Bruno Haible, 2007/04/28