Re: [systemd-devel] [PATCH] test-fileio: replace mktemp with mkstemp to avoid warnings

2013-12-11 Thread Shawn Landden
Thank you for this! On Wed, Dec 11, 2013 at 5:55 PM, Thomas H.P. Andersen wrote: > On Thu, Dec 12, 2013 at 1:41 AM, Zbigniew Jędrzejewski-Szmek > wrote: >> On Thu, Dec 12, 2013 at 12:32:43AM +0100, Thomas H.P. Andersen wrote: >>> From: Thomas Hindoe Paaboel Andersen >>> >>> This is a fairly use

Re: [systemd-devel] [PATCH] test-fileio: replace mktemp with mkstemp to avoid warnings

2013-12-11 Thread Thomas H.P. Andersen
On Thu, Dec 12, 2013 at 1:41 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Dec 12, 2013 at 12:32:43AM +0100, Thomas H.P. Andersen wrote: >> From: Thomas Hindoe Paaboel Andersen >> >> This is a fairly useless thing to do but it makes the compilers >> and analyzers shut up about the use of mktem

Re: [systemd-devel] [PATCH] test-fileio: replace mktemp with mkstemp to avoid warnings

2013-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 12, 2013 at 12:32:43AM +0100, Thomas H.P. Andersen wrote: > From: Thomas Hindoe Paaboel Andersen > > This is a fairly useless thing to do but it makes the compilers > and analyzers shut up about the use of mktemp. Please apply it. Spurious warnings are very annoying. Zbyszek

[systemd-devel] [PATCH] test-fileio: replace mktemp with mkstemp to avoid warnings

2013-12-11 Thread Thomas H.P. Andersen
From: Thomas Hindoe Paaboel Andersen This is a fairly useless thing to do but it makes the compilers and analyzers shut up about the use of mktemp. --- src/test/test-fileio.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/test/test-fileio.c b/src/test/test-fileio