[njs] Removed NGX_MAX_PATH define.
noreply at nginx.com
noreply at nginx.com
Thu Jun 12 03:25:02 UTC 2025
details: https://github.com/nginx/njs/commit/3733afd906187fcc38f5935c8f79c3dfe28bbd79
branches: master
commit: 3733afd906187fcc38f5935c8f79c3dfe28bbd79
user: Orgad Shaneh <orgad.shaneh at audiocodes.com>
date: Mon, 9 Jun 2025 16:59:22 +0300
description:
Removed NGX_MAX_PATH define.
Already defined in ngx_files.h (included from ngx_core.h).
---
nginx/ngx_js.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/nginx/ngx_js.c b/nginx/ngx_js.c
index 515218b9..448073b9 100644
--- a/nginx/ngx_js.c
+++ b/nginx/ngx_js.c
@@ -31,12 +31,6 @@ typedef struct {
} ngx_js_rejected_promise_t;
-#if defined(PATH_MAX)
-#define NGX_MAX_PATH PATH_MAX
-#else
-#define NGX_MAX_PATH 4096
-#endif
-
typedef struct {
int fd;
njs_str_t name;
More information about the nginx-devel
mailing list