]> git.ipfire.org Git - thirdparty/glibc.git/commit
* sysdeps/unix/sysv/linux/ttyname.c: Include termios.h.
authorJakub Jelinek <jakub@redhat.com>
Fri, 12 Jan 2007 17:04:39 +0000 (17:04 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 12 Jan 2007 17:04:39 +0000 (17:04 +0000)
commit564d69540bb581c822c9fb5d66987977c8eb9b2a
treede646985c76eb4972047f67cb990426c8d7431d8
parentca26b47f56781063f93a236d6b26627649e168cb
* sysdeps/unix/sysv/linux/ttyname.c: Include termios.h.
(ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY.
* sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h.
(__ttyname_r): Use tcgetattr instead of isatty, don't set errno to
ENOTTY.
* io/Makefile: Add rules to build and run tst-ttyname_r test.
* io/tst-ttyname_r.c: New test.
ChangeLog