diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-08 23:10:24 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-08 23:10:24 +0300 |
commit | bc1d035d9356ddc1bca33a95b3d3d93ec0ab5535 (patch) | |
tree | 99d93fb1ee97925f38944390ec5a60e3fd3a2ae6 /tests | |
parent | deae8a9fc0ca98e3be69fc7c84db296319cbb676 (diff) | |
download | mailfromd-bc1d035d9356ddc1bca33a95b3d3d93ec0ab5535.tar.gz mailfromd-bc1d035d9356ddc1bca33a95b3d3d93ec0ab5535.tar.bz2 |
The `dbprop' pragma allows to define database properties.
* mfd/Makefile.am (mailfromd_SOURCES): Add pragma.c
* mfd/pragma.c: New file.
* mfd/bi_db.m4: New pragma `dbprop'.
(dbmap, dbget, dbput, dbdel): take database properties from dbprop settings.
(dbfirst): Open database for reading only.
* mfd/gram.y (pragma_regex, pragma_option, pragma_stacksize)
(pragma_database): Rewrite to match new pragma interface.
(pragma_setup): New function.
* mfd/mailfromd.h (SYM_PRAGMA): New symbol type.
(install_pragma, lookup_pragma): New protos.
(parse_pragma): Arg is const.
* mfd/main.c (main): Call pragma_setup.
* mfd/snarf.m4 (MF_PRAGMA): New define.
* mfd/symtab.c ((install_pragma, lookup_pragma): New functions.
* .gitignore, tests/.gitignore: Update.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/.gitignore | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/.gitignore b/tests/.gitignore index 85e88dab..93f8f46a 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -1,3 +1,6 @@ atconfig atlocal - +package.m4 +testsuite +testsuite.dir +testsuite.log |