bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash-4.0: fix internal_swtrmatch() prototype issues


From: Mike Frysinger
Subject: Re: bash-4.0: fix internal_swtrmatch() prototype issues
Date: Sun, 22 Feb 2009 20:24:45 -0500
User-agent: KMail/1.11.0 (Linux/2.6.28; KDE/4.2.0; x86_64; ; )

On Sunday 22 February 2009 16:49:01 Chet Ramey wrote:
> Mike Frysinger wrote:
> > the internal_wstrmatch() prototype should be moved to
> > lib/globl/strmatch.h as more than just strmatch.c uses this function
> > (smatch.c uses it as well).
>
> No.  If you look at how smatch.c is compiled, you'll see that it abuses
> the C preprocessor to compile single-byte and multibyte versions of
> the matching functions.  sm_loop.c provides the prototypes for the
> functions it compiles (internal_wstrmatch and internal_strmatch, each of
> which are defined as `FCT' before including sm_loop.c).

this is a forward port of a patch for bash-3.2, but it seems the warning that 
existed in bash-3.2 doesnt exist in bash-4.0, so the patch isnt needed anymore
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]