From dab9837091a70e6ed6ea0d6474e0508ea6fccde5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 20 Sep 2002 20:18:24 +0000 Subject: * 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 . --- sysdeps/unix/bsd/bsd4.4/isatty.c | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sysdeps/unix/bsd/bsd4.4/isatty.c (limited to 'sysdeps/unix/bsd/bsd4.4') 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 -- cgit v1.2.3