This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Tue, Jun 13, 2006 at 07:42:38AM -1000, Dan Jakubiec wrote:
> strptime() initializes the contents of its "struct tm" return structure
> at the beginning of the function. However, several of the strptime()
> format specifiers result in recursive calls to strptime() which then
> clobber any values which were parsed earlier in the format string.
I've committed your patch. I also added a testcase which failed before
applying your fix and worked afterwards.
Andrew
Attachment:
strptime.diff
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |