[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix build errors with --disable-multibyte
From: |
Jason A. Donenfeld |
Subject: |
Re: [PATCH] Fix build errors with --disable-multibyte |
Date: |
Wed, 27 Apr 2022 20:32:49 +0200 |
On Wed, Apr 27, 2022, 20:30 Chet Ramey <chet.ramey@case.edu> wrote:
> On 4/27/22 2:01 PM, Jason A. Donenfeld wrote:
> > ---
> > lib/glob/glob.c | 2 +-
> > locale.c | 10 +++++-----
> > 2 files changed, 6 insertions(+), 6 deletions(-)
>
> Thanks for the patch.
>
> > #else
> > -# define dequote_pathname udequote_pathname
> > +# define dequote_pathname(p) udequote_pathname(p)
>
> This isn't strictly necessary, right? The current code doesn't even
> generate a warning on my test builds.
>
gcc 11.3 gave me a fatal warning without it.
> Chet
>
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
>