diff options
author | Jim Meyering <jim@meyering.net> | 1995-01-27 17:03:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-01-27 17:03:21 +0000 |
commit | 69f39255bc7f02c65e5f7ff0e6c2788430c47e9c (patch) | |
tree | ee636591236912ecd163f75a7fc906f78bbceb87 /src/mv.c | |
parent | b4cde80810566bdfe0663dbef2a5b671fe58240f (diff) | |
download | coreutils-69f39255bc7f02c65e5f7ff0e6c2788430c47e9c.tar.xz |
Rename SAFE_STAT and SAFE_LSTAT to lower case names.
Diffstat (limited to 'src/mv.c')
-rw-r--r-- | src/mv.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -206,7 +206,7 @@ is_real_dir (path) { struct stat stats; - return SAFE_LSTAT (path, &stats) == 0 && S_ISDIR (stats.st_mode); + return safe_lstat (path, &stats) == 0 && S_ISDIR (stats.st_mode); } /* Move file SOURCE onto DEST. Handles the case when DEST is a directory. @@ -248,13 +248,13 @@ do_move (source, dest) { char *dest_backup = NULL; - if (SAFE_LSTAT (source, &source_stats) != 0) + if (safe_lstat (source, &source_stats) != 0) { error (0, errno, "%s", source); return 1; } - if (SAFE_LSTAT (dest, &dest_stats) == 0) + if (safe_lstat (dest, &dest_stats) == 0) { if (source_stats.st_dev == dest_stats.st_dev && source_stats.st_ino == dest_stats.st_ino) |