1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-17 18:21:03 +03:00
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:
Ulrich Drepper
2003-02-25 02:46:33 +00:00
parent 8637130890
commit 80d807799f
4 changed files with 28 additions and 18 deletions

View File

@ -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))
{