* dcrt0.cc (dll_crt0_1): Initialize wincap and check for sanity before running

global ctors.
* wincap.h (wincap): Eliminate constructor.  Default is to zero memory, anyway.
* wincap.cc (wincap): Copy this on fork to avoid initialization in forked
processes.
This commit is contained in:
Christopher Faylor
2002-06-10 17:08:09 +00:00
parent 3d78e129b7
commit fe4283af7a
4 changed files with 12 additions and 4 deletions

View File

@@ -56,7 +56,6 @@ class wincapc
void *caps;
public:
wincapc (): caps (NULL) {}
void init ();
void set_chunksize (DWORD nchunksize);