summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-01-27 17:03:21 +0000
committerJim Meyering <jim@meyering.net>1995-01-27 17:03:21 +0000
commit69f39255bc7f02c65e5f7ff0e6c2788430c47e9c (patch)
treeee636591236912ecd163f75a7fc906f78bbceb87 /src/ls.c
parentb4cde80810566bdfe0663dbef2a5b671fe58240f (diff)
downloadcoreutils-69f39255bc7f02c65e5f7ff0e6c2788430c47e9c.tar.xz
Rename SAFE_STAT and SAFE_LSTAT to lower case names.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ls.c b/src/ls.c
index 7f04f5ce6..d4d50558b 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -1471,14 +1471,14 @@ gobble_file (name, explicit_arg, dirname)
if (trace_links)
{
- val = SAFE_STAT (path, &files[files_index].stat);
+ val = safe_stat (path, &files[files_index].stat);
if (val < 0)
/* Perhaps a symbolically-linked to file doesn't exist; stat
the link instead. */
- val = SAFE_LSTAT (path, &files[files_index].stat);
+ val = safe_lstat (path, &files[files_index].stat);
}
else
- val = SAFE_LSTAT (path, &files[files_index].stat);
+ val = safe_lstat (path, &files[files_index].stat);
if (val < 0)
{
error (0, errno, "%s", path);
@@ -1501,7 +1501,7 @@ gobble_file (name, explicit_arg, dirname)
if (linkpath
&& ((explicit_arg && format != long_format)
|| indicator_style != none || print_with_color)
- && SAFE_STAT (linkpath, &linkstats) == 0)
+ && safe_stat (linkpath, &linkstats) == 0)
{
/* Symbolic links to directories that are mentioned on the
command line are automatically traced if not being