From: Gary V. Vaughan Date: Tue, 14 Aug 2001 22:45:21 +0000 (+0000) Subject: * libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated X-Git-Tag: release-1-4d~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93a734ce9d1ddba1fe38b2047aefd2d1a49f6a51;p=thirdparty%2Flibtool.git * libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated starting from value `1', so that clients can use a value of zero to indicate that libltdl has not yet initialised. --- diff --git a/ChangeLog b/ChangeLog index 0c8b16301..b80607e68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2001-08-14 Gary V. Vaughan + * libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated + starting from value `1', so that clients can use a value of zero + to indicate that libltdl has not yet initialised. + * ltmain.in (exec_cmd): Fix quoting in execute mode so that the double quotes added by libtool (to prevent lossage with embedded spaces in filenames etc.) are not interpreted as literals by the diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index c1afdd9c8..ff7e2c7e8 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -3538,7 +3538,7 @@ lt_dlforeach (func, data) lt_dlcaller_id lt_dlcaller_register () { - static int last_caller_id = -1; + static lt_dlcaller_id last_caller_id = 0; int result; LT_DLMUTEX_LOCK ();