mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-17 18:21:03 +03:00
Update.
2003-02-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES test.
This commit is contained in:
@ -124,8 +124,6 @@ __ttyname_r (int fd, char *buf, size_t buflen)
|
||||
__set_errno (EBADF);
|
||||
return EBADF;
|
||||
}
|
||||
if (ret == -1 && errno == EACCES)
|
||||
return EACCES;
|
||||
|
||||
if (!__isatty (fd))
|
||||
{
|
||||
|
Reference in New Issue
Block a user