On Fri, Feb 23, 2001 at 06:57:36PM -0000, [EMAIL PROTECTED] wrote: >... > --- mod_file_cache.c 2001/02/16 04:26:34 1.46 > +++ mod_file_cache.c 2001/02/23 18:57:36 1.47 >... > @@ -216,6 +218,8 @@ > } > tmp.file = fd; > tmp.filename = apr_pstrdup(cmd->pool, filename); > + apr_rfc822_date(tmp.mtimestr, tmp.finfo.mtime); > + apr_snprintf(tmp.sizestr, sizeof tmp.sizestr, "%lu", tmp.finfo.size); > sconf = ap_get_module_config(cmd->server->module_config, &file_cache_module); > new_file = apr_array_push(sconf->files); > *new_file = tmp; > @@ -272,6 +276,8 @@ > } > apr_file_close(fd); > tmp.filename = fspec; > + apr_rfc822_date(tmp.mtimestr, tmp.finfo.mtime); > + apr_snprintf(tmp.sizestr, sizeof tmp.sizestr, "%lu", tmp.finfo.size); Those should be APR_OFF_T_FMT Cheers, -g -- Greg Stein, http://www.lyra.org/
