[vlc-devel] [PATCH] error.c: cover the case when newlocale fails and returns a null locale object

Casian Andrei skeletk13 at gmail.com
Mon Jul 7 17:49:55 CEST 2014

2014-07-07 18:37 GMT+03:00 Rémi Denis-Courmont <remi at remlab.net>:

> This code is not thread-safe. The whole point of this function as opposed
> to
> strerror() is to be thread-safe.
> Ah yes, because of those buffers I assume. Missed that.

Is it possible and acceptable to use mutexes in there?

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140707/813453e9/attachment.html>

More information about the vlc-devel mailing list