This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/io tst-ttyname_r.c
- From: jakub at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 12 Jan 2007 17:27:53 -0000
- Subject: libc/io tst-ttyname_r.c
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_5-branch
Changes by: jakub@sourceware.org 2007-01-12 17:27:53
Added files:
io : tst-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/io/tst-ttyname_r.c.diff?cvsroot=glibc&only_with_tag=glibc-2_5-branch&r1=NONE&r2=1.1.4.1