diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-02-16 09:37:58 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-02-16 09:37:58 +0000 |
commit | 9d342d561eb967985e4eb37010ead620f2c466ba (patch) | |
tree | ac2f27a633b0e3b175f06af5b77811ab1e0ada80 /winsup/cygwin/include/sys | |
parent | a5c1103914c61ed66110fb09ac6118fe077156e2 (diff) | |
download | cygnal-9d342d561eb967985e4eb37010ead620f2c466ba.tar.gz cygnal-9d342d561eb967985e4eb37010ead620f2c466ba.tar.bz2 cygnal-9d342d561eb967985e4eb37010ead620f2c466ba.zip |
* include/sys/cygwin.h (__INT_MAX_PATH): Remove.
(external_pinfo): Convert program_long to pointer.
* external.cc (fillout_pinfo): Add buffer for program_long value.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index e068d7342..51247e54a 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -237,8 +237,6 @@ typedef unsigned long __uid32_t; typedef unsigned long __gid32_t; #endif -#define __INT_MAX_PATH 32768 - struct external_pinfo { pid_t pid; @@ -268,7 +266,7 @@ struct external_pinfo __gid32_t gid32; /* Only available if version >= EXTERNAL_PINFO_VERSION_32_LP */ - char progname_long[__INT_MAX_PATH]; + char *progname_long; }; #endif /*__CYGWIN__*/ #endif /*WINVER*/ |