[RFA/commit 2/2] Import gnulib's errno module.

Eli Zaretskii eliz@gnu.org
Tue Dec 18 19:16:00 GMT 2012


> From: Tom Tromey <tromey@redhat.com>
> Cc: gdb-patches@sourceware.org
> Date: Tue, 18 Dec 2012 11:37:47 -0700
> 
> A couple choices --
> 
> 1. Ensure that charset.c includes the files in the correct order.
> 
> 2. Back out your change and promote the EILSEQ define out of charset.c
>    to somewhere more global in gdb.

How about

3. Test for either ENOENT or EILSEQ where we now test for EILSEQ.

?

We could also test whether GNULIB_defined_EILSEQ is defined, if worse
comes to worst.



More information about the Gdb-patches mailing list