From: Cliff Woolley Date: Mon, 17 Jun 2002 14:51:17 +0000 (+0000) Subject: Get this to work on win32 :( X-Git-Tag: 2.0.39~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=770c87441e8646b3afa41415d2f765ba9b2283d3;p=apache Get this to work on win32 :( git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95723 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/htpasswd.c b/support/htpasswd.c index cf6674d898..3e622e5401 100644 --- a/support/htpasswd.c +++ b/support/htpasswd.c @@ -392,7 +392,7 @@ static void check_args(apr_pool_t *pool, int argc, const char *const argv[], i--; } else { - if (strlen(argv[i]) > (PATH_MAX - 1)) { + if (strlen(argv[i]) > (APR_PATH_MAX - 1)) { apr_file_printf(errfile, "%s: filename too long\n", argv[0]); exit(ERR_OVERFLOW); }