* external.cc (fillout_pinfo): Set new version field in external_pinfo
structure. * include/sys/cygwin.h (external_pinfo): Replace strace_file with version field.
This commit is contained in:
parent
642745443f
commit
9fef0139c2
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* 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>
|
||||
|
||||
@ -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.strace_file = 0;
|
||||
ep.version = EXTERNAL_PINFO_VERSION;
|
||||
|
||||
ep.process_state = p->process_state;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* 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.
|
||||
|
||||
@ -208,6 +208,8 @@ extern int cygwin_attach_handle_to_fd (char *, int, HANDLE, mode_t, DWORD);
|
||||
|
||||
#define TTY_CONSOLE 0x40000000
|
||||
|
||||
#define EXTERNAL_PINFO_VERSION 1
|
||||
|
||||
#ifndef _SYS_TYPES_H
|
||||
typedef unsigned short __uid16_t;
|
||||
typedef unsigned short __gid16_t;
|
||||
@ -235,7 +237,7 @@ struct external_pinfo
|
||||
char progname[MAX_PATH];
|
||||
|
||||
DWORD strace_mask;
|
||||
HANDLE strace_file;
|
||||
DWORD version;
|
||||
|
||||
DWORD process_state;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user