# HG changeset patch # User John W. Eaton # Date 1261035513 18000 # Node ID fdc3a43c0be84b632f16a135a29ae6ec0f881c1e # Parent b22a2f4b34aadfa6fe0f40e9e44e668378d237e7 avoid conflict with gnulib defining glob to be rpl_glob diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,9 @@ +2009-12-17 John W. Eaton + + * glob-match.h, glob-match.cc (glob_match::glob_internal): + Rename from glob_match::glob and make private. + * glob-match.h (glob_match::glob): Forward to glob_internal. + 2009-12-15 Jaroslav Hajek * Array.cc (Array::index (const idx_vector&)): Fix determining of diff --git a/liboctave/glob-match.cc b/liboctave/glob-match.cc --- a/liboctave/glob-match.cc +++ b/liboctave/glob-match.cc @@ -81,7 +81,7 @@ } string_vector -glob_match::glob (void) +glob_match::glob_internal (void) { string_vector retval; diff --git a/liboctave/glob-match.h b/liboctave/glob-match.h --- a/liboctave/glob-match.h +++ b/liboctave/glob-match.h @@ -71,7 +71,10 @@ Array match (const string_vector&); - string_vector glob (void); + // We forward to glob_internal here to avoid problems with gnulib's + // glob.h defining glob to be rpl_glob. + + string_vector glob (void) { return glob_internal (); } private: @@ -80,6 +83,8 @@ // Option flags. unsigned int flags; + + string_vector glob_internal (void); }; #endif