delorie.com/archives/browse.cgi | search |
On Thu, 22 Dec 2011, Corinna Vinschen wrote: > The error message is kind of nonsense anyway. The expression in question > is > > sizeof (cygheap_exec_info) + (nprocs * sizeof (children[0])) > > so it's just a `sizeof', not an actual usage of the member. Try this > for now: > > Index: sigproc.cc > =================================================================== > RCS file: /cvs/src/src/winsup/cygwin/sigproc.cc,v > retrieving revision 1.372 > diff -u -p -r1.372 sigproc.cc > --- sigproc.cc 10 Dec 2011 01:33:56 -0000 1.372 > +++ sigproc.cc 22 Dec 2011 15:30:58 -0000 > @@ -911,7 +911,7 @@ cygheap_exec_info::alloc () > { > return (cygheap_exec_info *) ccalloc_abort (HEAP_1_EXEC, 1, > sizeof (cygheap_exec_info) > - + (nprocs * sizeof (children[0]))); > + + (nprocs * sizeof (cchildren))); > } FWIW, that worked. -- Brian Ford Staff Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |