[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68440: small patch to ltdl.c to silence clang warnings
From: |
Mike Frysinger |
Subject: |
bug#68440: small patch to ltdl.c to silence clang warnings |
Date: |
Sun, 14 Jan 2024 03:34:38 +0000 (UTC) |
User-agent: |
GNU debbugs/0 |
> --- 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#68440: small patch to ltdl.c to silence clang warnings,
Mike Frysinger <=