Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23133 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41526 invoked by uid 1010); 3 May 2006 22:53:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41511 invoked from network); 3 May 2006 22:53:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 May 2006 22:53:59 -0000 X-PHP-List-Original-Sender: hartmut@mysql.com X-Host-Fingerprint: 213.136.52.68 mailgate-out2.mysql.com Linux 2.5 (sometimes 2.4) (4) Received: from ([213.136.52.68:57528] helo=mailgate.mysql.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C2/33-63443-58439544 for ; Wed, 03 May 2006 18:53:58 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate.mysql.com (8.13.4/8.13.4) with ESMTP id k43Mrrh5008094 for ; Thu, 4 May 2006 00:53:53 +0200 Received: from mail.mysql.com ([10.222.1.99]) by localhost (mailgate.mysql.com [10.222.1.98]) (amavisd-new, port 10026) with LMTP id 07341-01 for ; Thu, 4 May 2006 00:53:53 +0200 (CEST) Received: from [10.100.64.53] (10-100-64-53.mysql.internal [10.100.64.53]) by mail.mysql.com (8.13.3/8.13.3) with ESMTP id k43MrnMk022559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 May 2006 00:53:51 +0200 Message-ID: <44593472.7020400@mysql.com> Date: Thu, 04 May 2006 00:53:38 +0200 Organization: MySQL AB User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mailgate.mysql.com Subject: new function: php_get_tmpdir() - bug #35380 From: hartmut@mysql.com (Hartmut Holzgraefe) I have added a small function requested by bug #35380 that exposes the C API function php_get_temorary_directory() to userland as php_get_tmpdir(). The patch is available from the bug page http://bugs.php.net/bug.php?id=35380 I can't oversee whether this has any security implications although i can't think of any ... Anny comments before i proceed to commit? -- Hartmut Holzgraefe, Senior Support Engineer . MySQL AB, www.mysql.com