diff options
author | Jim Meyering <jim@meyering.net> | 1995-05-13 12:48:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-05-13 12:48:33 +0000 |
commit | 99ce9e9832afce3278226874af6a2a961d52fbbe (patch) | |
tree | f46ec12c1a198bfd1e0e978611df93e928fa3c2e /src/cp-hash.c | |
parent | 466ecc5db8326937b43a3c86d4554060d79d3c2c (diff) | |
download | coreutils-99ce9e9832afce3278226874af6a2a961d52fbbe.tar.xz |
Use stat (lstat), not safe_stat (safe_lstat).
Diffstat (limited to 'src/cp-hash.c')
-rw-r--r-- | src/cp-hash.c | 3 |
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; |