Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29786 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30485 invoked by uid 1010); 26 May 2007 00:37:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30470 invoked from network); 26 May 2007 00:37:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 May 2007 00:37:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=lists@block-online.eu; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lists@block-online.eu; sender-id=unknown Received-SPF: error (pb1.pair.com: domain block-online.eu from 81.169.146.162 cause and error) X-PHP-List-Original-Sender: lists@block-online.eu X-Host-Fingerprint: 81.169.146.162 mo-p00-ob.rzone.de Solaris 10 (beta) Received: from [81.169.146.162] ([81.169.146.162:17356] helo=mo-p00-ob.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/84-23498-94187564 for ; Fri, 25 May 2007 20:37:30 -0400 Received: from ollie.block.home (dslb-084-063-181-114.pools.arcor-ip.net [84.63.181.114]) by post.webmailer.de (mrclete mo43) (RZmta 6.8) with ESMTP id D014f5j4PLS3Ws ; Sat, 26 May 2007 02:37:26 +0200 (MEST) To: Rasmus Lerdorf Date: Sat, 26 May 2007 02:35:59 +0200 User-Agent: KMail/1.7.1 References: <4638E608.2090202@adaniels.nl> <200705260208.18082.lists@block-online.eu> <46577F7A.6000200@lerdorf.com> In-Reply-To: <46577F7A.6000200@lerdorf.com> Cc: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200705260236.00461.lists@block-online.eu> X-RZG-AUTH: jsAgD75E4FZRsMYse5W8COLJ40bV42cELvihCND/Uu2brXmKBiVojC8ZpUDp X-RZG-CLASS-ID: mo00 Subject: Re: [PHP-DEV] Re: Still having lstat trouble From: lists@block-online.eu (Oliver Block) Am Samstag, 26. Mai 2007 02:29 schrieben Sie: > Right, so the (ssb.sb.st_mode & S_IFMT) is S_IFDIR which is basically > the OS telling us that it is a directory. I don't see what we can do if > the OS is not telling us the right thing. The filestat code is a bit > convoluted trying to deal with lots of strange operating systems, but > this part of it seems pretty clear. OK. But let me mention (without knowing the source code of stat) that stat --format=%F /tmp/link-test returns 'symbolic link' So there must be different methods to find out!? Regards, Oliver