On Tue, Sep 28, 2010 at 1:18 AM, noah williamsson <
[email protected]> wrote:

> 2010/9/27 Amar Tumballi <[email protected]>:
> > How about having
> >
> > #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}
> >
>
> That would indeed be more elegant, however, given the fact that
> 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
_______________________________________________
Gluster-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/gluster-devel

Reply via email to