httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Marr <gr...@alum.wpi.edu>
Subject Re: cvs commit: httpd-2.0/support htpasswd.c
Date Mon, 17 Jun 2002 15:41:38 GMT
At 11:02 AM 06/17/2002, rbb@apache.org wrote:

> >   @@ -392,7 +392,7 @@
> >            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);
> >            }
>
>DAMN!  I can't believe Windows doesn't have that macro!

On Windows, it's _MAX_PATH.

-- 
Greg Marr
gregm@alum.wpi.edu
"We thought you were dead."
"I was, but I'm better now." - Sheridan, "The Summoning"


Mime
View raw message