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

Peter Avalos pavalos at crater.dragonflybsd.org
Tue Apr 7 00:14:30 PDT 2009


commit 23636137a4047460c448493bba811cb2e0d854ce
Author: Peter Avalos <pavalos at 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





More information about the Commits mailing list