Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com List-Unsubscribe: List-Archive: List-Help: , Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Mon, 2 Aug 1999 13:19:38 -0400 From: Chris Faylor To: Egor Duda Cc: cygwin-developers Subject: Re: new snapshot -- fixes reported bugs? Message-ID: <19990802131938.B1033@cygnus.com> References: <19990802001203 DOT A20059 AT cygnus DOT com> <0862 DOT 990802 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <0862.990802@logos-m.ru>; from Egor Duda on Mon, Aug 02, 1999 at 08:42:16PM +0400 The ctors problem is my fault (obviously). I'd forgotten that ctors needs to run twice. Right now only the DLL's constructors are being run. I've reverted my previous, overly ambitiou change, to do_global_ctors. I have never been able to duplicate any problems with strace/ReadProcessMemory, on NT at least. I can only fix what I can duplicate. cgf On Mon, Aug 02, 1999 at 08:42:16PM +0400, Egor Duda wrote: >Hi! > >August, 2 1999 Chris Faylor cgf AT cygnus DOT com wrote: > >CF> Could you all check out the new snapshot? AFAIK, I've fixed all of the >CF> reported bugs except for the "sh -c 'ls &'" one. > >the following program (generated by groff-1.10 configure) fails -- and >so does configure -- A() constructor isn't being called. > >confdefs.C >============================================================================ >#line 654 "configure" >#include "confdefs.h" >#ifdef __cplusplus >extern "C" void exit(int); >#endif > >extern "C" { > void _exit(int); >} >int i; >struct A { > char dummy; > A() { i = 1; } > ~A() { if (i == 1) _exit(0); } >}; >A a; >int main() { return 1; } >============================================================================ > >Moreover, i was trying to build groff because groff fails too -- for >some reason it checks current path for devlatin1/DESC rather then >/usr/local/share/groff/font/. And due to groff, man fails. > >BTW, "strace -f man man" still breaks failing to read child memory -- >as it have been discussed some time ago. > >Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 > > -- cgf AT cygnus DOT com http://www.cygnus.com/