details:   
https://github.com/nginx/njs/commit/3733afd906187fcc38f5935c8f79c3dfe28bbd79
branches:  master
commit:    3733afd906187fcc38f5935c8f79c3dfe28bbd79
user:      Orgad Shaneh <orgad.sha...@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;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to