Ben Wing <ben(a)666.com> writes:
Hrvoje Niksic wrote:
> Obviously noone thought about strerror() returning non-ASCII
stuff.
> The correct way to write the above would be something like:
>
> Bufbyte *internal_strerror;
> TO_INTERNAL_FORMAT (C_STRING, strerror (saverrno),
> C_STRING_ALLOCA, internal_strerror,
> Qnative);
>
> error ("IO error reading %s: %s",
> XSTRING_DATA (filename), internal_strerror);
>
> Even better, the code should be modified to use report_file_error() or
> one of its relatives (if possible.)
ok, i fixed this bug in my mule workspace.
I didn't see this fix in your last mega-patch. Do you still have it in
your workspace?
Just trying to make sure we don't lose any patches...
Gunnar