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/du.c | |
parent | b4cde80810566bdfe0663dbef2a5b671fe58240f (diff) | |
download | coreutils-69f39255bc7f02c65e5f7ff0e6c2788430c47e9c.tar.xz |
Rename SAFE_STAT and SAFE_LSTAT to lower case names.
Diffstat (limited to 'src/du.c')
-rw-r--r-- | src/du.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -349,7 +349,7 @@ du_files (files) } /* Remember the inode and device number of the current directory. */ - if (SAFE_STAT (".", &stat_buf)) + if (safe_stat (".", &stat_buf)) error (1, errno, "current directory"); initial_ino = stat_buf.st_ino; initial_dev = stat_buf.st_dev; @@ -381,7 +381,7 @@ du_files (files) count_entry (arg, 1, 0); /* chdir if `count_entry' has changed the working directory. */ - if (SAFE_STAT (".", &stat_buf)) + if (safe_stat (".", &stat_buf)) error (1, errno, "."); if (stat_buf.st_ino != initial_ino || stat_buf.st_dev != initial_dev) { @@ -423,7 +423,7 @@ count_entry (ent, top, last_dev) long size; if (((top && opt_dereference_arguments) - ? SAFE_STAT (ent, &stat_buf) + ? safe_stat (ent, &stat_buf) : (*xstat) (ent, &stat_buf)) < 0) { error (0, errno, "%s", path->text); |