aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-08-10 10:02:58 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-08-10 10:02:58 +0000
commitf1e49e11293fd417f83b36901bc319e0d7bd390d (patch)
tree74165d3e0ccbe55343eed00d11ba7b726a653424 /doc
parent52140b22af73ac5ae4c6bbbb40217a609614e03f (diff)
downloadmailfromd-f1e49e11293fd417f83b36901bc319e0d7bd390d.tar.gz
mailfromd-f1e49e11293fd417f83b36901bc319e0d7bd390d.tar.bz2
* src/gram.y (on_cond): Fix coredump if target address is not
specified. (vardecl): Signal error if an auto variable is doubly defined. * tests/testsuite.at (EX_OK--EX_CONFIG): New defines (MF_CHECK_TEXT): New macro Add poll04.at and ashadow.at * tests/ashadow.at, tests/poll04.at: New files * doc/mailfromd.texi: Minor fixes git-svn-id: file:///svnroot/mailfromd/trunk@1499 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'doc')
-rw-r--r--doc/mailfromd.texi50
1 files changed, 29 insertions, 21 deletions
diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi
index b248c91f..fc360c5e 100644
--- a/doc/mailfromd.texi
+++ b/doc/mailfromd.texi
@@ -4329,32 +4329,39 @@ their names start and end with two underscores (@samp{__}).
Expands to the name of the current source file.
@end deftypevr
-@deftypevr {Built-in constant} number __line__
-Expands to the current line number in the input source file.
-@end deftypevr
-
@deftypevr {Built-in constant} string __function__
Expands to the name of the current lexical context,
i.e. the function or handler name.
@end deftypevr
-@deftypevr {Built-in constant} string __package__
-Expands to the package name (@samp{mailfromd})
-@end deftypevr
-
-@deftypevr {Built-in constant} string __version__
-Expands to the textual representation of the program version
-(e.g. @samp{3.0.90})
+@deftypevr {Built-in constant} number __line__
+Expands to the current line number in the input source file.
@end deftypevr
@deftypevr {Built-in constant} number __major__
Expands to the major version number.
+
+ The following example uses @code{__major__} constant to determine
+if some version-dependent feature can be used:
+
+@smallexample
+@group
+if __major__ > 2
+ # @r{Use some version-specific feature}
+fi
+@end group
+@end smallexample
+
@end deftypevr
@deftypevr {Built-in constant} number __minor__
Expands to the minor version number.
@end deftypevr
+@deftypevr {Built-in constant} string __package__
+Expands to the package name (@samp{mailfromd})
+@end deftypevr
+
@deftypevr {Built-in constant} number __patch__
For alpha versions and maintenance releases expands to the version
patch level. For stable versions, expands to @samp{0}.
@@ -4372,16 +4379,17 @@ __preproc__ @result{} "/usr/bin/m4 -s"
features.
@end deftypevr
- The following example uses @code{__major__} constant to determine
-if some version-dependent feature can be used:
+@deftypevr {Built-in constant} string __version__
+Expands to the textual representation of the program version
+(e.g. @samp{3.0.90})
+@end deftypevr
-@smallexample
-@group
-if __major__ > 2
- # @r{Use some version-specific feature}
-fi
-@end group
-@end smallexample
+@deftypevr {Built-in constant} string __statedir__
+Expands to the default state directory (@pxref{statedir}).
+@FIXME{Should have a way to determine the current value of statedir,
+as set by state-directory pragma, or, better yet, have a variable
+reflecting it (r/w).
+@end deftypevr
Built-in constants can be used as variables, this allows to expand them
within strings or here-documents. The following example illustrates
@@ -10079,7 +10087,7 @@ not disconnect itself from the controlling terminal and will run in
the foreground.
@opsummary{format}
-@item -f @var{dbformat}
+@item -H @var{dbformat}
@itemx --format=@var{dbformat}
Use database of the given format, instead of the default
@samp{cache}. @xref{Basic Database Operations}.

Return to:

Send suggestions and report system problems to the System administrator.