diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-03-07 17:09:05 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-03-07 17:09:05 +0000 |
commit | dc86c84d43e819bcdfd5b2b69a9db486f56b4e16 (patch) | |
tree | 6d48bbbb2e2c24b0070eed9b902c1bf9dacd3ad0 /NEWS | |
parent | 36a3468e248c590aa0da30bae7e821f514e3ea51 (diff) | |
download | mailfromd-dc86c84d43e819bcdfd5b2b69a9db486f56b4e16.tar.gz mailfromd-dc86c84d43e819bcdfd5b2b69a9db486f56b4e16.tar.bz2 |
* src/Makefile.am: Allow to specify the m4 binary.
* src/prog.c (env_push_string): Use pushs. This makes sure that
the handler arguments are allocated in heap, which is necessary
for normal functioning of the gc.
* src/engine.c (mlfi_body): Pass bodyp as number. This is a
temporary kludge.
* testsuite/etc/ack.rc: The above change needs extra 2 words for
the stack allocation.
* NEWS: Update
git-svn-id: file:///svnroot/mailfromd/trunk@1281 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | Mailfromd NEWS -- history of user-visible changes. 2007-03-02 | 1 | Mailfromd NEWS -- history of user-visible changes. 2007-03-07 |
2 | Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff | 2 | Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff |
3 | See the end of file for copying conditions. | 3 | See the end of file for copying conditions. |
4 | 4 | ||
@@ -39,10 +39,13 @@ code self-sufficient. | |||
39 | const n 10 | 39 | const n 10 |
40 | const s "String" | 40 | const s "String" |
41 | 41 | ||
42 | if ($f != %s) | 42 | if $f != s |
43 | ... | 43 | ... |
44 | fi | 44 | fi |
45 | 45 | ||
46 | In program text, constants are referred to by their name. In strings, | ||
47 | they are referred to using variable syntax (e.g. "%s"). | ||
48 | |||
46 | * It is allowed to initialize variables in declarations. | 49 | * It is allowed to initialize variables in declarations. |
47 | 50 | ||
48 | For example, instead of | 51 | For example, instead of |
@@ -81,6 +84,20 @@ do | |||
81 | done | 84 | done |
82 | 85 | ||
83 | makes function `sa_wrapper' limited for use in `prog eom' only. | 86 | makes function `sa_wrapper' limited for use in `prog eom' only. |
87 | |||
88 | ** Fix passing of string handler arguments between handlers, as in | ||
89 | |||
90 | prog helo | ||
91 | do | ||
92 | set x $1 | ||
93 | done | ||
94 | |||
95 | prog envfrom | ||
96 | do | ||
97 | if %x = "dom.ain" | ||
98 | ... | ||
99 | |||
100 | (from 3.1.3) | ||
84 | 101 | ||
85 | 102 | ||
86 | Version 3.1.90, 2006-12-13 | 103 | Version 3.1.90, 2006-12-13 |