[PATCH] Some _l fixes
Ulrich Drepper
drepper@redhat.com
Thu Aug 29 00:17:00 GMT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Roland McGrath wrote:
> I put in strftime_l and wcsftime_l. However, I noticed a problem.
> They use some underlying locale-sensitive functions that have no *_l
> versions. _nl_{get,parse}_* should probably just be replaced with versions
> that take the struct locale_data * and have some space in that struct
> to cache their state instead of using static variables, which then
> needs a local lock.
Good that you took care of this.
> wcsftime uses mbsrtowc, and there is no mbsrtowc_l.
I've implemented it today. Note that the function is not implemented.
I think that should be all for these functions then.
- --
- ---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9bcqf2ijCOnn/RHQRAv1oAKC48P/08O10DA8WpP6ujnmokJwe2ACghfBF
Yg/pZJT8Qa5rS0gzzsy0WOI=
=JdQm
-----END PGP SIGNATURE-----
More information about the Libc-hacker
mailing list