Re: Re: Bug #17128 Updated: lstat (mis)behaves exactly
| From: | Yasuo Ohgaki | Date: | Fri, 10 May 2002 05:53:23 +0000 |
| Subject: | Re: Re: Bug #17128 Updated: lstat (mis)behaves exactly | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83867@lists.php.net to get a copy of this message | ||
Chris Shiflett wrote:
Yasuo Ohgaki wrote:I'm asking general idea. I'll submit patch before commit ;) I don't have much time lately, it won't happen any time soon. If anyone interested fixing the bug, please fix. -- Yasuo OhgakiAndrew Rice wrote: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.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 OhgakiID: 17128 Updated by: Andrew.Rice@inGenesis.net Reported By: Andrew.Rice@inGenesis.net Status: Open Bug Type: Filesystem function relatedOperating System: Debian GNU/Linux 2.2PHP Version: 4.2.0New 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. ------------------------------------------------------------------------