diff options
author | Christopher Faylor <me@cgf.cx> | 2002-05-29 21:00:55 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-05-29 21:00:55 +0000 |
commit | 186637a50834ed76808b9aef60feefe4baadd23e (patch) | |
tree | c1dd63ff77fdf203b7302b1d9662a87a612eb2a2 | |
parent | 50674f2dc3ee6b192919936f4b037f9a1e68c2d3 (diff) | |
download | newlib-186637a50834ed76808b9aef60feefe4baadd23e.zip newlib-186637a50834ed76808b9aef60feefe4baadd23e.tar.gz newlib-186637a50834ed76808b9aef60feefe4baadd23e.tar.bz2 |
* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
* external.cc (fillout_pinfo): Use it.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/external.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 3971dba..4a626ca 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2002-05-29 Christopher Faylor <cgf@redhat.com> + + * include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate. + * external.cc (fillout_pinfo): Use it. + 2002-05-29 Corinna Vinschen <corinna@vinschen.de> * external.cc (fillout_pinfo): Use new version define. diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 24b8338..00ab2ac 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -83,7 +83,7 @@ fillout_pinfo (pid_t pid, int winpid) ep.rusage_children = p->rusage_children; strcpy (ep.progname, p->progname); ep.strace_mask = 0; - ep.version = EXTERNAL_PINFO_VERSION_32_BIT; + ep.version = EXTERNAL_PINFO_VERSION; ep.process_state = p->process_state; diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 938d098..8e772ef 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -210,6 +210,7 @@ extern int cygwin_attach_handle_to_fd (char *, int, HANDLE, mode_t, DWORD); #define EXTERNAL_PINFO_VERSION_16_BIT 0 #define EXTERNAL_PINFO_VERSION_32_BIT 1 +#define EXTERNAL_PINFO_VERSION EXTERNAL_PINFO_VERSION_32_BIT #ifndef _SYS_TYPES_H typedef unsigned short __uid16_t; |