From: Paul Eggert Date: Sun, 3 Jul 2005 07:22:50 +0000 (+0000) Subject: Include stdio--.h, not stdio-safer.h. X-Git-Tag: CPPI-1_12~374 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9509ae9a8ce8f54817bd502b76bd622fe276de90;p=thirdparty%2Fcoreutils.git Include stdio--.h, not stdio-safer.h. (tee): Don't call fopen_safer; no longer needed now that we include stdio--.h. --- diff --git a/src/tee.c b/src/tee.c index 1f0ceca527..07619da1ec 100644 --- a/src/tee.c +++ b/src/tee.c @@ -25,7 +25,7 @@ #include "system.h" #include "error.h" -#include "stdio-safer.h" +#include "stdio--.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "tee" @@ -162,7 +162,7 @@ tee (int nfiles, const char **files) { descriptors[i] = (STREQ (files[i], "-") ? stdout - : fopen_safer (files[i], mode_string)); + : fopen (files[i], mode_string)); if (descriptors[i] == NULL) { error (0, errno, "%s", files[i]);