Added/changed some test input strings. Removed an unused variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4659 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e6889ed1a3
commit
c6c1620a32
@ -55,12 +55,15 @@ main(int argc, char **argv)
|
||||
"",
|
||||
"next monday 3:00",
|
||||
"thursday 4:42",
|
||||
"thursday +4:42",
|
||||
"this thursday 4:42",
|
||||
"42 minutes",
|
||||
"2 weeks",
|
||||
"next 5 minutes",
|
||||
"last 15 minutes",
|
||||
"-15 minutes",
|
||||
"3:33pm GMT",
|
||||
"Mon, June 10th, 1993 10:00:03 am GMT",
|
||||
NULL
|
||||
};
|
||||
|
||||
@ -68,7 +71,7 @@ main(int argc, char **argv)
|
||||
time_t now = time(NULL);
|
||||
for (int i = 0; i < 500000; i++) {
|
||||
int flags = 0;
|
||||
time_t result = parsedate_etc(dates[0], now, &flags);
|
||||
parsedate_etc(dates[0], now, &flags);
|
||||
}
|
||||
#else
|
||||
// this crashes the R5 version but not ours:
|
||||
|
Loading…
Reference in New Issue
Block a user