summaryrefslogtreecommitdiff
path: root/src/install.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/install.c')
-rw-r--r--src/install.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/install.c b/src/install.c
index 6ced57f40..f2315020b 100644
--- a/src/install.c
+++ b/src/install.c
@@ -61,7 +61,6 @@
#include "system.h"
#include "version.h"
-#include "safe-stat.h"
#include "modechange.h"
#include "makepath.h"
#include "error.h"
@@ -321,7 +320,7 @@ copy_file (from, to, to_created)
struct stat from_stats, to_stats;
int target_created = 1;
- if (safe_stat (from, &from_stats))
+ if (stat (from, &from_stats))
{
error (0, errno, "%s", from);
return 1;
@@ -331,7 +330,7 @@ copy_file (from, to, to_created)
error (0, 0, "`%s' is not a regular file", from);
return 1;
}
- if (safe_stat (to, &to_stats) == 0)
+ if (stat (to, &to_stats) == 0)
{
if (!S_ISREG (to_stats.st_mode))
{