Michael Clark wrote:
Patch below makes mod_dav consistent with the format in http_etag.c and fixes the cond_put regression with litmusIndex: modules/dav/fs/repos.c =================================================================== --- modules/dav/fs/repos.c (revision 607400) +++ modules/dav/fs/repos.c (working copy) @@ -1777,10 +1777,10 @@ return apr_pstrdup(ctx->pool, ""); if (ctx->finfo.filetype != 0) { - return apr_psprintf(ctx->pool, "\"%lx-%lx-%lx\"", - (unsigned long) ctx->finfo.inode, - (unsigned long) ctx->finfo.size, - (unsigned long) ctx->finfo.mtime); + return apr_psprintf(ctx->pool, "\"%llx-%llx-%llx\"", + (apr_uint64_t) ctx->finfo.inode, + (apr_uint64_t) ctx->finfo.size, + (apr_uint64_t) ctx->finfo.mtime); }return apr_psprintf(ctx->pool, "\"%lx\"", (unsigned long) ctx->finfo.mtime);
Oh, and the mtime only case needs to be changed also.
