Patches to improve Hurd parts: dup3
Thomas Schwinge
tschwinge@gnu.org
Thu Dec 18 14:50:00 GMT 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20081218/70d26dd6/attachment.sig>
More information about the Libc-alpha
mailing list