[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exporting libc patches
From: |
Ludovic Courtès |
Subject: |
Re: Exporting libc patches |
Date: |
Wed, 22 Jun 2011 17:33:15 +0200 |
User-agent: |
Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) |
Hi,
ludo@gnu.org (Ludovic Courtès) skribis:
> Samuel Thibault <samuel.thibault@gnu.org> skribis:
>
>> Ludovic Courtès, le Mon 06 Jun 2011 14:39:39 +0200, a écrit :
>>> @@ -79,6 +79,8 @@
>>> extern int __dup (int __fd);
>>> extern int __dup2 (int __fd, int __fd2);
>>> libc_hidden_proto (__dup2)
>>> +extern int __dup3 (int __fd, int __fd2, int __flags);
>>> +libc_hidden_proto (__dup3)
>>
>> It seems Ulrich added a dup3 hiddenproto in the meanwhile. I guess
>> +libc_hidden_def (dup3)
>> needs to be added to our patch, as is done in commit 94b7cc37
>
> The attached patch against t/dup3 appears to fix it
[...]
> From 22542dcc89805af8d9bd9209129259d2737372b5 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
> Date: Sat, 11 Jun 2011 16:38:18 +0200
> Subject: [PATCH] Bring `dup3' in sync with that of GNU/Linux.
>
> ---
> include/unistd.h | 3 +--
> sysdeps/mach/hurd/dup3.c | 5 ++---
> 2 files changed, 3 insertions(+), 5 deletions(-)
Pushed.
Ludo’.