ID: 12321
Updated by: andy
Status: Open
Old Bug Type: Filesystem function related
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0.6
New Comment:


Previous Comments:

[2001-07-23 13:22:48] [EMAIL PROTECTED]

The ftruncate function is poorly named, as it can be used to enlarge a file, not just 
truncate it. I suggest creating an alias to this function, "fresize", to make it clear 
that a file can be arbitrarially resized. I also suggest that the manual be updated to 
indicate that ftruncate can enlarge a file as well: "Changes a file's size", rather 
than, "truncates a file to a given length.


Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to