bug#34237: small patch to ltdl.c to silence clang warnings
Rupert Gallagher <[email protected]>
| Newsgroups | gmane.comp.gnu.libtool.bugs |
|---|---|
| Message-ID | <GznNV3gehtPAl34U8baaxWaaURzW27OXvEp3RvAfEhlGV-Ufc2zGKaYOqQZqiMOh4i_WA2pfxfh48fSoyFe-WoMdvqPfpEuhBuKBV81APNA=@protonmail.com> |
Empty Message _______________________________________________ Bug-libtool mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-libtool
ltdl.c.patch
(application/octet-stream, 595 B)
--- libltdl/ltdl.c_orig 2019-01-28 19:29:39.000000000 +0100
+++ libltdl/ltdl.c 2019-01-28 19:30:36.000000000 +0100
@@ -1372,7 +1372,7 @@
}
#endif
#if defined LT_DLSEARCH_PATH
- if (!file && *sys_dlsearch_path)
+ if ((!file) & *sys_dlsearch_path)
{
file = find_file (sys_dlsearch_path, base_name, &dir);
}
@@ -1934,7 +1934,7 @@
}
#endif
#if defined LT_DLSEARCH_PATH
- if (!is_done && *sys_dlsearch_path)
+ if ((!is_done) & *sys_dlsearch_path)
{
is_done = foreach_dirinpath (sys_dlsearch_path, 0,
foreachfile_callback, fpptr, data);