Revert much of previous erroneous checkin. Add ChangeLog entry.

* pinfo.h: Correctly set __SIGOFFSET.
* path.cc (hash_path_name): Avoid calling library functions for simple copying
of characters.
* shortcut.c: Use WIN32_LEAN_AND_MEAN.
* smallprint.c: Ditto.
* environ.cc (getwinenv): Minor clarity fix.
* localtime.c: No need to include windows.h
* string.h: New file.
This commit is contained in:
Christopher Faylor
2001-05-04 21:02:15 +00:00
parent 17743fbc49
commit 63b61cd19f
12 changed files with 103 additions and 47 deletions

View File

@ -70,9 +70,9 @@ std_dll_init (HANDLE &dll_handle, const char *dll_name, LONG &here)
{
HANDLE h;
while (ilockincr (&here))
while (InterlockedIncrement (&here))
{
ilockdecr (&here);
InterlockedDecrement (&here);
Sleep (0);
}
@ -83,7 +83,7 @@ std_dll_init (HANDLE &dll_handle, const char *dll_name, LONG &here)
else
api_fatal ("could not load %s, %E", dll_name);
ilockdecr (&here);
InterlockedDecrement (&here);
return 0;
}