DragonFly commits List (threaded) for 2009-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: ttyname(3) - Set errno if ttyname_r call fails
commit 4998a7ac0aa83ff49b852b33f9f264c7e3c0fe21
Author: Alex Hornung <ahornung@gmail.com>
Date: Tue Aug 11 10:19:57 2009 +0100
ttyname(3) - Set errno if ttyname_r call fails
* If ttyname_r returns non-null when called from ttyname, set errno
in ttyname to whatever *_r returned.
This also makes our ttyname comply with the standard.
Reported-By: Sascha Wildner
Summary of changes:
lib/libc/gen/ttyname.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4998a7ac0aa83ff49b852b33f9f264c7e3c0fe21
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]