DragonFly commits List (threaded) for 2009-04
DragonFly BSD
DragonFly commits List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.656.g23636 master include unistd.h lib/libc/gen ttyname.3 ttyname.c lib/libc_r/uthread pthread_private.h


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Apr 2009 00:13:30 -0700 (PDT)

commit 23636137a4047460c448493bba811cb2e0d854ce
Author: Peter Avalos <pavalos@theshell.com>
Date:   Sun Mar 15 16:56:50 2009 -1000

    Sync ttyname with FreeBSD:
    
    * SuS says ttyname_r should return an int, so do that.
    
    * Use devname(3) instead of rolling our own code.
    
    * Simplify the threaded/unthreaded stuff.

Summary of changes:
 include/unistd.h                     |    2 +-
 lib/libc/gen/ttyname.3               |   51 ++++++----
 lib/libc/gen/ttyname.c               |  179 +++++++--------------------------
 lib/libc_r/uthread/pthread_private.h |    2 -
 4 files changed, 69 insertions(+), 165 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/23636137a4047460c448493bba811cb2e0d854ce


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]