--- l2_ch_pipe.c 2002/07/30 19:08:24 1.30
+++ l2_ch_pipe.c 2003/01/06 11:41:51 1.31
@@ -1,9 +1,10 @@
/*
-** OSSP l2 - Logging Library
-** Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/)
-** Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/)
+** OSSP l2 - Flexible Logging
+** Copyright (c) 2001-2003 Cable & Wireless Deutschland GmbH
+** Copyright (c) 2001-2003 The OSSP Project (http://www.ossp.org/)
+** Copyright (c) 2001-2003 Ralf S. Engelschall <rse@engelschall.com>
**
-** This file is part of OSSP L2, a flexible logging library which
+** This file is part of OSSP l2, a flexible logging library which
** can be found at http://www.ossp.org/pkg/lib/l2/.
**
** Permission to use, copy, modify, and distribute this software for
@@ -75,7 +76,7 @@
else if (sig == SIGPIPE); /* noop for now */
}
-/*
+/*
* The lifecycle of the command executed by the pipe channel handler
* depends on the runtime option selected during configuration. The
* option 'continuous' describes subsequent behavior which rebuilds an
@@ -152,12 +153,12 @@
/* initialize configuration with reasonable defaults */
cfg->Pid = -1;
- cfg->iWritefail = 0;
- cfg->piFd[0] = -1;
- cfg->piFd[1] = -1;
- cfg->iNulldev = -1;
- cfg->iMode = -1;
- cfg->iRtme = -1;
+ cfg->iWritefail = 0;
+ cfg->piFd[0] = -1;
+ cfg->piFd[1] = -1;
+ cfg->iNulldev = -1;
+ cfg->iMode = -1;
+ cfg->iRtme = -1;
cfg->szCmdpath = NULL;
memset(&cfg->sigchld, 0, sizeof(cfg->sigchld));
memset(&cfg->sigpipe, 0, sizeof(cfg->sigpipe));
@@ -172,7 +173,7 @@
static l2_result_t hook_configure(l2_context_t *ctx, l2_channel_t *ch, const char *fmt, va_list ap)
{
l2_ch_pipe_t *cfg = (l2_ch_pipe_t *)ctx->vp;
- l2_param_t pa[4];
+ l2_param_t pa[4];
l2_result_t rv;
char *szMode = NULL;
char *szRel = NULL;
|