X-Loop: help-debbugs@HIDDEN Subject: bug#34237: small patch to ltdl.c to silence clang warnings Resent-From: Rupert Gallagher <ruga@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-libtool@HIDDEN Resent-Date: Mon, 28 Jan 2019 19:14:01 +0000 Resent-Message-ID: <handler.34237.B.154870279614724 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 34237 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 34237 <at> debbugs.gnu.org X-Debbugs-Original-To: "bug-libtool@HIDDEN" <bug-libtool@HIDDEN> Reply-To: Rupert Gallagher <ruga@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.154870279614724 (code B ref -1); Mon, 28 Jan 2019 19:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jan 2019 19:13:16 +0000 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= From: Rupert Gallagher <ruga@HIDDEN> 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-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> 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--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Rupert Gallagher <ruga@HIDDEN> Subject: bug#34237: Acknowledgement (small patch to ltdl.c to silence clang warnings) Message-ID: <handler.34237.B.154870279614724.ack <at> debbugs.gnu.org> References: <GznNV3gehtPAl34U8baaxWaaURzW27OXvEp3RvAfEhlGV-Ufc2zGKaYOqQZqiMOh4i_WA2pfxfh48fSoyFe-WoMdvqPfpEuhBuKBV81APNA=@protonmail.com> X-Gnu-PR-Message: ack 34237 X-Gnu-PR-Package: libtool Reply-To: 34237 <at> debbugs.gnu.org Date: Mon, 28 Jan 2019 19:14:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-libtool@HIDDEN If you wish to submit further information on this problem, please send it to 34237 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 34237: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34237 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#34237: small patch to ltdl.c to silence clang warnings References: <GznNV3gehtPAl34U8baaxWaaURzW27OXvEp3RvAfEhlGV-Ufc2zGKaYOqQZqiMOh4i_WA2pfxfh48fSoyFe-WoMdvqPfpEuhBuKBV81APNA=@protonmail.com> In-Reply-To: <GznNV3gehtPAl34U8baaxWaaURzW27OXvEp3RvAfEhlGV-Ufc2zGKaYOqQZqiMOh4i_WA2pfxfh48fSoyFe-WoMdvqPfpEuhBuKBV81APNA=@protonmail.com> Resent-From: Mike Frysinger <vapier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-libtool@HIDDEN Resent-Date: Sun, 14 Jan 2024 03:35:02 +0000 Resent-Message-ID: <handler.34237.B34237.170520328714947 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 34237 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: Rupert Gallagher <ruga@HIDDEN> Cc: 34237 <at> debbugs.gnu.org X-Debbugs-Original-Cc: 34237 <at> debbugs.gnu.org, "bug-libtool@HIDDEN" <bug-libtool@HIDDEN> Received: via spool by 34237-submit <at> debbugs.gnu.org id=B34237.170520328714947 (code B ref 34237); Sun, 14 Jan 2024 03:35:02 +0000 Received: (at 34237) by debbugs.gnu.org; 14 Jan 2024 03:34:47 +0000 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> 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-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
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.