Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64055 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68891 invoked from network); 26 Nov 2012 23:10:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2012 23:10:49 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:35591] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/0A-26957-6F6F3B05 for ; Mon, 26 Nov 2012 18:10:47 -0500 Received: from [192.168.2.20] (ppp-188-174-41-168.dynamic.mnet-online.de [188.174.41.168]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 1A50A65F24; Tue, 27 Nov 2012 00:10:43 +0100 (CET) To: Sara Golemon Cc: PHP internals In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 27 Nov 2012 00:11:10 +0100 Message-ID: <1353971470.13673.112.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Modify tempnam() to handle directories and auto-cleanup From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi, On Mon, 2012-11-26 at 13:21 -0800, Sara Golemon wrote: > https://wiki.php.net/rfc/request-tempnam > > Just a bit of hand-holding for those who don't remember to clean up > their messes. An obvious question is: When in shutdown should that be called? Assume I have a session handler which uses such a temporary directory which is backed by a custom stream while having a registered shutdown function accessing that session (what did i forget to put into that scenario?) johannes