Re: pread()

2010-10-31 Thread Manuel Menal
On 14/10/2010 19:10, Roland McGrath wrote: >> Shouldn't we change io_write() too? > Yes, they are exact parallels. Here is a patch that should make io_read() and io_write() return ESPIPE when called with offset != -1 for non-seekable objects. I've tested all the components affected by this pat

Re: ED error code

2010-10-31 Thread Pino Toscano
Hi, Alle domenica 31 ottobre 2010, Manuel Menal ha scritto: > The Hurd port of the GNU C Library defines an error code macro called > `ED', which the glibc manual describes as "The experienced user will > know what is wrong.". This error code macro doesn't seem to be used > anywhere. To be precis

Re: ED error code

2010-10-31 Thread Roland McGrath
If ED is a problem, then it should just be removed. It's only there as a joke. That said, my recollection is that POSIX does reserve all E[A-Z0-9]+ macro names to the implementation for uses. But I don't really recall if that's so.

ED error code

2010-10-31 Thread Manuel Menal
Hello, The Hurd port of the GNU C Library defines an error code macro called `ED', which the glibc manual describes as "The experienced user will know what is wrong.". This error code macro doesn't seem to be used anywhere. Although having a reserved, generic error code macro might be useful(?),