[ros-kernel] Make Wine Makefile Problem with Build ROS on ROS

Hartmut Birr Hartmut.Birr at gmx.de
Thu May 27 15:21:08 CEST 2004


Hi,

the real problem is in make.exe. Make.exe uses always the same pointer to
the environment block, even if there was an update of the path variable. All
sub calls to make.exe use this environment block. If this block is zeroed,
msvcrt.dll will fail within DllMain while process attaching. I've fixed this
by allocating only a new environment block, if the number of variable has
changed. The heap changes was a side effect. The bin cell allocator returns
always the same block, if one block is freed and the next allocation has the
same size. In this case the environment block from make.exe does not change.

- Hartmut

 




More information about the Ros-kernel mailing list