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
signature.asc
Description: This is a digitally signed message part.