summaryrefslogtreecommitdiff
path: root/src/cp-hash.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 12:48:33 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 12:48:33 +0000
commit99ce9e9832afce3278226874af6a2a961d52fbbe (patch)
treef46ec12c1a198bfd1e0e978611df93e928fa3c2e /src/cp-hash.c
parent466ecc5db8326937b43a3c86d4554060d79d3c2c (diff)
downloadcoreutils-99ce9e9832afce3278226874af6a2a961d52fbbe.tar.xz
Use stat (lstat), not safe_stat (safe_lstat).
Diffstat (limited to 'src/cp-hash.c')
-rw-r--r--src/cp-hash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cp-hash.c b/src/cp-hash.c
index 6c3bc30f0..8c07923fd 100644
--- a/src/cp-hash.c
+++ b/src/cp-hash.c
@@ -20,7 +20,6 @@
#include <config.h>
#include <stdio.h>
#include "cp.h"
-#include "safe-stat.h"
char *hash_insert ();
char *hash_insert2 ();
@@ -37,7 +36,7 @@ remember_created (path)
{
struct stat sb;
- if (safe_stat (path, &sb) < 0)
+ if (stat (path, &sb) < 0)
{
error (0, errno, "%s", path);
return 1;