From: Paul Eggert Date: Sun, 3 Jul 2005 07:16:23 +0000 (+0000) Subject: Include stdio--.h, not stdio-safer.h. X-Git-Tag: CPPI-1_12~388 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a62048846a9a3cd6525e9e43d314db5ca6a5197;p=thirdparty%2Fcoreutils.git Include stdio--.h, not stdio-safer.h. (compare_files): Use fopen, not fopen_safer. --- diff --git a/src/comm.c b/src/comm.c index 2c6a220039..a5fd9203a4 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]);