diff options
author | Christopher Faylor <me@cgf.cx> | 2001-08-22 17:50:22 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-08-22 17:50:22 +0000 |
commit | 0a047e8f321216f24140ee18135bbe9ea4461f0a (patch) | |
tree | e8bc85a9d7a597f57dccb8ec64e0ff8a479c2249 /winsup/cygwin/dcrt0.cc | |
parent | 1fdc8df95d7723d278daf4c3ce2f856d8d1db276 (diff) | |
download | cygnal-0a047e8f321216f24140ee18135bbe9ea4461f0a.tar.gz cygnal-0a047e8f321216f24140ee18135bbe9ea4461f0a.tar.bz2 cygnal-0a047e8f321216f24140ee18135bbe9ea4461f0a.zip |
* smallprint.c (console_printf): New function.
* dcrt0.cc (dll_crt0_1): Use console_printf for debugging output.
* debug.cc (debug_mark_closed): New function.
(close_handle): Use debug_mark_closed.
* debug.h: Declare new functions.
* dtable.cc (dtable::build_fhandler): Remove unneeded extern.
* spawn.cc: Cosmetic changes.
* winsup.h: Define NO_COPY for C files, too. Declare a global.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 3a7417cae..bdaa3129c 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -876,7 +876,7 @@ _dll_crt0 () char buf[80]; if (GetEnvironmentVariable ("CYGWIN_SLEEP", buf, sizeof (buf))) { - small_printf ("Sleeping %d, pid %u\n", atoi (buf), GetCurrentProcessId ()); + console_printf ("Sleeping %d, pid %u\n", atoi (buf), GetCurrentProcessId ()); Sleep (atoi (buf)); } #endif |