DEVEL15-rx-fix-lock-init-20061216
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 17 Dec 2006 01:23:30 +0000 (01:23 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 17 Dec 2006 01:23:30 +0000 (01:23 +0000)
commit2b1d85b592d731a52248dd934cf52bf736a6c09f
treebf030c19e533221b610b6568465a9d5adef0f1f7
parent813ad97ae6b3f6e1c56466ff3726acbcf7d0d1b8
DEVEL15-rx-fix-lock-init-20061216

When rxBind was added it made an assumption that rx_GetIFInfo could be
called before rx_InitXYZ.  This is true on non-Windows platforms, but
on Windows rxGetIFInfo relies on an initialized mutex.  This patch adds
a DllMain for Windows in order to initialize the mutex object upon DLL
load.

(cherry picked from commit 5b56a0b8ebbdfffa46b90d45b06253c3c6fade15)
src/libafsrpc/afsrpc.def
src/rx/rx.c
src/rx/rx_user.c