diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-05 12:44:57 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-05 12:44:57 +0100 |
commit | a5cd509be736fcff3c8ae3104712d2fe85776416 (patch) | |
tree | dde68f6af795daeb9409bfbd6b6bb4ff8fe6ba6d /runtime/stream.c | |
parent | 037576dcc79bb93b78ec8d91305fa605f8bf7a3d (diff) | |
download | rsyslog-a5cd509be736fcff3c8ae3104712d2fe85776416.tar.gz rsyslog-a5cd509be736fcff3c8ae3104712d2fe85776416.tar.xz rsyslog-a5cd509be736fcff3c8ae3104712d2fe85776416.zip |
bugfix: named pipes did no longer work (they always got an open error)
this was a regression from the omfile rewrite in 4.5.0
Diffstat (limited to 'runtime/stream.c')
-rw-r--r-- | runtime/stream.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/stream.c b/runtime/stream.c index ac90df28..2d1e9380 100644 --- a/runtime/stream.c +++ b/runtime/stream.c @@ -211,6 +211,7 @@ doPhysOpen(strm_t *pThis) } pThis->fd = open((char*)pThis->pszCurrFName, iFlags, pThis->tOpenMode); + DBGPRINTF("file '%s' opened as #%d with mode %d\n", pThis->pszCurrFName, pThis->fd, pThis->tOpenMode); if(pThis->fd == -1) { int ierrnoSave = errno; dbgoprint((obj_t*) pThis, "open error %d, file '%s'\n", errno, pThis->pszCurrFName); |