* include/sys/cygwin.h (EXTERNAL_PINFO_VERSION): Reinstate.
* external.cc (fillout_pinfo): Use it.
This commit is contained in:
parent
50674f2dc3
commit
186637a508
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue