[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glob and fnmatch functions from gnulib
From: |
John W. Eaton |
Subject: |
Re: glob and fnmatch functions from gnulib |
Date: |
Thu, 17 Dec 2009 02:40:06 -0500 |
On 16-Dec-2009, Judd Storrs wrote:
| On Wed, Dec 16, 2009 at 5:00 PM, John W. Eaton <address@hidden> wrote:
| > Oh, I think I see the problem. The gnulib glob.h file does
| >
| > #define glob rpl_glob
| >
| > to replace the system glob function with the one from gnulib. So I
| > would guess that you end up with glob_match::rpl_glob.
|
|
| Ok, this isn't elegant, but it fixes the build for me. The actual real
| glob only seems to be used once inside glob-match.cc. I previously
| tried adding #include <glob.h> to glob-match.h but that ultimately
| doesn't work because the define messes up src/dirfns.cc.
|
| Does using gnulib always result in replacement of glob by rpl_glob? If
| so, it could probably be simplified to #undef glob instead of the #if
| block. I don't know how to actually test the non-replacement case...
I checked in this change instead. Does it also work for you?
http://hg.savannah.gnu.org/hgweb/octave/rev/fdc3a43c0be8
Thanks,
jwe
- Re: glob and fnmatch functions from gnulib, (continued)
Re: glob and fnmatch functions from gnulib, Judd Storrs, 2009/12/16
- Re: glob and fnmatch functions from gnulib, John W. Eaton, 2009/12/16
- Re: glob and fnmatch functions from gnulib, Michael D Godfrey, 2009/12/16
- Message not available
- Re: glob and fnmatch functions from gnulib, John W. Eaton, 2009/12/16
- Re: glob and fnmatch functions from gnulib, Michael D Godfrey, 2009/12/16
- Re: glob and fnmatch functions from gnulib, Judd Storrs, 2009/12/16
- Re: glob and fnmatch functions from gnulib,
John W. Eaton <=
- Re: glob and fnmatch functions from gnulib, Michael D Godfrey, 2009/12/17
- Re: glob and fnmatch functions from gnulib, John W. Eaton, 2009/12/17
- Re: glob and fnmatch functions from gnulib, Judd Storrs, 2009/12/17
- Re: glob and fnmatch functions from gnulib, John W. Eaton, 2009/12/17