Mercurial > hg > octave-nkf
changeset 11531:f976dd63129c
fnmatch: use DEFUNX until gnulib's fnmatch is C++ friendly
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 14 Jan 2011 15:54:30 -0500 |
parents | 13b4fbd2a58b |
children | 34bb8d38f19f |
files | src/ChangeLog src/dirfns.cc |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-01-14 John W. Eaton <jwe@octave.org> + + * dirfns.cc (Ffnmatch): Use DEFUNX until gnulib's fnmatch is C++ + friendly. + 2011-01-14 Rik <octave@nomad.inbox5.com> * src/mappers.cc: Add Seealso links between erf variants to docstring.
--- a/src/dirfns.cc +++ b/src/dirfns.cc @@ -641,7 +641,7 @@ %! assert (result3, {"file1"; "file2"}); */ -DEFUN (fnmatch, args, , +DEFUNX ("fnmatch", Ffnmatch, args, , "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} fnmatch (@var{pattern}, @var{string})\n\ Return 1 or zero for each element of @var{string} that matches any of\n\