git: ttyname(3) - Set errno if ttyname_r call fails

看板DFBSD_commit作者時間16年前 (2009/08/11 19:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AWLQvOa (DFBSD_commit)