Include stdio--.h, not stdio-safer.h.

(tee): Don't call fopen_safer; no longer needed now that we
include stdio--.h.
This commit is contained in:
Paul Eggert committed 2005-07-03 07:22:50 +00:00
1 parent 4decb49032
commit 9509ae9a8c
1 file changed
+2 -2
+2 -2
View File
@@ -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]);