Re: file streams & metadata

From: Date: Mon, 07 Mar 2011 10:11:00 +0000
Subject: Re: file streams & metadata
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-51598@lists.php.net to get a copy of this message
On Mon, Mar 7, 2011 at 10:54 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote: > Hi! > >> The key part of this reply was "these particular", as they are very >> platform specific and useless in a generic stream wrapper >> implementation. > > Every stream wrapper doesn't have to implement them - as it doesn't have to > implement conversion to socket, etc. But without this, it is impossible to > create a stream wrapper that implements full range of filesystem functions - > which means, wrappers are useless for dealing with filesystem. This is a big > hole in functionality, and it should be fixed. To hear that stream are useless for filesystem operation is very new to me. I have to repeat what I said earlier, these specific informations (ACL, reparse points or other OS/FS specific informations) are very hard to implement in a generic way as you are proposing. As the idea in itself is good, I have serious doubts that a useful (working and portable) solution can be implemented with what is described in your initial post (barely posix only). -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#51598) next »