Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38686 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92475 invoked from network); 30 Jun 2008 08:24:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jun 2008 08:24:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.30 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 74.125.46.30 yw-out-2324.google.com Received: from [74.125.46.30] ([74.125.46.30:60739] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/E2-09128-52898684 for ; Mon, 30 Jun 2008 04:24:06 -0400 Received: by yw-out-2324.google.com with SMTP id 5so682458ywb.83 for ; Mon, 30 Jun 2008 01:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LAPMvOpimbihfiNZ3ia8/g3Fk38tDS8Llt19tIR6jz0=; b=gDc3ZnY06rY1S0e5KDQkKTKiGE2KoQrjK2baWm2r6wssK022urh3AiJjVs0ZER4ta6 CHwf5p1P7KYDnzIwR+xatwfWvzuIumFKA/dyuuo8SeKdNODZ1bONMy4p4irQuxuNxZXr O3l3ifFZLjrlP5qcjGdPZ1tUNMy/6pYHaBEg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fhj2EetG6DG4u5TNRK167bSfAcNmQ/vfGmuSD4FDJisiRafd2bWeKnQLClx2eo5f3D bIXIWM7XrqQ1AUSD0Tv8RZnk2Le8bTTKCJFVQ29RQPQUXuXjA+ovhFp1EcCAh1JxjG+o VsfF2wNyIDzq9DQSm1GTLDdVnvWzo5o/JGqG4= Received: by 10.151.111.1 with SMTP id o1mr7971003ybm.194.1214814243755; Mon, 30 Jun 2008 01:24:03 -0700 (PDT) Received: by 10.150.158.8 with HTTP; Mon, 30 Jun 2008 01:24:03 -0700 (PDT) Message-ID: Date: Mon, 30 Jun 2008 12:24:03 +0400 To: "Antony Dovgal" Cc: internals@lists.php.net In-Reply-To: <486894FF.4000305@daylessday.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <486894FF.4000305@daylessday.org> Subject: Re: [PHP-DEV] mac os x, test failure From: indeyets@gmail.com ("Alexey Zakhlestin") On Mon, Jun 30, 2008 at 12:10 PM, Antony Dovgal wrote: > On 28.06.2008 20:17, Alexey Zakhlestin wrote: >> >> I noticed a failure of ext/standard/tests/strings/006.phpt on my machine. >> this is 5.3.0, debug-zts, mac os x 10.5.3, intel, 32-bit build >> >> This test, in my case, returns "Inappropriate ioctl for device" error >> instead of "File name too long". Looks, like errno is already set to >> 25 (which corresponds to my error) in php_execute_script(), which >> leads me to the conclusion that the problem is deeper than >> highlight_file() > > It might also mean that the error message is different on Mac OS or the > error code is different. > I've seen that many times on different platforms. that's what I thought at first, but testing showed, that it is not that simple. plain fopen() in C on large file-name results in "File name too long" error. php never reaches open() call and error "Inappropriate ioctl for divice" is already set at the very first line of php_execute_script (probably even earlier) looks like there's some uncaught error during initialization of php -- Alexey Zakhlestin http://blog.milkfarmsoft.com/