From owner-freebsd-perl@freebsd.org Sun Nov 29 22:57:04 2015 Return-Path: Delivered-To: freebsd-perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26AE7A3C94C for ; Sun, 29 Nov 2015 22:57:04 +0000 (UTC) (envelope-from oshogbo.vx@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C823010A5 for ; Sun, 29 Nov 2015 22:57:03 +0000 (UTC) (envelope-from oshogbo.vx@gmail.com) Received: by wmww144 with SMTP id w144so116026083wmw.0 for ; Sun, 29 Nov 2015 14:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=v3VhqSnU3gguDyPDw25BJiOdJA32yb/BDR5AP37D+CM=; b=yEr41B6LDO743XhYDFBKoeocL0clGt0yfxUiyMa6u4AbW4PIfiWqsu2SukQTkUEuIu SVhXIEpH7lhP4b5G0oDfoAhlzA5tu8jB8kYeXCorjU/jq+JeYmBzrkOefNuqAMFbXHjb Se0L7TVLFnlBJ8cleYyeZUZX8Wg5LAn9Up0xi13afU8vlsnbzDsuGUYrYYZmypxL/dLF 4LhrwJQqAFxIOwKNaym69ZcGRGm/U7xgS/vHCj6iIyfHivgbp8VcOEoKNTOkqfDc4dtn rnVBJwB+HcWt8euwbK+uUmi3VUHUmaoWRTMyFt0saOi15zJCV8mhQgYCQOC9PYMmkpvS rYAQ== MIME-Version: 1.0 X-Received: by 10.195.11.233 with SMTP id el9mr50174450wjd.145.1448837821239; Sun, 29 Nov 2015 14:57:01 -0800 (PST) Sender: oshogbo.vx@gmail.com Received: by 10.194.16.3 with HTTP; Sun, 29 Nov 2015 14:57:01 -0800 (PST) Date: Sun, 29 Nov 2015 23:57:01 +0100 X-Google-Sender-Auth: oOohkyKy5fJRoUYa4j3EStSMVT8 Message-ID: Subject: fdclose function in perl From: Mariusz Zaborski To: freebsd-perl@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 22:57:04 -0000 Hello, Some time ago I implemented a function called fdclose. Idea of this function is to free FILE structure but leave/return underlining descriptor. Perl is one of the programs which I would like to patch. So where would be good place to put it? Should I try to patch perl directly with some FREEBSD_VERSION, or we should add this file [1] to the port? Thanks, Mariusz [1] https://people.freebsd.org/~oshogbo/perl-fdclose.patch