From: SourceForge.net <no...@so...> - 2005-10-28 13:46:41
|
Bugs item #1340708, was opened at 2005-10-28 13:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=719006&aid=1340708&group_id=130646 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: C-API Group: Current Status: Open Resolution: None Priority: 5 Submitted By: Bernd Eidenschink (eide) Assigned to: Nobody/Anonymous (nobody) Summary: ns_ftruncate broken? Initial Comment: Example: <file> = File with 100 chars Test 1: set f [open <file> w] ns_ftruncate $f 200 close $f File size = 200 bytes completely with "0" bytes. Test 2: set f [open <file> w] ns_ftruncate $f 50 close $f File size = 50 bytes completely with "0" bytes. ns_truncate works as expected when appending or truncating. Or do I just expect the wrong thing from ns_ftruncate? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=719006&aid=1340708&group_id=130646 |