DEVEL15-windows-afsd-hook-20081106
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 6 Nov 2008 19:18:51 +0000 (19:18 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 6 Nov 2008 19:18:51 +0000 (19:18 +0000)
commita51916957b917f1ea684b7e911111d07f71128c6
treec026f3576fcf842557f332d43999f76c0b7db50c
parentd4612586a9dad47795cba535c1eac944943da6b8
DEVEL15-windows-afsd-hook-20081106

LICENSE MIT

When loading the afsdhook.dll require that it be in the same directory
as afsd_service.exe.  This prevents LoadLibrary() from searching the PATH
environment variable if it cannot be found.   If the PATH environment
variable contains a path in AFS, the library will fail to load and take
a very long time doing so.

(cherry picked from commit a36618213694f37cd1cec660336267a38cee9344)
src/WINNT/afsd/afsd_service.c
src/WINNT/afsd/cm_daemon.c
src/WINNT/afsd/cm_utils.c
src/WINNT/afsd/cm_utils.h