mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* 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>.
This commit is contained in:
3
sysdeps/unix/bsd/bsd4.4/isatty.c
Normal file
3
sysdeps/unix/bsd/bsd4.4/isatty.c
Normal file
@ -0,0 +1,3 @@
|
||||
/* In a 4.4-derived world, tcgetattr is just one ioctl. */
|
||||
|
||||
#include <sysdeps/posix/isatty.c>
|
Reference in New Issue
Block a user