summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygwin.din
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-09 22:33:57 +0000
committerChristopher Faylor <me@cgf.cx>2005-06-09 22:33:57 +0000
commit9a9177720555953b8761b8f22ef7f5566db0955f (patch)
treefcbbb366a27fce1bba7d724b265bb3df91970f21 /winsup/cygwin/cygwin.din
parentfa0dcd0d650d47e33d3301f107580bbf3e7afa69 (diff)
downloadcygnal-9a9177720555953b8761b8f22ef7f5566db0955f.tar.gz
cygnal-9a9177720555953b8761b8f22ef7f5566db0955f.tar.bz2
cygnal-9a9177720555953b8761b8f22ef7f5566db0955f.zip
* cygtls.h (_local_storage::setmode_file): New element.
(_local_storage::setmode_mode): New element. * tlsoffsets.h: Regenerate. * cygwin.din (setmode): Define as cygwin_getmode. * syscalls.cc (setmode_helper): Use setmode_* variables from tls rather than using unthreadsafe static. (setmode): Break out fwalk stuff. (cygwin_setmode): New function. Put fwalk stdio stuff here.
Diffstat (limited to 'winsup/cygwin/cygwin.din')
-rw-r--r--winsup/cygwin/cygwin.din4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index 30b6d2343..38786e392 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -1202,8 +1202,8 @@ _setlocale = setlocale NOSIGFE
setlogmask NOSIGFE
setmntent SIGFE
_setmntent = setmntent SIGFE
-setmode SIGFE
-_setmode = setmode SIGFE
+setmode = cygwin_setmode SIGFE
+_setmode = cygwin_setmode SIGFE
setpassent NOSIGFE
_setpassent = setpassent NOSIGFE
setpgid SIGFE