From 186637a50834ed76808b9aef60feefe4baadd23e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 29 May 2002 21:00:55 +0000 Subject: [PATCH] * include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate. * external.cc (fillout_pinfo): Use it. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/external.cc | 2 +- winsup/cygwin/include/sys/cygwin.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 3971dba21..4a626ca42 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2002-05-29 Christopher Faylor + + * include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate. + * external.cc (fillout_pinfo): Use it. + 2002-05-29 Corinna Vinschen * external.cc (fillout_pinfo): Use new version define. diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 24b8338ab..00ab2ac08 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 938d09814..8e772ef00 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;