Include stdio--.h, not stdio-safer.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 07:22:50 +0000 (07:22 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Jul 2005 07:22:50 +0000 (07:22 +0000)
(tee): Don't call fopen_safer; no longer needed now that we
include stdio--.h.

src/tee.c

index 1f0ceca..07619da 100644 (file)
--- 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]);