Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Date: Wed, 12 Jun 2002 00:29:33 -0400 From: linguist-cygwin@rich-paul.net To: cygwin@cygwin.com Subject: Am I missing something? Message-ID: <20020612002933.A10609@monster.rich-paul.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i X-Operating-System: Linux monster 2.4.17-SMPs I had to change wincap.{cc,h} in order to get the 6/9/2002 snapshot to work for me. Without that, every cygwin program would segfault before entering main, due to trying to access wincapc in the pthreads initialization code. It seems odd, however, that there's been no discussion of such a problem on this list or the cygwin developer's list. Thus my question: have I missed something? Or am I the only one trying snapshots? Anyway, my patch is here, FWIW: diff -ur official/wincap.cc patched/wincap.cc --- official/wincap.cc 2002-06-05 00:04:52.000000000 -0400 +++ patched/wincap.cc 2002-06-11 20:55:52.000000000 -0400 @@ -420,6 +420,11 @@ wincapc NO_COPY wincap; +wincapc::wincapc() +: caps(0) +{ + init(); +} void wincapc::init () { diff -ur official/wincap.h patched/wincap.h --- official/wincap.h 2002-05-17 15:34:11.000000000 -0400 +++ patched/wincap.h 2002-06-11 20:53:54.000000000 -0400 @@ -56,7 +56,7 @@ void *caps; public: - wincapc (): caps (NULL) {} + wincapc (); void init (); void set_chunksize (DWORD nchunksize); -- Got freedom? Vote Libertarian: http://www.lp.org -- 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/