Parent Directory | Revision Log | Patch
revision 158 by dpavlin, Sun Aug 5 17:59:29 2007 UTC | revision 162 by dpavlin, Sun Aug 5 20:01:44 2007 UTC | |
---|---|---|
# | Line 210 sub append_to_file { | Line 210 sub append_to_file { |
210 | ||
211 | my $expected = $size + $len; | my $expected = $size + $len; |
212 | if ( $pos != $expected ) { | if ( $pos != $expected ) { |
213 | cluck "BUG: file grows too big got $pos, expected $expected !"; | #cluck "BUG: file grows too big got $pos, expected $expected !"; |
214 | truncate $fh, $expected; | truncate $fh, $expected; |
215 | } | } |
216 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |