summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-03-13 23:11:38 +0000
committerChristopher Faylor <me@cgf.cx>2003-03-13 23:11:38 +0000
commit41ffdfa51e938fc7370bc88cb9451760bdb33f9b (patch)
treee70e6c10276b748ea5ecbda2293a078127b4e3ad /winsup/cygwin
parent5b186cd99961b2f60701dee128c9a58fcbd6d8e6 (diff)
downloadcygnal-41ffdfa51e938fc7370bc88cb9451760bdb33f9b.tar.gz
cygnal-41ffdfa51e938fc7370bc88cb9451760bdb33f9b.tar.bz2
cygnal-41ffdfa51e938fc7370bc88cb9451760bdb33f9b.zip
* include/cygwin/version.h: Bump DLL minor number to 23.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/fhandler_console.cc6
-rw-r--r--winsup/cygwin/include/cygwin/version.h2
-rw-r--r--winsup/cygwin/syscalls.cc6
4 files changed, 15 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index b1cf3b081..ae083bf32 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-13 Christopher Faylor <cgf@redhat.com>
+
+ * include/cygwin/version.h: Bump DLL minor number to 23.
+
2003-03-13 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (IsProcessorFeaturePresent): Add.
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 647f14585..6833bab67 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -649,7 +649,11 @@ fhandler_console::close (void)
set_output_handle (NULL);
if (!cygheap->fdtab.in_vfork_cleanup () && --open_fhs <= 0
&& myself->ctty != FH_CONSOLE)
- FreeConsole ();
+ {
+ syscall_printf ("open_fhs %d, freeing console",
+ fhandler_console::open_fhs);
+ FreeConsole ();
+ }
debug_printf ("decremented open_fhs, now %d", open_fhs);
return 0;
}
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index adb3947b1..df484fb6f 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -42,7 +42,7 @@ details. */
changes to the DLL and is mainly informative in nature. */
#define CYGWIN_VERSION_DLL_MAJOR 1003
-#define CYGWIN_VERSION_DLL_MINOR 22
+#define CYGWIN_VERSION_DLL_MINOR 23
/* Major numbers before CYGWIN_VERSION_DLL_EPOCH are
incompatible. */
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 6c5b5dafc..097dacbdb 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -265,7 +265,11 @@ setsid (void)
{
myself->ctty = -1;
if (fhandler_console::open_fhs <= 0)
- FreeConsole ();
+ {
+ syscall_printf ("open_fhs %d, freeing console",
+ fhandler_console::open_fhs);
+ FreeConsole ();
+ }
myself->sid = getpid ();
myself->pgid = getpid ();
syscall_printf ("sid %d, pgid %d, ctty %d", myself->sid, myself->pgid, myself->ctty);