2013-09-23 13:07:49 +00:00
|
|
|
From 690d4bd9f29a805999a3ce4651dac9585ccc9917 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Kamil Dudka <kdudka@redhat.com>
|
|
|
|
Date: Wed, 11 May 2011 16:46:57 +0200
|
2019-08-30 07:50:49 +00:00
|
|
|
Subject: [PATCH] findutils-4.5.7-warnings.patch
|
2013-09-23 13:07:49 +00:00
|
|
|
|
|
|
|
---
|
2014-07-16 09:55:50 +00:00
|
|
|
xargs/xargs.c | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
2013-09-23 13:07:49 +00:00
|
|
|
|
|
|
|
diff --git a/xargs/xargs.c b/xargs/xargs.c
|
|
|
|
index 5e373f2..c0a8676 100644
|
|
|
|
--- a/xargs/xargs.c
|
|
|
|
+++ b/xargs/xargs.c
|
2022-02-02 08:53:24 +00:00
|
|
|
@@ -1346,7 +1346,8 @@ xargs_do_exec (struct buildcmd_control *ctl, void *usercontext, int argc, char *
|
2013-09-23 13:07:49 +00:00
|
|
|
* utility if we run it, for POSIX compliance on the
|
|
|
|
* handling of exit values.
|
|
|
|
*/
|
|
|
|
- write (fd[1], &errno, sizeof (int));
|
|
|
|
+ int sink = write (fd[1], &errno, sizeof (int));
|
|
|
|
+ (void) sink;
|
|
|
|
}
|
|
|
|
|
|
|
|
close (fd[1]);
|
|
|
|
--
|
|
|
|
1.7.1
|
|
|
|
|