This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/ patched/
--- official/	2002-06-05 00:04:52.000000000 -0400
+++ patched/	2002-06-11 20:55:52.000000000 -0400
@@ -420,6 +420,11 @@
 wincapc NO_COPY wincap;
+: caps(0)
+	init();
 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;
-  wincapc (): caps (NULL) {}
+  wincapc ();
   void init ();
   void set_chunksize (DWORD nchunksize);

Got freedom?  Vote Libertarian:

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]