Re: [devel] [PATCH 1/1] base: Check return code from unlink in nid_create_ipc [#2829]

2018-04-09 Thread Hans Nordebäck
Hi Anders, yes, I'll change to you suggestion. /Thanks HansN On 04/06/2018 04:10 PM, Anders Widell wrote: Ack with minor comment: instead of calling access(), you could maybe simply check for the ENOENT errno value from unlink()? regards, Anders Widell On 04/05/2018 11:53 AM, Hans

Re: [devel] [PATCH 1/1] base: Check return code from unlink in nid_create_ipc [#2829]

2018-04-06 Thread Anders Widell
Ack with minor comment: instead of calling access(), you could maybe simply check for the ENOENT errno value from unlink()? regards, Anders Widell On 04/05/2018 11:53 AM, Hans Nordeback wrote: --- src/nid/agent/nid_ipc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff

[devel] [PATCH 1/1] base: Check return code from unlink in nid_create_ipc [#2829]

2018-04-05 Thread Hans Nordeback
--- src/nid/agent/nid_ipc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/nid/agent/nid_ipc.c b/src/nid/agent/nid_ipc.c index 4f43cd309..1a77fd8e2 100644 --- a/src/nid/agent/nid_ipc.c +++ b/src/nid/agent/nid_ipc.c @@ -28,6 +28,7 @@ #include #include