Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BE456200BEF for ; Wed, 4 Jan 2017 14:54:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BCD44160B44; Wed, 4 Jan 2017 13:54:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 04631160B39 for ; Wed, 4 Jan 2017 14:54:28 +0100 (CET) Received: (qmail 80939 invoked by uid 500); 4 Jan 2017 13:54:28 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 80923 invoked by uid 99); 4 Jan 2017 13:54:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2017 13:54:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6A126180233; Wed, 4 Jan 2017 13:54:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 7OtpZos23R2h; Wed, 4 Jan 2017 13:54:25 +0000 (UTC) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 052425FDE7; Wed, 4 Jan 2017 13:54:25 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id t79so456881920wmt.0; Wed, 04 Jan 2017 05:54:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rdZWdXCsq+Znj5NqxtI9/QTSm2sCk2xk3z7id0yVbMg=; b=PTPzOW8mhp5EiTqGiquNWCjbDZvj2sUhWiZh2n2CLFEdbZkclL1fqz09siwO8mpWC+ VCc4NyJ1aidQSA8oTgTlpPmuYsfWXaR7TuOhawNHTHihJQECwpAOiV9xN/IefvSuzKP9 EvqTV/L7x+CkBb4GnytS/X4XiW6ZOSJs5EcLkIiOugWuX827933epDXhoDUpbAy/ECMk FibI8x6ITRbPIndPYCwI8aPVV19L9DkjHeYopvJSG0+a0rZMCcRhzWAjiAtUxdNBKnQ5 F6YXMLqNDFXd2e6RxgZ505CMVzitjXP2IIUCA6O30La0dfveuaIfoBpsKGFcawMBCZR+ 4arA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rdZWdXCsq+Znj5NqxtI9/QTSm2sCk2xk3z7id0yVbMg=; b=Emp+9kKQerTHs5OR4RH8nQ2MBbkwPXiWhoCUtX7vSfQwZ+rA9uCHub3z9PiN63az21 fuR9jfWPOH2xRnNPkXLcLnAvfv91DwZnUoW1fa86iT3NtgAUseqzIJU1PcegtTp6QBDL +7SJpt6Nbc8vRygOVOHCZ2rkzxUljzOA/UgKlWMAYuXI5vPxcpsq0iNrJbqeJrO2xOJh T7yAim6K4gaotOiZj+1Ofx9vS/xNKPkviZZF+0YqgO5DBjgCqZymwNBStU2EdpoNY7DT 1LDCcrv9mBm9Cxu+E36nIwQFXI1EHExqItEcAysQqh4bXcCBjhHtqAEoZrjeomKazBsj NG4Q== X-Gm-Message-State: AIkVDXI5oaHBVPz99/jRB+u5ltNJxbWuXreZ118yVHrK/A32xp6+k8rMiRNzRvBP5Xcxt6cUO8es9+5XuLl1PQ== X-Received: by 10.28.191.219 with SMTP id o88mr53505824wmi.30.1483538063982; Wed, 04 Jan 2017 05:54:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.145.202 with HTTP; Wed, 4 Jan 2017 05:54:23 -0800 (PST) In-Reply-To: <2fbf1964-d007-acbe-075d-d41a710e7e52@kippdata.de> References: <2fbf1964-d007-acbe-075d-d41a710e7e52@kippdata.de> From: Steve Hay Date: Wed, 4 Jan 2017 13:54:23 +0000 Message-ID: Subject: Re: svn commit: r1717474 - in /perl/modperl/trunk: Changes src/modules/perl/mod_perl.c src/modules/perl/modperl_env.c src/modules/perl/modperl_env.h src/modules/perl/modperl_perl.c t/response/TestModperl/env.pm To: Rainer Jung Cc: modperl-cvs@perl.apache.org, dev@perl.apache.org Content-Type: multipart/mixed; boundary=001a114e2bde50b4120545451f0c archived-at: Wed, 04 Jan 2017 13:54:29 -0000 --001a114e2bde50b4120545451f0c Content-Type: text/plain; charset=UTF-8 On 4 January 2017 at 13:27, Rainer Jung wrote: > Hi there, > > this commit broke compatibility for mod_perl 2.0.10 with perl before version > 5.14. AFAIK API function mg_free_type() used here was only introduced in > 5.14.0. Since the above commit was titled "Add support for Perl 5.22.x.", it > might be possible to fix this using a version dependent code path. But I > don't know enough about these internals to suggest an appropriate patch, > sorry. > Thanks for the report. Are you in a position to try the attached patch, which I think should be sufficient to fix it? (mg_free() removes magic of all types, but I wouldn't expect any magic other than the type targetted by the mg_free_type() call to be present anyway.) If not then I'll build a 5.14 and try it myself, but I don't have one to hand at the moment. --001a114e2bde50b4120545451f0c Content-Type: text/x-diff; charset=US-ASCII; name="mg_free.patch" Content-Disposition: attachment; filename="mg_free.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ixj088mm0 SW5kZXg6IHNyYy9tb2R1bGVzL3BlcmwvbW9kcGVybF9lbnYuYw0KPT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIHNy Yy9tb2R1bGVzL3BlcmwvbW9kcGVybF9lbnYuYwkocmV2aXNpb24gMTc3NzMwOSkNCisrKyBzcmMv bW9kdWxlcy9wZXJsL21vZHBlcmxfZW52LmMJKHdvcmtpbmcgY29weSkNCkBAIC02NzAsNyArNjcw LDExIEBADQogICAgICAgICAgICAgICAgbWctPm1nX3B0ciwgbWctPm1nX29iaiwgbWctPm1nX2Zs YWdzKTsKIAogICAgIC8qIFJlbW92ZSBpdCAqLworI2lmIE1QX1BFUkxfVkVSU0lPTl9BVF9MRUFT VCg1LCAxMywgNikKICAgICBtZ19mcmVlX3R5cGUoKFNWKilFTlZIViwgUEVSTF9NQUdJQ19lbnYp OworI2Vsc2UKKyAgICBtZ19mcmVlKChTViopRU5WSFYpOworI2VuZGlmCiAKICAgICAvKiBBZGQg b3VyIHZlcnNpb24gaW5zdGVhZCAqLwogICAgIG1nID0gc3ZfbWFnaWNleHQoKFNWKilFTlZIViwg KFNWKilOVUxMLCBQRVJMX01BR0lDX2VudiwgJk1QX3Z0YmxfZW52LCAoY2hhciopTlVMTCwgMCk7 CkBAIC02OTksNyArNzAzLDExIEBADQogICAgICAgICAgICAgICAgbWctPm1nX3B0ciwgbWctPm1n X29iaiwgbWctPm1nX2ZsYWdzKTsKIAogICAgIC8qIFJlbW92ZSBpdCAqLworI2lmIE1QX1BFUkxf VkVSU0lPTl9BVF9MRUFTVCg1LCAxMywgNikKICAgICBtZ19mcmVlX3R5cGUoKFNWKilFTlZIViwg UEVSTF9NQUdJQ19lbnYpOworI2Vsc2UKKyAgICBtZ19mcmVlKChTViopRU5WSFYpOworI2VuZGlm CiAKICAgICAvKiBSZXN0b3JlIHBlcmwncyBvcmlnaW5hbCB2ZXJzaW9uICovCiAgICAgc3ZfbWFn aWNleHQoKFNWKilFTlZIViwgKFNWKilOVUxMLCBQRVJMX01BR0lDX2VudiwgJlBMX3Z0YmxfZW52 LCAoY2hhciopTlVMTCwgMCk7Cg== --001a114e2bde50b4120545451f0c Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org --001a114e2bde50b4120545451f0c--