This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Am I missing something?
- From: linguist-cygwin at rich-paul dot net
- To: cygwin at cygwin dot com
- Date: Wed, 12 Jun 2002 00:29:33 -0400
- Subject: Am I missing something?
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/