* include/sys/cygwin.h (__INT_MAX_PATH): Define to 32K.
(external_pinfo): Set size to __INT_MAX_PATH.
This commit is contained in:
parent
e5f8ee9e61
commit
a5c1103914
|
@ -1,3 +1,8 @@
|
||||||
|
2008-02-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* include/sys/cygwin.h (__INT_MAX_PATH): Define to 32K.
|
||||||
|
(external_pinfo): Set size to __INT_MAX_PATH.
|
||||||
|
|
||||||
2008-02-15 Christopher Faylor <me+cygwin@cgf.cx>
|
2008-02-15 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* include/sys/cygwin.h (external_pinfo): Define program_long size using
|
* include/sys/cygwin.h (external_pinfo): Define program_long size using
|
||||||
|
|
|
@ -237,6 +237,8 @@ typedef unsigned long __uid32_t;
|
||||||
typedef unsigned long __gid32_t;
|
typedef unsigned long __gid32_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define __INT_MAX_PATH 32768
|
||||||
|
|
||||||
struct external_pinfo
|
struct external_pinfo
|
||||||
{
|
{
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
|
@ -266,7 +268,7 @@ struct external_pinfo
|
||||||
__gid32_t gid32;
|
__gid32_t gid32;
|
||||||
|
|
||||||
/* Only available if version >= EXTERNAL_PINFO_VERSION_32_LP */
|
/* Only available if version >= EXTERNAL_PINFO_VERSION_32_LP */
|
||||||
char progname_long[PATH_MAX];
|
char progname_long[__INT_MAX_PATH];
|
||||||
};
|
};
|
||||||
#endif /*__CYGWIN__*/
|
#endif /*__CYGWIN__*/
|
||||||
#endif /*WINVER*/
|
#endif /*WINVER*/
|
||||||
|
|
Loading…
Reference in New Issue