This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patches to improve Hurd parts: dup3


Hello!

On Wed, Dec 17, 2008 at 07:54:04PM -0800, Roland McGrath wrote:
> __dup2 has to call __dup3, not dup3.

There is no such symbol, cf.:

io/dup3.c:
    int
    dup3 (fd, fd2, flags)
    [...]
    stub_warning (dup3)

sysdeps/unix/syscalls.list:
    # File name     Caller  Syscall name    Args    Strong name     Weak names
    [...]
    dup3            -       dup3            i:iii   dup3

That's why I also named it dup3 in the new sysdeps/mach/hurd/dup3.c.


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


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