[PATCH 07/34] scriptreplay: use unlocked io

Sami Kerola
2013-07-07T19:55:17Z

term-utils/scriptreplay.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/term-utils/scriptreplay.c b/term-utils/scriptreplay.c
index 46468be..a366c35 100644
--- a/term-utils/scriptreplay.c
+++ b/term-utils/scriptreplay.c
@@ -31,6 +31,7 @@
#include "closestream.h"
#include "nls.h"
#include "c.h"
+#include "unlocked-io.h"

#define SCRIPT_MIN_DELAY 0.0001 /* from original sripreplay.pl */

@@ -229,6 +230,6 @@ main(int argc, char *argv[])

fclose(sfile);
fclose(tfile);
- printf("\n");
+ fputs("\n", stdout);
exit(EXIT_SUCCESS);
}
--
1.8.3.2