[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lseek on BeOS (2)
From: |
Eric Blake |
Subject: |
Re: lseek on BeOS (2) |
Date: |
Sat, 18 Aug 2007 21:05:34 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bruno Haible on 8/18/2007 5:02 PM:
> Hi Eric,
>
> lseek on BeOS has another deficiency: In some cases it can modify the
> file offset although the same call fails. POSIX says this should not happen.
> But I don't think it's worth working around it in lib/lseek.c.
Reasonable enough, since seeking to a negative offset generally implies a
software bug in the caller, as opposed to a system error.
> Here is
> instead a proposed workaround for the unit test:
>
> 2007-08-18 Bruno Haible <address@hidden>
>
> * tests/test-lseek.c (main): Disable a test for BeOS.
> * doc/functions/lseek.texi: Document the BeOS bug.
OK to commit.
- --
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
iD8DBQFGx7N+84KuGfSFAYARAo4TAJ9OQBqOpbA1lbm+DZCfvfVkxWxdhQCeKEcy
lT8FLoSJ5jwdpQlWLHNOoBs=
=ZdRV
-----END PGP SIGNATURE-----