Hi,
> http://httpd.apache.org/dev/dist/mod_ftp/
> review, take it for a spin, and cast your choice
when compiling for 2.0.x I get an unresolved:
### mwldnlm Linker Error:
# Undefined symbol: apr_strtoff in
# ftp_commands.o
APR 0.9.x seems to lack of apr_strtoff() ....
should we backport this?
I found that f.e. 2.0.x mod_(mem_)cache has this rewrite:
#if 0
char *errp;
if (apr_strtoff(&size, cl, &errp, 10) || *errp || size < 0) {
cl = NULL; /* parse error, see next 'if' block */
}
#else
size = apr_atoi64(cl);
if (size < 0) {
cl = NULL;
}
#endif
or should we do similar in ftp_commands.c depending on MODULE_MAGIC_NUMBER ?
Guen.