* include/cygwin/version.h: Bump DLL minor number to 23.

This commit is contained in:
Christopher Faylor 2003-03-13 23:11:38 +00:00
parent 5b186cd999
commit 41ffdfa51e
4 changed files with 15 additions and 3 deletions

View File

@ -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> 2003-03-13 Corinna Vinschen <corinna@vinschen.de>
* autoload.cc (IsProcessorFeaturePresent): Add. * autoload.cc (IsProcessorFeaturePresent): Add.

View File

@ -649,7 +649,11 @@ fhandler_console::close (void)
set_output_handle (NULL); set_output_handle (NULL);
if (!cygheap->fdtab.in_vfork_cleanup () && --open_fhs <= 0 if (!cygheap->fdtab.in_vfork_cleanup () && --open_fhs <= 0
&& myself->ctty != FH_CONSOLE) && 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); debug_printf ("decremented open_fhs, now %d", open_fhs);
return 0; return 0;
} }

View File

@ -42,7 +42,7 @@ details. */
changes to the DLL and is mainly informative in nature. */ changes to the DLL and is mainly informative in nature. */
#define CYGWIN_VERSION_DLL_MAJOR 1003 #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 /* Major numbers before CYGWIN_VERSION_DLL_EPOCH are
incompatible. */ incompatible. */

View File

@ -265,7 +265,11 @@ setsid (void)
{ {
myself->ctty = -1; myself->ctty = -1;
if (fhandler_console::open_fhs <= 0) if (fhandler_console::open_fhs <= 0)
FreeConsole (); {
syscall_printf ("open_fhs %d, freeing console",
fhandler_console::open_fhs);
FreeConsole ();
}
myself->sid = getpid (); myself->sid = getpid ();
myself->pgid = getpid (); myself->pgid = getpid ();
syscall_printf ("sid %d, pgid %d, ctty %d", myself->sid, myself->pgid, myself->ctty); syscall_printf ("sid %d, pgid %d, ctty %d", myself->sid, myself->pgid, myself->ctty);