From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F27D03898389; Fri, 21 Jun 2024 11:15:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F27D03898389 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1718968552; bh=wSW79bskNBS7Xk+fzWZ9yVvPkfONOK8PI5+PPfdozjs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rDYlyOyC2R88W/33qUFNa7KR0BUQyS3HIsi1vFXdqgUB0xh2D0IzaO6Bucl+bUFK1 DNZkaKTmRuBfWYAABoXfcXx7FhrSHE9+H7YYdNUYn9ZzN+k5RoVK4+ApzIJylRiS8p ms/mKwezN5IH6Sp82H2t9uh8HVpuTa5OzrWWXzlY= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/31892] Always install mtrace. Date: Fri, 21 Jun 2024 11:15:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.40 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.40 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31892 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REOPENED |RESOLVED --- Comment #9 from Florian Weimer --- The quoting issue was fixed via: commit dd144dce21c864781fade4561581d50fb4549956 Author: Florian Weimer Date: Thu Jun 20 20:55:10 2024 +0200 malloc: Replace shell/Perl gate in mtrace The previous version expanded $0 and $@ twice. The new version defines a q no-op shell command. The Perl syntax error is masked by the eval Perl function. The q { =E2=80=A6 } constru= ct is executed by the shell without errors because the q shell function was defined, but treated as a non-expanding quoted string by Perl, effectively hiding its context from the Perl interpreter. As before the script is read by require instead of executed directly, to avoid infinite recursion because the #! line contains /bin/sh. Introduce the =E2=80=9Cfatal=E2=80=9D function to produce diagnostics t= hat are not suppressed by =E2=80=9Cdo=E2=80=9D. Use =E2=80=9Cdo=E2=80=9D instead o= f =E2=80=9Crequire=E2=80=9D because it has fewer requirements on the executed script than =E2=80=9Crequire=E2=80= =9D. Prefix relative paths with './' because =E2=80=9Cdo=E2=80=9D (and =E2= =80=9Crequire=E2=80=9C before) searches for the script in @INC if the path is relative and does not start with './'. Use $_ to make the trampoline shorter. Add an Emacs mode marker to indentify the script as a Perl script. --=20 You are receiving this mail because: You are on the CC list for the bug.=