Thread (26 messages) flat view 26 messages, 6 authors, 2016-06-15

Re: [PATCH 1/6] Add string comparison functions that respect the ignore_case variable.

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:49:20

On Wed, Aug 18, 2010 at 12:52, Ævar Arnfjörð Bjarmason [off-list ref] wrote:
On Mon, Aug 16, 2010 at 19:38, Johannes Sixt [off-list ref] wrote:
quoted
+       return fnmatch(pattern, string, flags | (ignore_case ? FNM_CASEFOLD : 0));
On Solaris 10:

dir.c: In function `fnmatch_icase':
dir.c:34: error: `FNM_CASEFOLD' undeclared (first use in this function)
dir.c:34: error: (Each undeclared identifier is reported only once
dir.c:34: error: for each function it appears in.)
Actually, reading the fnmatch manpage it's not just Solaris, but all
non-GNU systems:

       FNM_CASEFOLD
              If this flag (a GNU extension) is set, the pattern is
matched case-insensitively.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help