From 9509ae9a8ce8f54817bd502b76bd622fe276de90 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 3 Jul 2005 07:22:50 +0000 Subject: [PATCH] Include stdio--.h, not stdio-safer.h. (tee): Don't call fopen_safer; no longer needed now that we include stdio--.h. --- src/tee.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]); -- 2.47.3