[Unix] twowaypipe unlink before mkfifo (dotnet/coreclr#9505)
authorSteve MacLean <sdmaclea@qti.qualcomm.com>
Mon, 13 Feb 2017 14:54:24 +0000 (09:54 -0500)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 13 Feb 2017 14:54:24 +0000 (15:54 +0100)
commitd546cbcd67413b40d7fcdcfeececf411adee62d5
treed95f63bbd343add6725991f9b5c821163ce76c15
parent37ae55002c544a7bf553566bcac7d5155512bfdf
[Unix] twowaypipe unlink before mkfifo (dotnet/coreclr#9505)

Remove stale fifo when before mkfifo

This reduces bogus failures when corerun jobs were
killed with SIGKILL...

Commit migrated from https://github.com/dotnet/coreclr/commit/6185a8801d3d4402b3afb728856aa62b86dadb4a
src/coreclr/src/debug/debug-pal/unix/twowaypipe.cpp