On Tue, Sep 28, 2010 at 1:18 AM, noah williamsson <noah.williamsson@xxxxxxxxx> wrote:
2010/9/27 Amar Tumballi <amar@xxxxxxxxxxx>:
> How about havingThat would indeed be more elegant, however, given the fact that
>
> #define FNM_EXTMATCH 0
>
> in #ifdef DARWIN_OS section of 'libglusterfs/src/compat.h' file??
>
> Idea is to have as less as possible OS specific code inside core, and handle
> maximum possible things in compat.{c,h}
>
FNM_EXTMATCH is a GNU fnmatch() extension, maybe it should be
considered to get rid of its use completely to get a consistent
behavior across different OSes?
That was thought of.. Will check with the team again, and resolve this. Better is to remove GNU specific flags from 'fnmatch()'.
-Amar