diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-12-06 15:32:20 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-12-06 15:47:19 +0200 |
commit | df608ed0cfb5f0db57d1ff97eb208ceb46f06e17 (patch) | |
tree | 87536d81395c41d8720dd846d18665108559773d /libmailutils/base/Makefile.am | |
parent | f8a0fd0fdb20fdb607343d932f19e650dfd8f1d2 (diff) | |
download | mailutils-df608ed0cfb5f0db57d1ff97eb208ceb46f06e17.tar.gz mailutils-df608ed0cfb5f0db57d1ff97eb208ceb46f06e17.tar.bz2 |
New API for converting globbing patterns to extended POSIX regex
* include/mailutils/opool.h (mu_nonlocal_jmp_t): New type.
(mu_opool_setjmp,mu_opool_clrjmp): New functions.
(mu_opool_setup_nonlocal_jump): New macro.
* libmailutils/base/opool.c (_mu_opool)<jmp>: New field.
(alloc_bucket): Do a non-local jump on out of memory condition,
if jmp is not NULL.
(mu_opool_setjmp,mu_opool_clrjmp): New functions.
* libmailutils/base/glob.c: New file.
* libmailutils/base/Makefile.am: Add glob.c
* include/mailutils/glob.h: New file.
* include/mailutils/mailutils.h: Include glob.h
* libmailutils/tests/globtest.c: New file.
* libmailutils/tests/globtest.at: New test.
* libmailutils/tests/Makefile.am: Add new files.
* libmailutils/tests/testsuite.at: Include new test.
Diffstat (limited to 'libmailutils/base/Makefile.am')
-rw-r--r-- | libmailutils/base/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmailutils/base/Makefile.am b/libmailutils/base/Makefile.am index 8679eb0c0..79a8ef439 100644 --- a/libmailutils/base/Makefile.am +++ b/libmailutils/base/Makefile.am @@ -34,6 +34,7 @@ libbase_la_SOURCES = \ getcwd.c\ getmaxfd.c\ getpass.c\ + glob.c\ hostname.c\ iterator.c\ kwd.c\ |