Edit report at http://bugs.php.net/bug.php?id=53888&edit=1

 ID:                 53888
 Updated by:         [email protected]
 Reported by:        ivan dot enderlin at hoa-project dot net
 Summary:            ftruncate() does not work with user-defined stream
                     wrappers
-Status:             Assigned
+Status:             Closed
 Type:               Feature/Change Request
 Package:            Filesystem function related
 PHP Version:        trunk-SVN-2011-01-31 (SVN)
 Assigned To:        cataphract
 Block user comment: N
 Private report:     N

 New Comment:

Implemented for trunk.


Previous Comments:
------------------------------------------------------------------------
[2011-02-17 01:25:35] [email protected]

Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=308410
Log: - Classes that implement stream wrappers can define a method called
  stream_truncate that will respond to truncation, e.g. through
ftruncate.
  Closes feature request #53888.

------------------------------------------------------------------------
[2011-02-01 17:52:25] ivan dot enderlin at hoa-project dot net

Ok, it's not a bug, it's a missing feature.

So, do you have any workaround to propose me :-p ?



If I can participate to the patch, I'm in.

------------------------------------------------------------------------
[2011-02-01 13:57:08] [email protected]

This is a feature request because it requires extending the user-land
stream wrapper model.



I can take care of it, but I'm more inclined to make it trunk only.

------------------------------------------------------------------------
[2011-02-01 10:25:59] ivan dot enderlin at hoa-project dot net

The bug is open since 2006-07-06, I think that the bug owner is either
dead either away :-). Maybe we can focus on this bug which has a
detailed example and a detailed description.

What do you think about it :-) ?

------------------------------------------------------------------------
[2011-02-01 08:49:22] [email protected]

Let keep it open unless the other bug has clear tests cases and similar


information, which is not the case now.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=53888


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53888&edit=1

Reply via email to