bug-gnulib
[Top][All Lists]
Advanced

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

Re: [patch #6758] Add support for Atari FreeMiNT OS


From: Eric Blake
Subject: Re: [patch #6758] Add support for Atari FreeMiNT OS
Date: Sat, 28 Feb 2009 16:40:29 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666

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

According to Alan Hourihane on 2/28/2009 4:31 PM:
>> I'll change things around now.
> 
> The above is a little unfair as FreeMiNT has problems seeking beyond the
> end of stdin, so I had to modify the test to remove that final check.

Unfair or not, POSIX requires it:
http://www.opengroup.org/onlinepubs/9699919799/functions/fseek.html

"The fseek() function shall allow the file-position indicator to be set
beyond the end of existing data in the file. If data is later written at
this point, subsequent reads of data in the gap shall return bytes with
the value 0 until data is actually written into the gap."

- --
Don't work too hard, make some time for fun as well!

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

iEYEARECAAYFAkmpy20ACgkQ84KuGfSFAYCrOwCgwwCueLshOHxEi0VS+7PuzHYZ
Id4AoNYBR2wjcSVlNdmWGUjtON2pqbGT
=8HSY
-----END PGP SIGNATURE-----




reply via email to

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