]> git.ipfire.org Git - thirdparty/libtool.git/commit
Preserve the last error when restoring the error mode.
authorPeter Rosin <peda@lysator.liu.se>
Wed, 17 Mar 2010 08:01:57 +0000 (09:01 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Wed, 17 Mar 2010 08:01:57 +0000 (09:01 +0100)
commitf21029c498c2cf9f0481a203f91f538f0c290d58
tree37d27dbb3c935ce0540ca3c75809b3506c017a4e
parent3f0fa1bae41684e2ec5dba6d4f01c0d35fde7599
Preserve the last error when restoring the error mode.

* libltdl/loaders/loadlibrary.c (wm_open): Don't rely on
SetThreadErrorMode (or SetErrorMode) to not clobber the last
error.
Report by Ralf Wildenhues.

Signed-off-by: Peter Rosin <peda@lysator.liu.se>
ChangeLog
libltdl/loaders/loadlibrary.c