mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
dab9837091
* sysdeps/unix/bsd/isatty.c (__isatty): Don't save and restore errno. * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Return errno value from isatty unmodified. Reported by Bruno Haible <bruno@clisp.org>.
4 lines
95 B
C
4 lines
95 B
C
/* In a 4.4-derived world, tcgetattr is just one ioctl. */
|
|
|
|
#include <sysdeps/posix/isatty.c>
|