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

From: Date: Fri, 10 May 2002 00:53:37 +0000
Subject: Re: Re: Bug #17128 Updated: lstat (mis)behaves exactly like stat
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-83856@lists.php.net to get a copy of this message
Yasuo Ohgaki wrote:
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
Sounds like the Unix philosophy to me. Do one thing and do it well. However, you will probably have to give more details about what you're planning to do before anyone will give much support. +1 for the general idea from me. Chris

« previous php.dev (#83856) next »