From: Paul Eggert Date: Mon, 19 Sep 2011 14:34:58 +0000 (-0700) Subject: * lib/stat.c: Move comment. X-Git-Tag: v0.1~1867 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=a9298c67d0c2d9cc35f5ed4bfc260bcd3cbed9ee;p=gnulib.git * lib/stat.c: Move comment. --- 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) {