From a9298c67d0c2d9cc35f5ed4bfc260bcd3cbed9ee Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 19 Sep 2011 07:34:58 -0700 Subject: [PATCH] * lib/stat.c: Move comment. --- lib/stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/stat.c b/lib/stat.c index fe5b1ac49..1397aa932 100644 --- a/lib/stat.c +++ b/lib/stat.c @@ -48,6 +48,8 @@ orig_stat (const char *filename, struct stat *buf) #if REPLACE_FUNC_STAT_DIR # include "pathmax.h" + /* The only known systems where REPLACE_FUNC_STAT_DIR is needed also + have a constant PATH_MAX. */ # ifndef PATH_MAX # error "Please port this replacement to your platform" # endif @@ -77,8 +79,6 @@ rpl_stat (char const *name, struct stat *st) } #endif /* REPLACE_FUNC_STAT_FILE */ #if REPLACE_FUNC_STAT_DIR - /* The only known systems where REPLACE_FUNC_STAT_DIR is needed also - have a constant PATH_MAX. */ if (result == -1 && errno == ENOENT) { -- 2.11.0