Re: Bug #17128 Updated: lstat (mis)behaves exactly like stat

From: Date: Fri, 10 May 2002 00:36:19 +0000
Subject: Re: Bug #17128 Updated: lstat (mis)behaves exactly like stat
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-83855@lists.php.net to get a copy of this message
Andrew Rice wrote:
 ID:               17128
 Updated by:       Andrew.Rice@inGenesis.net
 Reported By:      Andrew.Rice@inGenesis.net
 Status:           Open
 Bug Type:         Filesystem function related
Operating System: Debian GNU/Linux 2.2
 PHP Version:      4.2.0
New Comment: is_link is also broken Previous Comments: ------------------------------------------------------------------------ [2002-05-09 16:03:08] Andrew.Rice@inGenesis.net lstat tracks through symbolic link and returns the permission mode of the actual file, rather than the link itself. fileperms also seems to be affected. ------------------------------------------------------------------------
We have problems with file system functions consistently. One of the reason is a function does too many things. When someone fixes a bug, then introduces new bug :( It's better to be split into sevral managable parts at least, since current source is not managable obviously... Any comments? -- Yasuo Ohgaki

« previous php.dev (#83855) next »