From 54833b53da596625b194c40732f67aa9dd0ece54 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 2 Apr 2006 10:47:58 +0000 Subject: Add pidfile option, requested by Héctor García. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/branches/BRANCH_6-3/; revision=4770 --- rcfile_y.y | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'rcfile_y.y') diff --git a/rcfile_y.y b/rcfile_y.y index 75d57c27..cf820ee4 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -68,7 +68,7 @@ extern char * yytext; %token INTERFACE MONITOR PLUGIN PLUGOUT %token IS HERE THERE TO MAP WILDCARD %token BATCHLIMIT FETCHLIMIT FETCHSIZELIMIT FASTUIDL EXPUNGE PROPERTIES -%token SET LOGFILE DAEMON SYSLOG IDFILE INVISIBLE POSTMASTER BOUNCEMAIL +%token SET LOGFILE DAEMON SYSLOG IDFILE PIDFILE INVISIBLE POSTMASTER BOUNCEMAIL %token SPAMBOUNCE SHOWDOTS %token PROTO AUTHTYPE %token STRING @@ -95,6 +95,7 @@ optmap : MAP | /* EMPTY */; /* future global options should also have the form SET optmap */ statement : SET LOGFILE optmap STRING {run.logfile = prependdir ($4, rcfiledir);} | SET IDFILE optmap STRING {run.idfile = prependdir ($4, rcfiledir);} + | SET PIDFILE optmap STRING {run.pidfile = prependdir ($4, rcfiledir);} | SET DAEMON optmap NUMBER {run.poll_interval = $4;} | SET POSTMASTER optmap STRING {run.postmaster = xstrdup($4);} | SET BOUNCEMAIL {run.bouncemail = TRUE;} @@ -578,7 +579,4 @@ char *prependdir (const char *file, const char *dir) return newfile; } -/* easier to do this than cope with variations in where the library lives */ -int yywrap(void) {return 1;} - /* rcfile_y.y ends here */ -- cgit v1.2.3