try some code like this:
#define Qstrerror_encoding Qnative
#define GET_STRERROR(var, num) \
do { \
EXTERNAL_TO_C_STRING (strerror (num), var, Qstrerror_encoding); \
} while (0)
# define perror(string) \
do { \
Bufbyte *errmess; \
Bufbyte *string_int; \
GET_STRERROR (errmess, errno); \
EXTERNAL_TO_C_STRING (string, string_int, Qnative); \
message("audio: %s, %s", string_int, errmess); \
} while (0)
Jan Vroonhof wrote:
James LewisMoss <jimdres(a)mindspring.com> writes:
> This is a bug reported by a Debian user. Any ideas what's wrong?
My guess would be...
> This initialization error calls perror(), a macro which expands to
> message(). Then xemacs hangs in the bytecount_to_charcount() function
> after some function calls.
... that this function is called with the latin1 string Succès, ..
>
> #0 0x8100ef4 in bytecount_to_charcount (ptr=0x4054381f "Succès", len=6)
> at insdel.c:364
.. but expects the string to be in internal mule encoding.
I am not sure there is an easy fix here, apart from defining perror
as empty or fprintf(stderr,..) which would probably be a good idea
anyway.
Jan
P.S. Is Sylvain running in an locale with French "error" messages?
--
ben
I'm sometimes slow in getting around to reading my mail, so if you
want to reach me faster, call 520-661-6661.
See
http://www.666.com/ben/chronic-pain/ for the hell I've been
through.