aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-03-07 17:09:05 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-03-07 17:09:05 +0000
commitdc86c84d43e819bcdfd5b2b69a9db486f56b4e16 (patch)
tree6d48bbbb2e2c24b0070eed9b902c1bf9dacd3ad0 /NEWS
parent36a3468e248c590aa0da30bae7e821f514e3ea51 (diff)
downloadmailfromd-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--NEWS21
1 files changed, 19 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c0a90a6c..f51010dd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
1Mailfromd NEWS -- history of user-visible changes. 2007-03-02 1Mailfromd NEWS -- history of user-visible changes. 2007-03-07
2Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff 2Copyright (C) 2005, 2006, 2007 Sergey Poznyakoff
3See the end of file for copying conditions. 3See 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
46In program text, constants are referred to by their name. In strings,
47they 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
48For example, instead of 51For example, instead of
@@ -81,6 +84,20 @@ do
81done 84done
82 85
83makes function `sa_wrapper' limited for use in `prog eom' only. 86makes 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
86Version 3.1.90, 2006-12-13 103Version 3.1.90, 2006-12-13

Return to:

Send suggestions and report system problems to the System administrator.