зеркало из https://github.com/mozilla/pjs.git
Bug 291420 build.dat can't be read because |tell| returns 0
patch by ajschult@verizon.net r=chase
This commit is contained in:
Родитель
d3facccf2a
Коммит
644ce55bf5
|
@ -43,8 +43,7 @@ sub new {
|
|||
|
||||
# seek to the end of the file
|
||||
|
||||
sysseek( $handle, 0, 2 ) ;
|
||||
$seek_pos = tell( $handle ) ;
|
||||
$seek_pos = sysseek( $handle, 0, 2 ) ;
|
||||
|
||||
# get the size of the first block to read,
|
||||
# either a trailing partial one (the % size) or full sized one (max read size)
|
||||
|
|
Загрузка…
Ссылка в новой задаче