summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/syscalls.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2008-02-13 17:21:05 +0000
committerChristopher Faylor <me@cgf.cx>2008-02-13 17:21:05 +0000
commitb40597cb2e915d2703b258a04a45292f2d1ed4ed (patch)
tree8a2ba5405cc2d678c9cfeec43fc44249da551130 /winsup/cygwin/syscalls.cc
parenta9414ca6d8cd5c3adc84ae1a522f0e2c8eb3bcae (diff)
downloadcygnal-b40597cb2e915d2703b258a04a45292f2d1ed4ed.tar.gz
cygnal-b40597cb2e915d2703b258a04a45292f2d1ed4ed.tar.bz2
cygnal-b40597cb2e915d2703b258a04a45292f2d1ed4ed.zip
* syscalls.cc (_isatty): Define as an alias to isatty to override newlib
version. * thread.cc (pthread_kill): Deal with signal 0 as per POSIX and also avoid manipulating an invalid thread.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 1f5bc5fe5..6e58b6aa7 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -999,6 +999,7 @@ isatty (int fd)
syscall_printf ("%d = isatty (%d)", res, fd);
return res;
}
+EXPORT_ALIAS (isatty, _isatty)
/* Under NT, try to make a hard link using backup API. If that
fails or we are Win 95, just copy the file.