Alvaro,
Changeset 775 did not include the following patch:
$ diff -uw cherokee/win32_misc.c.bak cherokee/win32_misc.c
--- cherokee/win32_misc.c.bak Wed Jan 10 07:22:50 2007
+++ cherokee/win32_misc.c Mon Jun 25 00:34:26 2007
@@ -356,6 +356,11 @@
/*
* A smarter strerror()
*/
+
+#ifdef strerror
+#undef strerror
+#endif
+
char *win_strerror (int err)
{
static char buf[512]; /* !! not thread-safe */
Please apply it, as infinite recursion occurs otherwise.
Thanks,
Ross
[EMAIL PROTECTED] wrote On 6/25/2007 5:07 AM -0800:
>
>> ----Messaggio originale----
>> From: [EMAIL PROTECTED]
>> Date: 25-
> giu-2007 10.40 AM
>> To: <[email protected]>
>> Subject:
> [Cherokee] Running 6.00b700 w/ OpenSSL in Windows
>> .
>> .
>>
> .
>> Unfortunately, win32_misc.h has:
>>
>> #define strerror(e)
> win_strerror(e)
>> but then win_strerror() in win32_misc.c calls
> strerror(), leading to infinite recursion.
>> Here's a fix for it:
>>
>> $
> diff -uw cherokee/win32_misc.c.bak cherokee/win32_misc.c
>> ---
> cherokee/win32_misc.c.bak Wed Jan 10 07:22:50 2007
>> +++
> cherokee/win32_misc.c Mon Jun 25 00:34:26 2007
>> @@ -356,6 +356,11
> @@
>> /*
>> * A smarter strerror()
>> */
>> +
>> +#ifdef strerror
>> +#undef
> strerror
>> +#endif
>> +
>> char *win_strerror (int err)
>> {
>> static char
> buf[512]; /* !! not thread-safe */
>
> I have a cleanup patch for
> win32_misc,
> so, as I am going to send it to Alvaro within this evening
> (6 hours starting from now),
> it would be better if you wait for it to
> be applied.
>
> Thanks.
>
>
> --
> A.D.F. adefacc () tin ! it
>
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee