Subject: bug#68440: small patch to ltdl.c to silence clang warnings

From: Mike Frysinger <[email-masked]>
Date: Sun, 14 Jan 2024 03:34:38 +0000 (UTC)

> --- libltdl/ltdl.c
> +++ libltdl/ltdl.c
> @@ -1372,7 +1372,7 @@
>
> -	  if (!file && *sys_dlsearch_path)
> +	  if ((!file) & *sys_dlsearch_path)
> ...
> -      if (!is_done && *sys_dlsearch_path)
> +      if ((!is_done) & *sys_dlsearch_path)

this is def incorrect.  you're doing a bitwise operation on a pointer.

can you please post example compiler output ?
-mike