diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-25 02:46:33 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-25 02:46:33 +0000 |
commit | 80d807799f5d0cadb9d7e28788b51e6930fb286c (patch) | |
tree | e578cc1ccc3869e3f129eb98e9198dd4c72981e3 /sysdeps | |
parent | 8637130890a3a04e123eca29b0e97c27ea20ea77 (diff) | |
download | glibc-80d807799f5d0cadb9d7e28788b51e6930fb286c.zip glibc-80d807799f5d0cadb9d7e28788b51e6930fb286c.tar.gz glibc-80d807799f5d0cadb9d7e28788b51e6930fb286c.tar.bz2 |
Update.
2003-02-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
test.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/ttyname_r.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/ttyname_r.c b/sysdeps/unix/sysv/linux/ttyname_r.c index 924b491..eee4d86 100644 --- a/sysdeps/unix/sysv/linux/ttyname_r.c +++ b/sysdeps/unix/sysv/linux/ttyname_r.c @@ -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)) { |