From c5811b6a269bc6c10d4a6f160eb742fa5ceeacbd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 20 Dec 1994 04:03:28 +0000 Subject: (main): Use safe_stat, not SAFE_STAT. --- src/sort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sort.c') diff --git a/src/sort.c b/src/sort.c index 97cc0840b..a94111349 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1744,7 +1744,7 @@ main (argc, argv) if (strcmp (outfile, "-")) { struct stat outstat; - if (SAFE_STAT (outfile, &outstat) == 0) + if (safe_stat (outfile, &outstat) == 0) { /* The following code prevents a race condition when people use the brain dead shell programming idiom: @@ -1765,7 +1765,7 @@ main (argc, argv) { struct stat instat; if ((strcmp (files[i], "-") - ? SAFE_STAT (files[i], &instat) + ? safe_stat (files[i], &instat) : fstat (fileno (stdin), &instat)) != 0) { error (0, errno, "%s", files[i]); -- cgit v1.2.3-70-g09d2