Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26755 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70246 invoked by uid 1010); 1 Dec 2006 19:57:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70231 invoked from network); 1 Dec 2006 19:57:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2006 19:57:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=iliaal@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; sender-id=pass; domainkeys=good Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.238 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.162.238 nz-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.162.238] ([64.233.162.238:46575] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/34-40958-FD880754 for ; Fri, 01 Dec 2006 14:56:51 -0500 Received: by nz-out-0102.google.com with SMTP id k1so1830867nzf for ; Fri, 01 Dec 2006 11:56:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=k48/kGbwGjlA1uJpPI0zWsGWWIK2X+QQJWOzJqdmnflnm06GcRM+lcXzpuZVc8SIxHBg1C0O9eCtHdHjP8GCMFFrh3iQs5JLZL01+u27WNJYnLXbHMyd02wOTqptYUII8xDneAW62UR17dGt+QOnpjaUOkE0hLB2iX18kveKRGc= Received: by 10.65.219.2 with SMTP id w2mr7503677qbq.1165002973536; Fri, 01 Dec 2006 11:56:13 -0800 (PST) Received: from ?192.168.1.5? ( [74.108.69.82]) by mx.google.com with ESMTP id e15sm30469266qbe.2006.12.01.11.56.12; Fri, 01 Dec 2006 11:56:12 -0800 (PST) In-Reply-To: <457084C5.60008@zend.com> References: <457084C5.60008@zend.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <8B272EFB-B15D-43BC-BF88-60362E035825@prohost.org> Cc: 'PHP Internals' Content-Transfer-Encoding: 7bit Date: Fri, 1 Dec 2006 14:56:09 -0500 To: Stanislav Malyshev X-Mailer: Apple Mail (2.752.3) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] windows build broken in php_scandir From: ilia@prohost.org (Ilia Alshanetsky) Stas, Frank already has a patch for this that should be committed shortly. On 1-Dec-06, at 2:38 PM, Stanislav Malyshev wrote: > Latest patch to php_scandir: > http://cvs.php.net/viewvc.cgi/php-src/main/php_scandir.c? > r1=1.12.2.1&r2=1.12.2.1.2.1 > > Seems to break windows build in two places: > > main\php_scandir.c(65) : error C2065: 'MAXPATHLEN' : undeclared > identifier > main\php_scandir.c(65) : error C2057: expected constant expression > main\php_scandir.c(65) : error C2466: cannot allocate an array of > constant size 0 > main\php_scandir.c(65) : error C2133: 'entry' : unknown size > main\php_scandir.c(76) : warning C4013: 'php_readdir_r' undefined; > assuming extern returning int > main\php_scandir.c(76) : warning C4047: '=' : 'dirent *' differs in > levels of indirection from 'int' > > I'll try to fix it. > -- > Stanislav Malyshev, Zend Products Engineer > stas@zend.com http://www.zend.com/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Ilia Alshanetsky