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

git: ttyname(3) - Return EBADF if the fd passed is invalid


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Aug 2009 04:04:35 -0700 (PDT)

commit f118e32556a080395ee8dc9328ca96984f03bf11
Author: Alex Hornung <ahornung@gmail.com>
Date:   Tue Aug 11 12:07:16 2009 +0100

    ttyname(3) - Return EBADF if the fd passed is invalid
    
    * Return EBADF instead of ENOTTY if the passed file descriptor is not
      valid to conform with standard.

Summary of changes:
 lib/libc/gen/ttyname.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f118e32556a080395ee8dc9328ca96984f03bf11


-- 
DragonFly BSD source repository



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