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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Rupert Gallagher <ruga@HIDDEN>; dated Mon, 28 Jan 2019 19:14:01 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at 34237 <at> debbugs.gnu.org:


Received: (at 34237) by debbugs.gnu.org; 14 Jan 2024 03:34:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 13 22:34:47 2024
Received: from localhost ([127.0.0.1]:41454 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rOrGo-0003t1-Tp
	for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 22:34:47 -0500
Received: from woodpecker.gentoo.org ([140.211.166.183]:47050
 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vapier@HIDDEN>) id 1rOrGl-0003sj-OM
 for 34237 <at> debbugs.gnu.org; Sat, 13 Jan 2024 22:34:45 -0500
Received: by smtp.gentoo.org (Postfix, from userid 559)
 id 9C42B3431D4; Sun, 14 Jan 2024 03:34:38 +0000 (UTC)
From: Mike Frysinger <vapier@HIDDEN>
To: Rupert Gallagher <ruga@HIDDEN>
Subject: Re: small patch to ltdl.c to silence clang warnings
User-Agent: GNU debbugs/0
Message-Id: <20240114033438.9C42B3431D4@HIDDEN>
Date: Sun, 14 Jan 2024 03:34:38 +0000 (UTC)
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 34237
Cc: 34237 <at> debbugs.gnu.org, "bug-libtool@HIDDEN" <bug-libtool@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> --- 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




Information forwarded to bug-libtool@HIDDEN:
bug#34237; Package libtool. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Jan 2019 19:13:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 28 14:13:16 2019
Received: from localhost ([127.0.0.1]:49529 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1goCLL-0003pQ-Rj
	for submit <at> debbugs.gnu.org; Mon, 28 Jan 2019 14:13:16 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ruga@HIDDEN>) id 1goCDW-0003dm-E4
 for submit <at> debbugs.gnu.org; Mon, 28 Jan 2019 14:05:11 -0500
Received: from lists.gnu.org ([209.51.188.17]:34332)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ruga@HIDDEN>) id 1goCDQ-0003Ts-V8
 for submit <at> debbugs.gnu.org; Mon, 28 Jan 2019 14:05:05 -0500
Received: from eggs.gnu.org ([209.51.188.92]:60338)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ruga@HIDDEN>) id 1goCDQ-0003Ut-13
 for bug-libtool@HIDDEN; Mon, 28 Jan 2019 14:05:04 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 HTML_MESSAGE,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ruga@HIDDEN>) id 1goCDO-0003Rh-Tr
 for bug-libtool@HIDDEN; Mon, 28 Jan 2019 14:05:03 -0500
Received: from mail-40130.protonmail.ch ([185.70.40.130]:16120)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ruga@HIDDEN>) id 1goCDO-0003MQ-88
 for bug-libtool@HIDDEN; Mon, 28 Jan 2019 14:05:02 -0500
Date: Mon, 28 Jan 2019 19:04:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=default; t=1548702297;
 bh=MeII6Tx3VxX3+S9O96oXunqri9s9i6sMKhmdkSOpwpU=;
 h=Date:To:From:Reply-To:Subject:Feedback-ID:From;
 b=VpVqnjC/56Y+wYU61bWzQXvOL4SkHdvFuLI+jOVKEUv3t1LRXiUaa1DeSqoLqD4AP
 jNwy+BNa5g1zbw9lf5yiVsA/kB8QLJx4+/u0p1PtzBPJfs9yGCtDJF/JjaJ7vYF7Ey
 f6mo6V/aARm51mUL1oogXUFHHcxALrI93OaKBTmc=
To: "bug-libtool@HIDDEN" <bug-libtool@HIDDEN>
From: Rupert Gallagher <ruga@HIDDEN>
Subject: small patch to ltdl.c to silence clang warnings
Message-ID: <GznNV3gehtPAl34U8baaxWaaURzW27OXvEp3RvAfEhlGV-Ufc2zGKaYOqQZqiMOh4i_WA2pfxfh48fSoyFe-WoMdvqPfpEuhBuKBV81APNA=@protonmail.com>
Feedback-ID: oB6GKnirSS_DqkG4aB4nE5gphUIpxVCskgHkaraFkcD-krKsiCsNoJAJHk2fpM8v52PGH-haFQUjOcAzDUJLrQ==:Ext:ProtonMail
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="b1_5024547ac99301477be8a5b11542081a"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 185.70.40.130
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 28 Jan 2019 14:13:15 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Rupert Gallagher <ruga@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

This is a multi-part message in MIME format.

--b1_5024547ac99301477be8a5b11542081a
Content-Type: multipart/alternative;
	boundary="b2_5024547ac99301477be8a5b11542081a"

--b2_5024547ac99301477be8a5b11542081a
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64

RW1wdHkgTWVzc2FnZQ==


--b2_5024547ac99301477be8a5b11542081a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: base64

PGRpdj5FbXB0eSBNZXNzYWdlPC9kaXY+



--b2_5024547ac99301477be8a5b11542081a--

--b1_5024547ac99301477be8a5b11542081a
Content-Type: application/octet-stream; name="ltdl.c.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=ltdl.c.patch

LS0tIGxpYmx0ZGwvbHRkbC5jX29yaWcJMjAxOS0wMS0yOCAxOToyOTozOS4wMDAwMDAwMDAgKzAx
MDAKKysrIGxpYmx0ZGwvbHRkbC5jCTIwMTktMDEtMjggMTk6MzA6MzYuMDAwMDAwMDAwICswMTAw
CkBAIC0xMzcyLDcgKzEzNzIsNyBAQAogCSAgICB9CiAjZW5kaWYKICNpZiBkZWZpbmVkIExUX0RM
U0VBUkNIX1BBVEgKLQkgIGlmICghZmlsZSAmJiAqc3lzX2Rsc2VhcmNoX3BhdGgpCisJICBpZiAo
KCFmaWxlKSAmICpzeXNfZGxzZWFyY2hfcGF0aCkKIAkgICAgewogCSAgICAgIGZpbGUgPSBmaW5k
X2ZpbGUgKHN5c19kbHNlYXJjaF9wYXRoLCBiYXNlX25hbWUsICZkaXIpOwogCSAgICB9CkBAIC0x
OTM0LDcgKzE5MzQsNyBAQAogCX0KICNlbmRpZgogI2lmIGRlZmluZWQgTFRfRExTRUFSQ0hfUEFU
SAotICAgICAgaWYgKCFpc19kb25lICYmICpzeXNfZGxzZWFyY2hfcGF0aCkKKyAgICAgIGlmICgo
IWlzX2RvbmUpICYgKnN5c19kbHNlYXJjaF9wYXRoKQogCXsKIAkgIGlzX2RvbmUgPSBmb3JlYWNo
X2RpcmlucGF0aCAoc3lzX2Rsc2VhcmNoX3BhdGgsIDAsCiAJCQkJICAgICAgIGZvcmVhY2hmaWxl
X2NhbGxiYWNrLCBmcHB0ciwgZGF0YSk7Cg==


--b1_5024547ac99301477be8a5b11542081a--





Acknowledgement sent to Rupert Gallagher <ruga@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#34237; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

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