* environ.cc (spenv::force_into_environment): Rename from add_always.
(spenv::add_if_exists): Rename from force. (build_env): Accommodate name changes. Make sure that stuff that is always supposed to be in the environment is actually added to the environment. * shared.cc (open_shared): Restore VirtualFree eliminated by 2005-04-28 change.
This commit is contained in:
@ -84,7 +84,10 @@ open_shared (const char *name, int n, HANDLE& shared_h, DWORD size,
|
||||
|| !wincap.needs_memory_protection () && offsets[0])
|
||||
addr = NULL;
|
||||
else
|
||||
addr = offsets[m];
|
||||
{
|
||||
addr = offsets[m];
|
||||
(void) VirtualFree (addr, 0, MEM_RELEASE);
|
||||
}
|
||||
|
||||
if (shared_h)
|
||||
m = SH_JUSTOPEN;
|
||||
|
Reference in New Issue
Block a user