aboutsummaryrefslogtreecommitdiff
path: root/src/progman.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-10-15 16:21:32 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-10-15 16:21:32 +0300
commitb713e2208519e7cba1c779cbd9387137eb101e5e (patch)
treec1245c09d9cffa5d74ec8961ed0ffd820f0bd23e /src/progman.c
parent9dbe6b40d07df41255f0c8fda6895000b7c7e1a6 (diff)
downloadpies-b713e2208519e7cba1c779cbd9387137eb101e5e.tar.gz
pies-b713e2208519e7cba1c779cbd9387137eb101e5e.tar.bz2
Various fixes.
* README: Fix typo. * doc/usr-acl.texi: New file. * doc/Makefile.am (pies_TEXINFOS): Remove pies.texi, add usr-acl.texi (check-config, check-sub-config): Handle @deffnx * doc/pies.texi: Update. * src/Makefile.am (AM_CPPFLAGS): Remove superfluous defs, use ../gnu/configmake.h instead * src/acl.c (_acl_common_section_parser): Handle tag, depending on the value of `flag' parameter. Avoid coredumping on NULL pacl. (acl_section_parser, defacl_section_parser): Update calls to _acl_common_section_parser. * src/pies.c (STATEDIR): Replace with LOCALSTATEDIR. (GRECS_VALUE_IS_EMPTY): New define (possibly belongs to grecs more than to pies). (assert_grecs_value_type) (return_code_section_parser): Use GRECS_VALUE_IS_EMPTY to check for empty value. (_get_array_arg): Bugfix. (component_keywords, pies_keywords): Add missing docstrings. * src/progman.c (TYPE_RETR): Rename to TYPE_REDIRECTOR. All uses updated.
Diffstat (limited to 'src/progman.c')
-rw-r--r--src/progman.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/progman.c b/src/progman.c
index e420e85..7438837 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -16,8 +16,8 @@
#include "pies.h"
-#define TYPE_COMPONENT 0
-#define TYPE_RETR 1
+#define TYPE_COMPONENT 0
+#define TYPE_REDIRECTOR 1
enum prog_status
{
@@ -169,7 +169,7 @@ destroy_prog (struct prog **pp)
case TYPE_COMPONENT:
break;
- case TYPE_RETR:
+ case TYPE_REDIRECTOR:
{
struct prog *master = p->v.r.master;
if (p == master->v.p.redir[0])
@@ -205,7 +205,7 @@ register_redir (int type, struct prog *master)
struct prog *pp = xzalloc (sizeof (*pp) + strlen (tag) + 1 +
2 * sizeof (char**));
- pp->type = TYPE_RETR;
+ pp->type = TYPE_REDIRECTOR;
pstr = (char *) (pp + 1);
pp->tag = pstr;
strcpy (pp->tag, tag);
@@ -1807,7 +1807,7 @@ progman_dump_stats (const char *filename)
fputc ('\n', fp);
break;
- case TYPE_RETR:
+ case TYPE_REDIRECTOR:
fprintf (fp, _("redirector %s %lu\n"), prog->tag,
(unsigned long) prog->pid);
}

Return to:

Send suggestions and report system problems to the System administrator.