This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc ./ChangeLog io/Makefile sysdeps/unix/sysv ...
- From: jakub at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 12 Jan 2007 17:04:39 -0000
- Subject: libc ./ChangeLog io/Makefile sysdeps/unix/sysv ...
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_5-branch
Changes by: jakub@sourceware.org 2007-01-12 17:04:39
Modified files:
. : ChangeLog
io : Makefile
sysdeps/unix/sysv/linux: ttyname.c ttyname_r.c
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.10362.2.16&r2=1.10362.2.17
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/io/Makefile.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.66&r2=1.66.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.20&r2=1.20.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/ttyname_r.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=1.17&r2=1.17.2.1