2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Fixed the bug that file size is ignored if size > INT32_MAX
	* src/SizeMetalinkParserState.cc (endElement):
pull/1/head
Tatsuhiro Tsujikawa 2008-03-01 05:40:11 +00:00
parent a31cd44130
commit 067ef72e5e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that file size is ignored if size > INT32_MAX
* src/SizeMetalinkParserState.cc (endElement):
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Bump up version number to 0.13.0

View File

@ -51,7 +51,7 @@ void SizeMetalinkParserState::endElement(MetalinkParserStateMachine* stm,
const std::string& characters)
{
try {
stm->setFileLengthOfEntry(Util::parseInt(characters));
stm->setFileLengthOfEntry(Util::parseLLInt(characters));
} catch(RecoverableException* e) {
delete e;
// current metalink specification doesn't require size element.