Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21273 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79359 invoked by uid 1010); 18 Dec 2005 22:54:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79344 invoked from network); 18 Dec 2005 22:54:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Dec 2005 22:54:39 -0000 X-Host-Fingerprint: 212.55.154.23 relay3.ptmail.sapo.pt Linux 2.4/2.6 Received: from ([212.55.154.23:43655] helo=sapo.pt) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D8/61-14561-CA8E5A34 for ; Sun, 18 Dec 2005 17:54:36 -0500 Received: (qmail 22350 invoked by uid 0); 18 Dec 2005 22:54:32 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.155) by relay3 with SMTP; 18 Dec 2005 22:54:32 -0000 Received: (qmail 6940 invoked from network); 18 Dec 2005 22:54:32 -0000 X-AntiVirus: PTMail-AV 0.3.87.1 X-Virus-Status: Clean (0.00525 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[81.193.186.44]) (envelope-sender ) by mta5 (qmail-ldap-1.03) with SMTP for ; 18 Dec 2005 22:54:32 -0000 Message-ID: <002301c60426$02811480$0100a8c0@pc07653> To: "PHPdev" Date: Sun, 18 Dec 2005 22:54:31 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Subject: TSRM windows bugs From: nlopess@php.net ("Nuno Lopes") Hi, I've made a patch to fix some problems in TSRM on windows: http://mega.ist.utl.pt/~ncpl/php_tsrm.txt fixes: * #31347 - is_dir and is_file (incorrectly) return true for any string > 255 characters - the bug is caused because the return value of virtual_file_ex() isn't tested * save one byte and 1 sum operation :) * make virtual_file_ex() fail earlier (and save one malloc) if the path doesn't exist. Nuno