No such thing as a small change | |
PerlMonks |
Re: Re: Answer: How do I pre-extend a file to a specified sizeby chipmunk (Parson) |
on Jan 05, 2001 at 07:11 UTC ( [id://49986]=note: print w/replies, xml ) | Need Help?? |
It is rather frustrating that the Q&A section is not properly threaded. I pointed out the bug in merlyn's code in Re: Answer: How do I pre-extend a file to a specified size, but looking at the node for the question, there's no indication that merlyn's answer even has a response. Meanwhile, looking at the node for merlyn's answer, there is no way to get back to the original question.
To fix the bug, swap the second and third arguments to seek:
In Section
Seekers of Perl Wisdom
|
|