[Bug 191936] ttyname_r failing isatty always returns ENOTTY instead of the actual error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 1 22:51:18 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191936

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jilles
Date: Sun Feb  1 22:50:34 UTC 2015
New revision: 278038
URL: https://svnweb.freebsd.org/changeset/base/278038

Log:
  ttyname_r(): Return actual error, not always [ENOTTY].

  Adjust the test that used to fail because of this bug.

  PR:        191936
  MFC after:    1 week

Changes:
  head/contrib/netbsd-tests/lib/libc/gen/t_ttyname.c
  head/lib/libc/gen/ttyname.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list