------- Comment #6 from paolo dot carlini at oracle dot com 2010-01-06 11:57
-------
Now the buffer is 128 chars.
On second thought, I don't think checking the return value of strftime and all
the added complexity are worth the trouble: given the semantics of the function
and the actual data in existing named locales the maximum size is bounded and
certainly <~ 200. Also note that there are no risks of memory corruption. If
somebody reports a truncated output for some exotic locale, we'll increase the
buffer a bit and everything will be fine.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17038