Re: [xslt] thread-safe function for libexslt

On Thu, Feb 26, 2004 at 04:50:50PM +0800, William M. Brack wrote:
> There is an outstanding bug report
> ( requesting that
> the call within libexslt to the function "localtime" be changed to a
> call to "localtime_r" when libxslt is generated with threading
> enabled.  That is certainly quite alright on my system, but I'm not
> certain whether it might have any "bad" effect on some other OS's. 
> Does anyone have any good reason why I should not go ahead and
> commit this change?

  Well, making 100% sure we test in configure that said function exists
and of course the patch doesn't include that part which is where the
hard part of implementing said change actually is. So if you add the
test for localtime_r in, regenerate the,
add the proper #ifdef / #endif , then it will work. Of course applying
the patch directly without testing for the platform support is just
asking to get 10 times more bug reports at the next release.


Daniel Veillard      | Red Hat Network  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]