public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Sami Kerola <kerolasa@iki.fi>
To: util-linux@vger.kernel.org
Cc: kerolasa@iki.fi
Subject: [PATCH 06/34] misc-utils: use unlocked io
Date: Sun,  7 Jul 2013 20:54:21 +0100	[thread overview]
Message-ID: <1373226889-3451-7-git-send-email-kerolasa@iki.fi> (raw)
In-Reply-To: <1373226889-3451-1-git-send-email-kerolasa@iki.fi>

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
 misc-utils/cal.c     | 1 +
 misc-utils/findfs.c  | 1 +
 misc-utils/findmnt.c | 1 +
 misc-utils/getopt.c  | 1 +
 misc-utils/look.c    | 1 +
 misc-utils/lsblk.c   | 1 +
 misc-utils/lslocks.c | 1 +
 misc-utils/mcookie.c | 1 +
 misc-utils/namei.c   | 1 +
 misc-utils/uuidgen.c | 1 +
 misc-utils/whereis.c | 1 +
 11 files changed, 11 insertions(+)

diff --git a/misc-utils/cal.c b/misc-utils/cal.c
index c4ed1d1..b46af3a 100644
--- a/misc-utils/cal.c
+++ b/misc-utils/cal.c
@@ -72,6 +72,7 @@
 #include "nls.h"
 #include "mbsalign.h"
 #include "strutils.h"
+#include "unlocked-io.h"
 
 #if defined(HAVE_LIBNCURSES) || defined(HAVE_LIBNCURSESW)
 # ifdef HAVE_NCURSES_H
diff --git a/misc-utils/findfs.c b/misc-utils/findfs.c
index bc4a843..e3e6e68 100644
--- a/misc-utils/findfs.c
+++ b/misc-utils/findfs.c
@@ -14,6 +14,7 @@
 #include "nls.h"
 #include "closestream.h"
 #include "c.h"
