This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sysdeps/posix/{pread64,pwrite64}.c


Roland McGrath <roland@frob.com> writes:

> Ahem.  You may notice that I just now discovered this code and complained
> about it, though it was written that way months (years?) ago.

But you are not using it on a system which has a really functional
thread implementation.  So I'm still waiting for the reason why it
should fail if you are not using threads.

And for the argument to use another thread implementation: there are
many more problems, pread is the last to worry about.  The libc is
tight closely to the thread library and vice versa that you have to
look through all the code in question and will find this one as well.
I even think that if you do the port correctly and compile the librt
the make check in this directory will sooner or latter fail because of
this.

Fact is that there is and will be systems using glibc without having
threads.  You force the porters to have own copies of the code we now
have in sysdeps/posix for no other reason but that the porters to
complete Unix systems might overlook this broken implementation.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]