summaryrefslogtreecommitdiffstats
path: root/runtime/srutils.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: race condition during directory creationRainer Gerhards2010-03-251-6/+26
| | | | | | | If multiple files try to create a directory at (almost) the same time, some of them may fail. This is a data race and also exists with other processes that may create the same directory. We do now check for this condition and gracefully handle it.
* cleanup: removed debug messages that accidently made it into the commitRainer Gerhards2010-03-011-2/+0
|
* make $ActonFileDefaultTemplate available to ompipeRainer Gerhards2010-03-011-0/+2
| | | | | | | | | This was not honored by the new ompipe module, because it is a local file directive (it was applied to pipes as a side-effect of using the same module for pipes and files...). I now made this a global, so that semantics are the same as previously. Not really nice, but probably the best thing to do in the current situation (everything else would involve much more overhead --- leave that for the new config system).
* improvements/fixes in queue termination timeout handlingRainer Gerhards2009-06-251-1/+3
| | | | | | | | - bugfix: subtle (and usually irrelevant) issue in timout processing timeout could be one second too early if nanoseconds wrapped - set a more sensible timeout for shutdow, now 1.5 seconds to complete processing (this also removes those cases where the shutdown message was not written because the termination happened before it)
* re-enabled outchannel functionalityRainer Gerhards2009-06-121-0/+27
|
* integrated various patches for solarisRainer Gerhards2009-03-051-1/+1
| | | | | | | | | Unfortunatley, I do not have the full list of contributors available. The patch set was compiled by Ben Taylor, and I made some further changes to adopt it to the news rsyslog branch. Others provided much of the base work, but I can not find the names of the original authors. If you happen to be one of them, please let me know so that I can give proper credits.
* minor things, mostly improved debug infoRainer Gerhards2008-09-181-0/+4
|
* completed better modularity of runtimeRainer Gerhards2008-04-171-1/+0
| | | | | | | | | | - added the ability to specify an error log function for the runtime - removed dependency of core runtime on dirty.h Note that it is "better" modularity, not perfect. There is still work to do, but I think we can for the time being proceed with other things.
* removed no longer needed thingsRainer Gerhards2008-04-161-0/+46
| | | | | ... and some more cleanup. Also moved a file that I forgot (thanks to Michael Biebl for pointing that out).
* some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* moved files to the runtimeRainer Gerhards2008-04-161-0/+509
there are still some files left which could go into the runtime, but I think we will delete most of them once we are done with the full modularization.