]> git.kaiwu.me - nginx.git/commit
Fixed unconditional MAX_PATH usage (ticket #22).
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 27 Mar 2012 16:42:34 +0000 (16:42 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 27 Mar 2012 16:42:34 +0000 (16:42 +0000)
commit36aef0c383bfe285a12b4b826563a768efe181d6
tree13539e52b48ec5bf8a73e58afb8923c9310f0d35
parent7b2b17a6b3473e2d23e1ed55794fbaa416498738
Fixed unconditional MAX_PATH usage (ticket #22).

POSIX doesn't require it to be defined, and Debian GNU/Hurd doesn't define
it.  Note that if there is no MAX_PATH defined we have to use realpath()
with NULL argument and free() the result.
src/http/ngx_http_variables.c
src/os/unix/ngx_files.h
src/os/win32/ngx_files.h