| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
| X-Spam-Check-By: | sourceware.org |
| X-Received: | by 10.49.127.15 with SMTP id nc15mr2983065qeb.61.1362744846173; Fri, 08 Mar 2013 04:14:06 -0800 (PST) |
| Message-ID: | <5139D60B.5020000@gmail.com> |
| Date: | Fri, 08 Mar 2013 13:14:03 +0100 |
| From: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: exit bug on 1.7.17 ? |
| References: | <5138CB54 DOT 8040805 AT dunslane DOT net> <5138D38D DOT 9080905 AT gmail DOT com> <20130308110038 DOT GC12359 AT calimero DOT vinschen DOT de> |
| In-Reply-To: | <20130308110038.GC12359@calimero.vinschen.de> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 3/8/2013 12:00 PM, Corinna Vinschen wrote:
> On Mar 7 18:51, marco atzeri wrote:
>>
>> Corinna, Cgf,
>> your opinion please, I guess this behavior changed long time ago
>
> I'm not overly fluent with the process signalling stuff. It might
> be helpful to know which Cygwin version introduced this change.
>
>
> Corinna
it seems already there on 1.7.14
the older version I have of cygwin1.dll
>
>
>> -------- Original Message --------
>> Subject: Re: Postgresql for cygwin - 2nd
>> Date: Thu, 07 Mar 2013 12:16:04 -0500
>> From: Andrew Dunstan
>> To: marco atzeri
>>
>>
>> pg_ctl is broken because it hangs waiting for a child process to finish.
>> This can be seen with the following test program:
>>
>> #include <stdio.h>
>> #include <stdlib.h>
>>
>> main()
>> {
>> system("sleep 5 && echo waking&");
>> printf("done\n");
>> exit(0);
>> }
>>
>> On my Cygwin 1.7.7/ gcc 4.3.4 system this program returns immediately as
>> expected and does not wait for the child to exit. However, on Cygwin
>> 1.7.17 / gcc 4.5.3 it does not return until the child exits, even though
>> the system() call returns immediately.
>>
>> That's a major piece of breakage (and nothing to to with Postgres, of
>> course).
>>
>> cheers
>>
>> andrew
>>
>> On 03/06/2013 05:17 PM, marco atzeri wrote:
>>> Andrew,
>>> attached clean version of previous patch.
>>>
>>> I reversed the postgres.exe changes, for the time being, to allow
>>> a complete compilation.
>>>
>>> - Every dll is built with "gcc -shared",
>>> - DLLWRAP is not used anymore
>>> - DLLTOLL is only used for postgres.exe
>>>
>>> I will upload a test package to allow user tests
>>>
>>> Regards
>>> Marco
>>
>>
>>
>>
>> --
>> Problem reports: http://cygwin.com/problems.html
>> FAQ: http://cygwin.com/faq/
>> Documentation: http://cygwin.com/docs.html
>> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |