summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2018-04-25 15:46:43 +0200
committerDimitri Staessens <[email protected]>2018-04-25 16:00:01 +0200
commit413064a95645ab569c2adae4e422cc6aefdf8304 (patch)
tree30a2894eb9e26f013a3a49faec7d597ddb3528d1 /include
parenta293799161ef8004b32abc87cd56bb2cfc09d73f (diff)
downloadouroboros-413064a95645ab569c2adae4e422cc6aefdf8304.tar.gz
ouroboros-413064a95645ab569c2adae4e422cc6aefdf8304.zip
lib: Fix bad unlinking of old shared memory
A previous commit tried to stat the shared memory file in case it was already there, but stat does not seem to work for shared memory files. This simply omits the O_EXCL attribute upon creation of the shared memory file, since pids are unique anyway. Signed-off-by: Sander Vrijders <[email protected]> Signed-off-by: Dimitri Staessens <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions