This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[v3] libstdc++/26701


Hi,

turns out we can fix this decently well right now. In short, I think
submitter is right to request full four digits year to be also accepted
when the underlying 'x' has 'y' (not 'Y'), because the standard says
that get_date extracts tm members used to produce 'x', doesn't say that
it extracts the year assumed formatted *exactly* as 'y' say... humpf. As
a bonus, we obtain a more consistent behavior vs do_get_year.

Tested x86_64-linux, committed to mainline.

Paolo.

////////////////////

Attachment: CL_26701
Description: Text document

Attachment: patch_26701
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]