function. Also replace the seterror function.
* THANKS: Update.
+2007-01-27 James Su <james.su@gmail.com>
+
+ * libltdl/ltdl.c (lt_dlmutex_register): Fix usage of old unlock
+ function. Also replace the seterror function.
+ * THANKS: Update.
+
2007-01-24 Reuben Thomas <rrt@sc3d.org> (tiny change)
* doc/libtool.texi (Inter-library dependencies): Fix typo.
Howard Chu hyc@highlandsun.com
Ian Lance Taylor ian@cygnus.com
Jacob Meuser jakemsr@jakemsr.com
+ James Su james.su@gmail.com
Jeff Squyres jsquyres@lam-mpi.org
Jeremy C. Reed reed@reedmedia.net
Joel N. Weber II devnull@gnu.org
lt_dlmutex_seterror *seterror;
lt_dlmutex_geterror *geterror;
{
- lt_dlmutex_unlock *old_unlock = unlock;
+ lt_dlmutex_unlock *old_unlock = lt_dlmutex_unlock_func;
int errors = 0;
/* Lock using the old lock() callback, if any. */
{
lt_dlmutex_lock_func = lock;
lt_dlmutex_unlock_func = unlock;
+ lt_dlmutex_seterror_func = seterror;
lt_dlmutex_geterror_func = geterror;
}
else