Add compat/regex.[ch] and compat/fnmatch.[ch].
commitf05951fe3ffe461eb9cb715bf7cd08535657f29c
authorJohannes Sixt <johannes.sixt@telecom.at>
Sun, 9 Dec 2007 14:43:34 +0000 (9 15:43 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Sun, 22 Jun 2008 09:32:33 +0000 (22 11:32 +0200)
treedd9daea51a2551b2790f53344933c1f04b97c586
parente449f105805ffa49ccf7cf080db897ecf65a1a0f
Add compat/regex.[ch] and compat/fnmatch.[ch].

We don't have fnmatch and regular expressions on Windows. We borrow
fnmatch.[ch] from the GNU C library (license is LGPL 2 or later) and
GNU regexp (regexp.c[ch], license is GPL 2 or later). Note that regexp.c
was changed slightly to avoid warnings with gcc.

We make the addition of these files an extra commit so as not to clutter
the next commits.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
compat/fnmatch.c [new file with mode: 0644]
compat/fnmatch.h [new file with mode: 0644]
compat/regex.c [new file with mode: 0644]
compat/regex.h [new file with mode: 0644]