Modify

Opened 13 years ago

Closed 13 years ago

#382 deleted Bugs (None)

Past-the-end tokenization in parse_date()

Reported by: nimnul Owned by: az_sw_dude
Milestone: Component: date_time
Version: None Severity:
Keywords: Cc:

Description

Loop termination condition is wrong. Comma is used
instead of and operator:

      for(boost::tokenizer<>::iterator beg=tok.begin();
beg!=tok.end(), pos < spec_str.size(); ++beg, ++pos)

Should read as

      for(boost::tokenizer<>::iterator beg=tok.begin();
beg!=tok.end() && pos < spec_str.size(); ++beg, ++pos)

Attachments (0)

Change History (1)

comment:1 Changed 13 years ago by nimnul

Status: assignedclosed
Logged In: YES 
user_id=133193

Sorry... Seems to be a duplicate of 1155556

Modify Ticket

Change Properties
Set your email in Preferences
Action
as deleted The owner will remain az_sw_dude.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.