* 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.
This commit is contained in:
@ -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*/
|
||||
|
Reference in New Issue
Block a user