0.6.27 compile bug - ngx_create_hashed_filename

Hello…
Compiling on 0.6.27 on Kubuntu i686 Linux 2.66.22 gcc 4.1.3
I get…
…/http/ngx_http_file_cache.c: In function ngx_http_file_cache_get:
…/http/ngx_http_file_cache.c:60: warning: passing argument 1 of
ngx_create_hashed_filename from incompatible pointer type
…/http/ngx_http_file_cache.c:60: warning: passing argument 2 of
ngx_create_hashed_filename from incompatible pointer type
…/http/ngx_http_file_cache.c:60: error: too few arguments to function
ngx_create_hashed_filename
Did a find on ngx_create_hashed_filename and have:
…/core/ngx_file.c(73): ngx_create_hashed_filename(path,
file->name.data, file->name.len);
…/core/ngx_file.c(123):ngx_create_hashed_filename(ngx_path_t *path,
u_char *file, size_t len)
…/http/ngx_http_file_cache.c(60): ngx_create_hashed_filename(&c->file,
ctx->path);
…/core/ngx_file.h(99):void ngx_create_hashed_filename(ngx_path_t *path,
u_char *file, size_t len);
The offending line in ngx_http_file_cache.c does seem to need 3 args…
in addition it seems that the call should be
ngx_create_hashed_filename(ctx->path, c->file.name.data,
c->file.name.len);
Your opinions are greatly appreciated…
Daniel

On Wed, Mar 12, 2008 at 08:58:41PM +0000, [email protected] wrote:

…/core/ngx_file.h(99):void ngx_create_hashed_filename(ngx_path_t *path, u_char *file, size_t len);
The offending line in ngx_http_file_cache.c does seem to need 3 args… in addition it seems that the call should be
ngx_create_hashed_filename(ctx->path, c->file.name.data, c->file.name.len);
Your opinions are greatly appreciated…

Have you patched nginx sources ?
Currently http/ngx_http_file_cache.c is not built at all.