GNU bug report logs - #34237
small patch to ltdl.c to silence clang warnings

Previous Next

Package: libtool;

Reported by: Rupert Gallagher <ruga <at> protonmail.com>

Date: Mon, 28 Jan 2019 19:14:01 UTC

Severity: normal

To reply to this bug, email your comments to 34237 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#34237; Package libtool. (Mon, 28 Jan 2019 19:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rupert Gallagher <ruga <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Mon, 28 Jan 2019 19:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rupert Gallagher <ruga <at> protonmail.com>
To: "bug-libtool <at> gnu.org" <bug-libtool <at> gnu.org>
Subject: small patch to ltdl.c to silence clang warnings
Date: Mon, 28 Jan 2019 19:04:54 +0000
[Message part 1 (text/plain, inline)]
Empty Message
[Message part 2 (text/html, inline)]
[ltdl.c.patch (application/octet-stream, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#34237; Package libtool. (Sun, 14 Jan 2024 03:35:02 GMT) Full text and rfc822 format available.

Message #8 received at 34237 <at> debbugs.gnu.org (full text, mbox):

From: Mike Frysinger <vapier <at> gentoo.org>
To: Rupert Gallagher <ruga <at> protonmail.com>
Cc: 34237 <at> debbugs.gnu.org, "bug-libtool <at> gnu.org" <bug-libtool <at> gnu.org>
Subject: Re: small patch to ltdl.c to silence clang warnings
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




This bug report was last modified 1 year and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.