#include "system.h"
#include "version.h"
#include "long-options.h"
-#include "safe-stat.h"
#include "error.h"
#ifdef _POSIX_VERSION
if (strcmp (outfile, "-"))
{
struct stat outstat;
- if (safe_stat (outfile, &outstat) == 0)
+ if (stat (outfile, &outstat) == 0)
{
/* The following code prevents a race condition when
people use the brain dead shell programming idiom:
{
struct stat instat;
if ((strcmp (files[i], "-")
- ? safe_stat (files[i], &instat)
+ ? stat (files[i], &instat)
: fstat (fileno (stdin), &instat)) != 0)
{
error (0, errno, "%s", files[i]);