summaryrefslogtreecommitdiffstats
path: root/template.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-25 07:50:55 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-25 07:50:55 +0100
commit9e5b31fc44136dbcc1e443cfe7714e9daf97d844 (patch)
tree4e31876b298b652181e776bb63de8efce26f5d85 /template.c
parent5d58774813d4ecd4fc9f8230f8d5446457eb2ed5 (diff)
downloadrsyslog-9e5b31fc44136dbcc1e443cfe7714e9daf97d844.tar.gz
rsyslog-9e5b31fc44136dbcc1e443cfe7714e9daf97d844.tar.xz
rsyslog-9e5b31fc44136dbcc1e443cfe7714e9daf97d844.zip
bugfix: race condition during directory creation
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.
Diffstat (limited to 'template.c')
0 files changed, 0 insertions, 0 deletions