summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-03-22 16:42:45 +0000
committerChristopher Faylor <me@cgf.cx>2006-03-22 16:42:45 +0000
commit81010d21e6d40a76e9cdee849f21c90da5f54bec (patch)
tree8422d18565d56adbaea7d8d681957034bbb3b53d /winsup/cygwin/fhandler.cc
parent69769b7cb50c9b0dc1f6921bc76b94a2558595ff (diff)
downloadcygnal-81010d21e6d40a76e9cdee849f21c90da5f54bec.tar.gz
cygnal-81010d21e6d40a76e9cdee849f21c90da5f54bec.tar.bz2
cygnal-81010d21e6d40a76e9cdee849f21c90da5f54bec.zip
* fhandler.cc (fcntl): Print flags in hex.
* dcrt0.cc (dll_crt0_0): Semi-revert 2006-03-14 change which moved pinfo_init and uinfo_init here. (dll_crt0_1): Ditto. (__dll_crt0): Ditto. Don't call update_envptrs here. (dll_crt0_1): Ditto. Move wait_for_sigthread call here from dll_crt0_0. * environ.cc (environ_init): Call it here instead. * sigproc.cc (my_readsig): New static variable. (wait_for_sigthread): Set up read pipe here since we are assured that we have the proper privileges when this is called. (talktome): Eliminate second argument since it is available as a global now. (wait_sig): Reflect use of my_readsig.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index 237aaadd7..b8c30da3c 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -1304,7 +1304,7 @@ int fhandler_base::fcntl (int cmd, void *arg)
break;
case F_GETFL:
res = get_flags ();
- debug_printf ("GETFL: %d", res);
+ debug_printf ("GETFL: %p", res);
break;
case F_SETFL:
{