From 5a62048846a9a3cd6525e9e43d314db5ca6a5197 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 3 Jul 2005 07:16:23 +0000 Subject: [PATCH] Include stdio--.h, not stdio-safer.h. (compare_files): Use fopen, not fopen_safer. --- src/comm.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/comm.c b/src/comm.c index 2c6a220..a5fd920 100644 --- a/src/comm.c +++ b/src/comm.c @@ -27,7 +27,7 @@ #include "error.h" #include "hard-locale.h" #include "quote.h" -#include "stdio-safer.h" +#include "stdio--.h" #include "xmemcoll.h" /* The official name of this program (e.g., no `g' prefix). */ @@ -160,9 +160,7 @@ compare_files (char **infiles) { initbuffer (&lb1[i]); thisline[i] = &lb1[i]; - streams[i] = (STREQ (infiles[i], "-") - ? stdin - : fopen_safer (infiles[i], "r")); + streams[i] = (STREQ (infiles[i], "-") ? stdin : fopen (infiles[i], "r")); if (!streams[i]) error (EXIT_FAILURE, errno, "%s", infiles[i]); -- 2.7.4