This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git


The following commit(s) were added to refs/heads/master by this push:
     new db48f3a  Define SIZ_PATHMAX based on SIZ_PATHLEN
db48f3a is described below

commit db48f3a1f5693c766e03728ea09c6340e8c6ac8c
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Mar 9 15:35:18 2025 -0400

    Define SIZ_PATHMAX based on SIZ_PATHLEN
---
 src/native/windows/include/apxwin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/native/windows/include/apxwin.h 
b/src/native/windows/include/apxwin.h
index 012cf30..659078e 100644
--- a/src/native/windows/include/apxwin.h
+++ b/src/native/windows/include/apxwin.h
@@ -99,7 +99,7 @@ typedef _W64 int            intptr_t;
 #define SIZ_HUGLEN         8192
 #define SIZ_HUGMAX         (SIZ_HUGLEN -1)
 #define SIZ_PATHLEN        4096
-#define SIZ_PATHMAX        4095
+#define SIZ_PATHMAX        (SIZ_PATHLEN -1)
 
 #include "handles.h"
 #include "log.h"

Reply via email to