diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-02-15 23:11:06 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-02-15 23:11:06 +0300 |
commit | a5c1103914c61ed66110fb09ac6118fe077156e2 (patch) | |
tree | fde5aa5fad9c3e4a23bbd96a2a25c86d0e776c20 /winsup/cygwin/include | |
parent | e5f8ee9e61c026cd1179a0abcd760b220c12946e (diff) |
* include/sys/cygwin.h (__INT_MAX_PATH): Define to 32K.
(external_pinfo): Set size to __INT_MAX_PATH.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index b8738fa70..e068d7342 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -237,6 +237,8 @@ typedef unsigned long __uid32_t; typedef unsigned long __gid32_t; #endif +#define __INT_MAX_PATH 32768 + struct external_pinfo { pid_t pid; @@ -266,7 +268,7 @@ struct external_pinfo __gid32_t gid32; /* Only available if version >= EXTERNAL_PINFO_VERSION_32_LP */ - char progname_long[PATH_MAX]; + char progname_long[__INT_MAX_PATH]; }; #endif /*__CYGWIN__*/ #endif /*WINVER*/ |