diff options
author | Roland McGrath <roland@gnu.org> | 2002-09-20 20:18:24 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-09-20 20:18:24 +0000 |
commit | dab9837091a70e6ed6ea0d6474e0508ea6fccde5 (patch) | |
tree | ad85a1ef0fc8260ba148db194e630166754d18f9 /sysdeps/unix/bsd/bsd4.4 | |
parent | fcdc67f963a44603553e52a0f883e5d0e5727b34 (diff) | |
download | glibc-dab9837091a70e6ed6ea0d6474e0508ea6fccde5.tar.gz glibc-dab9837091a70e6ed6ea0d6474e0508ea6fccde5.tar.xz glibc-dab9837091a70e6ed6ea0d6474e0508ea6fccde5.zip |
* sysdeps/unix/bsd/bsd4.4/isatty.c: New file.
* 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>.
Diffstat (limited to 'sysdeps/unix/bsd/bsd4.4')
-rw-r--r-- | sysdeps/unix/bsd/bsd4.4/isatty.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/bsd4.4/isatty.c b/sysdeps/unix/bsd/bsd4.4/isatty.c new file mode 100644 index 0000000000..473368c93f --- /dev/null +++ b/sysdeps/unix/bsd/bsd4.4/isatty.c @@ -0,0 +1,3 @@ +/* In a 4.4-derived world, tcgetattr is just one ioctl. */ + +#include <sysdeps/posix/isatty.c> |