[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: issues compiling 2.1.69 on FreeBSD 5.4

From: Joan Picanyol i Puig
Subject: Re: issues compiling 2.1.69 on FreeBSD 5.4
Date: Thu, 21 Apr 2005 17:54:06 +0200
User-agent: Mutt/1.5.6i

* Dmitri A. Sergatskov <address@hidden> [20050421 08:51]:
> Octave used to have its own versions of fnmatch and glob. Those have
> been removed since both of them are part of the POSIX.

Apparently, 2.1.69 still uses it's own version:

525,p3,0$ nm glob/glob.o | grep fnmatch
         U fnmatch
526,p3,0$ nm glob/fnmatch.o | grep fnmatch
00000e68 T fnmatch
00000000 t internal_fnmatch

> What do "man glob" and "man fnmatch" return on your computer?
> Do you have glob.h and fnmatch.h?

Yep, in /usr/include:

520,p3,0$ grep -E 'fnmatch\(|glob\(' /usr/include/*
/usr/include/fnmatch.h:int       fnmatch(const char *, const char *, int);
/usr/include/glob.h:/* Error values returned by glob(3) */
/usr/include/glob.h:int glob(const char *, int, int (*)(const char *, int), 
glob_t *);
/usr/include/vis.h:#define      VIS_GLOB        0x100   /* encode glob(3) 
magics */

> Here is what I get on Linux:
Well, some features might be missing from glob:

     The current implementation of the glob() function does not conform to
     IEEE Std 1003.2 (``POSIX.2'').  Collating symbol expressions, equivalence
     class expressions and character class expressions are not supported.

     GLOB_NOMAGIC, and GLOB_TILDE, and the fields gl_matchc and gl_flags are
     extensions to the POSIX standard and should not be used by applications
     striving for strict conformance.

There are similar comments in the glob man page, they are all online at


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]