|
Bugzilla – Full Text Bug Listing |
| Summary: | Can't Parse Time +100000000.0ns | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Nicola Baldo <nicola> |
| Component: | core | Assignee: | Mitch Watrous <watrous> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mathieu.lacage, ns-bugs |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | program that allows to reproduce the bug | ||
|
Description
Nicola Baldo
2011-06-30 10:43:54 UTC
Created attachment 1179 [details]
program that allows to reproduce the bug
(In reply to comment #1) > Created attachment 1179 [details] > program that allows to reproduce the bug did not try to run it. looked at the code. probably because Time::Time searches the unit identifier by searching the string from the start until it finds a non-numeric character. Should be fixable either by expanding the set of characters you are looking for (i.e., add '.' and '+') or by searching on the first non-letter from the end. I know you are busy but maybe you could cook a patch and add a test to time-test- suite.cc ? (it would be nice to test negative times too). *** Bug 1279 has been marked as a duplicate of this bug. *** Bug closed. Changeset: 91a0ff9ee4eb |