This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Some _l fixes


-----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-----


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