okay, CC-ed the list.

On Wed, Jun 15, 2011 at 12:06 PM, Pierre Joye <pierre....@gmail.com> wrote:

> hi,
>
> Please do continue this discussion on internals, there are no valid
> reason to go private.
>
> Thanks for your understanding,
>
> On Wed, Jun 15, 2011 at 9:37 AM, Ferenc Kovacs <i...@tyrael.hu> wrote:
> >
> >
> > On Wed, Jun 15, 2011 at 9:09 AM, Stas Malyshev <smalys...@sugarcrm.com>
> > wrote:
> >>
> >> Hi!
> >>
> >> I remember you recently discussed some file duplication (dup2)
> proposals.
> >> Did you arrive at some conclusion? Do you want to write an RFC about it?
> If
> >> you want it to be in 5.4 - subject to a vote to see if it's accepted -
> it is
> >> necessary to have it quite soon. If it's not ready or no conclusion was
> >> reached, it's OK, we can get back to it later :)
> >>
> >
> > Hi.
> > I somehow changed my mind on the original implementation.
> > it would be useful to have functions like fileno and dup2, but they
> should
> > have been added to the dio extension.
> > what I really think we need in the core is the possibility to duplicate,
> > replace streams, with that in hand, one could replace STDIN and so
> without
> > having to bother with the low level posix functions, and that could work
> on
> > windows also (dupHandle() in TSRM/tsrm_win32.c could work).
> > but this is where I'm stuck. mapping simple C/posix functions to php is
> > somehow manageable for me, but I don't know enough php internal stuff to
> > properly introduce such a feature.
> > of course I could write the RFC, but it's no point in it, if it isn't
> viable
> > from the technical POV.
> > I will also submit my fileno, dup2 patches for inclusion to the dio
> package
> > maintainer Melanie.
> > I've cc-ed her and Pierre to the discussion, I'm curious what they think
> > about this.
> > Tyrael
>
>
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>

Reply via email to