From: Jakub Jelinek Date: Fri, 12 Jan 2007 17:04:39 +0000 (+0000) Subject: * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. X-Git-Tag: cvs/fedora-glibc-2_5-20070712T1701~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=564d69540bb581c822c9fb5d66987977c8eb9b2a;p=thirdparty%2Fglibc.git * 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. --- diff --git a/ChangeLog b/ChangeLog index d4805f1c221..80a95fe2a93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2006-12-04 Jakub Jelinek + + * 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. + 2006-11-28 Jakub Jelinek * elf/dl-support.c: Include dl-procinfo.h.