git: libc: Add dup3() from FreeBSD.
    Sascha Wildner 
    swildner at crater.dragonflybsd.org
       
    Mon May  6 09:54:16 PDT 2019
    
    
  
commit a0db5952c182198feb29dd55b977177dcf3822e3
Author: Sascha Wildner <saw at online.de>
Date:   Mon May 6 18:53:26 2019 +0200
    libc: Add dup3() from FreeBSD.
    
    As proposed in http://austingroupbugs.net/view.php?id=411
    
    It seems to help with various ports.
    
    Pointed-out-by: zrj
Summary of changes:
 include/unistd.h                                   |   1 +
 lib/libc/gen/Makefile.inc                          |   4 +-
 lib/libc/gen/Symbol.map                            |   4 +
 .../pthread_rwlock_destroy.3 => libc/gen/dup3.3}   | 114 +++++++++++++--------
 .../thread/thr_main_np.c => libc/gen/dup3.c}       |  42 +++++---
 lib/libc/sys/dup.2                                 |   6 +-
 6 files changed, 110 insertions(+), 61 deletions(-)
 copy lib/{libpthread/pthread_rwlock_destroy.3 => libc/gen/dup3.3} (53%)
 copy lib/{libthread_xu/thread/thr_main_np.c => libc/gen/dup3.c} (68%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a0db5952c182198feb29dd55b977177dcf3822e3
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list