* 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:
@@ -418,7 +418,7 @@ static NO_COPY wincaps wincap_xp = {
|
||||
has_process_io_counters:true,
|
||||
};
|
||||
|
||||
wincapc NO_COPY wincap;
|
||||
wincapc wincap;
|
||||
|
||||
void
|
||||
wincapc::init ()
|
||||
|
Reference in New Issue
Block a user