New function to load windows system libraries
commit418e6caeebfb13c66ea1b4904fb331fe57b82b80
authorNick Mathewson <nickm@torproject.org>
Tue, 21 Sep 2010 17:07:11 +0000 (21 13:07 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 21 Sep 2010 18:39:23 +0000 (21 14:39 -0400)
tree9189015c838c66a5f1d9d98af8aba69852ed138b
parentfb34c66e83790bf03b163555128565823a3e58fe
New function to load windows system libraries

This function uses GetSystemDirectory() to make sure we load the version
of the library from c:\windows\system32 (or local equivalent) rather than
whatever version lives in the cwd.
src/common/util.c
src/common/util.h
src/test/test_util.c