structure.
* include/sys/cygwin.h (external_pinfo): Replace strace_file with version
field.
+2002-05-29 Christopher Faylor <cgf@redhat.com>
+
+ * external.cc (fillout_pinfo): Set new version field in external_pinfo
+ structure.
+ * include/sys/cygwin.h (external_pinfo): Replace strace_file with
+ version field.
+
2002-05-29 Corinna Vinschen <corinna@vinschen.de>
Change internal uid datatype from __uid16_t to __uid32_t
/* external.cc: Interface to Cygwin internals from external programs.
- Copyright 1997, 1998, 1999, 2000, 2001 Red Hat, Inc.
+ Copyright 1997, 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
Written by Christopher Faylor <cgf@cygnus.com>
ep.rusage_children = p->rusage_children;
strcpy (ep.progname, p->progname);
ep.strace_mask = 0;
- ep.strace_file = 0;
+ ep.version = EXTERNAL_PINFO_VERSION;
ep.process_state = p->process_state;
/* sys/cygwin.h
- Copyright 1997, 1998, 2000, 2001 Red Hat, Inc.
+ Copyright 1997, 1998, 2000, 2001, 2002 Red Hat, Inc.
This file is part of Cygwin.
#define TTY_CONSOLE 0x40000000
+#define EXTERNAL_PINFO_VERSION 1
+
#ifndef _SYS_TYPES_H
typedef unsigned short __uid16_t;
typedef unsigned short __gid16_t;
char progname[MAX_PATH];
DWORD strace_mask;
- HANDLE strace_file;
+ DWORD version;
DWORD process_state;