This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: cygwin-1.3.21-1
- From: Rolf Campbell <rcampbell at tropicnetworks dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 12 Mar 2003 18:02:22 -0500
- Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.3.21-1
- References: <20030312173132.C16261C221@redhat.com>
Christopher Faylor wrote:
I've made a new version of the Cygwin DLL and associated utilities
available for download. As usual, a list of what has changed is below.
- Fix setsid problem where processes did not correctly detach from a
console. (Christopher Faylor)
I commonly run a compilation from within GNU Emacs. I've never had any
problems with this until I tried running 1.3.21-1. I think it has to do
with the changes to the console handling.
Here's a silly little program:
#include <stdlib.h>
#include <process.h>
int main(int numArgs, char** args)
{
spawnl(_P_WAIT, "C:/cygwin/bin/ls", "C:/cygwin/bin/ls", NULL);
return 0;
}
If I compile it without -mno-cygwin, then everything is fine (tried rxvt
& emacs).
If it is compiled with -mno-cygwin, it still works fine in rxvt, but
when run from within bash, within Emacs, it allocates a console, writes
its stdout to that console, then closes it's console.
For a large compile, this means that 1000's of consoles are popping up
and dissapearing, not only slowing things down, but also loosing the
stdout from that non-cygwin app.
-Rolf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/