+#include "unlocked-io.h"
 
 static void __attribute__((__noreturn__)) usage(int rc)
 {
diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c
index 8ccceda..1febde0 100644
--- a/misc-utils/findmnt.c
+++ b/misc-utils/findmnt.c
@@ -46,6 +46,7 @@
 #include "xalloc.h"
 #include "optutils.h"
 #include "mangle.h"
+#include "unlocked-io.h"
 
 /* flags */
 enum {
diff --git a/misc-utils/getopt.c b/misc-utils/getopt.c
index 7630173..9ef7c79 100644
--- a/misc-utils/getopt.c
+++ b/misc-utils/getopt.c
@@ -60,6 +60,7 @@
 
 #include "closestream.h"
 #include "nls.h"
+#include "unlocked-io.h"
 #include "xalloc.h"
 
 /* NON_OPT is the code that is returned when a non-option is found in '+'
diff --git a/misc-utils/look.c b/misc-utils/look.c
index 502168b..22b1381 100644
--- a/misc-utils/look.c
+++ b/misc-utils/look.c
@@ -61,6 +61,7 @@
 #include "xalloc.h"
 #include "pathnames.h"
 #include "closestream.h"
+#include "unlocked-io.h"
 
 #define	EQUAL		0
 #define	GREATER		1
diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c
index 494bc73..3eaaa40 100644
--- a/misc-utils/lsblk.c
+++ b/misc-utils/lsblk.c
@@ -61,6 +61,7 @@
 #include "closestream.h"
 #include "mangle.h"
 #include "optutils.h"
+#include "unlocked-io.h"
 
 /* column IDs */
 enum {
diff --git a/misc-utils/lslocks.c b/misc-utils/lslocks.c
index de3094a..b30a56c 100644
--- a/misc-utils/lslocks.c
+++ b/misc-utils/lslocks.c
@@ -43,6 +43,7 @@
 #include "strutils.h"
 #include "c.h"
 #include "closestream.h"
+#include "unlocked-io.h"
 
 /* column IDs */
 enum {
diff --git a/misc-utils/mcookie.c b/misc-utils/mcookie.c
index da641a1..a505fd2 100644
--- a/misc-utils/mcookie.c
+++ b/misc-utils/mcookie.c
@@ -22,6 +22,7 @@
 #include "md5.h"
 #include "nls.h"
 #include "closestream.h"
+#include "unlocked-io.h"
 
 #include <fcntl.h>
 #include <getopt.h>
diff --git a/misc-utils/namei.c b/misc-utils/namei.c
index a9c8301..6ce0d6e 100644
--- a/misc-utils/namei.c
+++ b/misc-utils/namei.c
@@ -38,6 +38,7 @@
 #include "widechar.h"
 #include "strutils.h"
 #include "closestream.h"
+#include "unlocked-io.h"
 
 #ifndef MAXSYMLINKS
 #define MAXSYMLINKS 256
diff --git a/misc-utils/uuidgen.c b/misc-utils/uuidgen.c
index 450e26a..2dd829d 100644
--- a/misc-utils/uuidgen.c
+++ b/misc-utils/uuidgen.c
@@ -25,6 +25,7 @@ extern int optind;
 #include "nls.h"
 #include "c.h"
 #include "closestream.h"
+#include "unlocked-io.h"
 
 #define DO_TYPE_TIME	1
 #define DO_TYPE_RANDOM	2
diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c
index ba83b15..8f0fa9e 100644
--- a/misc-utils/whereis.c
+++ b/misc-utils/whereis.c
@@ -54,6 +54,7 @@
 #include "c.h"
 #include "closestream.h"
 #include "canonicalize.h"
+#include "unlocked-io.h"
 
 /*#define DEBUG*/
 
-- 
1.8.3.2


  parent reply	other threads:[~2013-07-07 19:55 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-07 19:54 [PATCH 00/34] pull: make printing quicker, and clang analysis Sami Kerola
2013-07-07 19:54 ` [PATCH 01/34] sfdisk: make unhiding as complete as possible Sami Kerola
2013-07-07 19:54 ` [PATCH 02/34] docs: add missing options to sfdisk manual Sami Kerola
2013-07-07 19:54 ` [PATCH 03/34] include: copy unlocked-io.h from gnulib Sami Kerola
2013-07-08 20:21   ` Kay Sievers
2013-07-09  6:37     ` Sami Kerola
2013-07-09  9:16       ` Kay Sievers
2013-07-13 22:10         ` Sami Kerola
2013-07-07 19:54 ` [PATCH 04/34] hexdump: use unlocked io, and avoid use of printf() Sami Kerola
2013-07-07 19:54 ` [PATCH 05/34] text-utils: use unlocked io Sami Kerola
2013-07-07 19:54 ` Sami Kerola [this message]
2013-07-07 19:54 ` [PATCH 07/34] scriptreplay: " Sami Kerola
2013-07-07 19:54 ` [PATCH 09/34] utmpdump: use unlocked io, and avoid use of printf() Sami Kerola
2013-07-07 19:54 ` [PATCH 10/34] dmesg: inform user --show-delta and iso8601 time format does not mix Sami Kerola
2013-07-07 19:54 ` [PATCH 11/34] lib/loopdev: assigned value is never read [clang-analyzer] Sami Kerola
2013-07-07 19:54 ` [PATCH 12/34] lib/mbsalign: initializations values are " Sami Kerola
2013-07-07 19:54 ` [PATCH 13/34] libmount: fix memory leak [clang-analyzer] Sami Kerola
2013-07-08  8:02   ` Karel Zak
2013-07-07 19:54 ` [PATCH 14/34] ipcs: assigned values are never read [clang-analyzer] Sami Kerola
2013-07-07 19:54 ` [PATCH 15/34] lscpu: fix memory leak [clang-analyzer] Sami Kerola
2013-07-07 19:54 ` [PATCH 16/34] more: assigned value is never read [clang-analyzer] Sami Kerola
2013-07-07 19:54 ` [PATCH 17/34] utmpdump: assigned values are " Sami Kerola
2013-07-07 19:54 ` [PATCH 18/34] mkfs.cramfs: argument to free() is a constant address [clang-analyzer] Sami Kerola
2013-07-07 19:54 ` [PATCH 19/34] eject: assigned value is never read [clang-analyzer] Sami Kerola
2013-07-07 19:54 ` [PATCH 20/34] chfn: " Sami Kerola
2013-07-07 19:54 ` [PATCH 21/34] mesg: " Sami Kerola
2013-07-08  8:23   ` Karel Zak
2013-07-07 19:54 ` [PATCH 22/34] rev: " Sami Kerola
2013-07-07 19:54 ` [PATCH 23/34] column: " Sami Kerola
2013-07-07 19:54 ` [PATCH 24/34] hwclock: " Sami Kerola
2013-07-07 19:54 ` [PATCH 25/34] dmesg: " Sami Kerola
2013-07-07 19:54 ` [PATCH 26/34] login: " Sami Kerola
2013-07-07 19:54 ` [PATCH 27/34] sfdisk: " Sami Kerola
2013-07-07 19:54 ` [PATCH 28/34] sulogin: fix memory leak [clang-analyzer] Sami Kerola
2013-07-07 19:54 ` [PATCH 29/34] agetty: " Sami Kerola
2013-07-07 19:54 ` [PATCH 30/34] dmesg: add missing initializer [clang-analyzer] Sami Kerola
2013-07-07 19:54 ` [PATCH 31/34] ul: use correct types Sami Kerola
2013-07-07 19:54 ` [PATCH 32/34] ul: use string printing function Sami Kerola
2013-07-07 19:54 ` [PATCH 33/34] column: dereference of null pointer [clang-analyzer] Sami Kerola
2013-07-07 19:54 ` [PATCH 34/34] more: use variable lenght printf field width to print blanks Sami Kerola
2013-07-09 12:58 ` [PATCH 00/34] pull: make printing quicker, and clang analysis Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373226889-3451-7-git-send-email-kerolasa@iki.fi \
    --to=kerolasa@iki.fi \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox