* ntdll.h (struct _PEB): Add EnvironmentUpdateCount member.

* spawn.cc (child_info_spawn::worker): Speed up job recognition.  Expand
	comment to explain every little detail and so we never forget.
	* wincap.h (wincaps::has_program_compatibility_assitant): New element.
	* wincap.cc: Implement above element throughout.
This commit is contained in:
Corinna Vinschen
2012-02-17 14:26:18 +00:00
parent e86c278998
commit 1cb1472404
5 changed files with 66 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
/* ntdll.h. Contains ntdll specific stuff not defined elsewhere.
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
2009, 2010, 2011 Red Hat, Inc.
2009, 2010, 2011, 2012 Red Hat, Inc.
This file is part of Cygwin.
@@ -689,7 +689,9 @@ typedef struct _PEB
BYTE Reserved3[4];
PVOID ProcessHeap;
PRTL_CRITICAL_SECTION FastPebLock;
BYTE Reserved4[436];
BYTE Reserved4[8];
ULONG EnvironmentUpdateCount;
BYTE Reserved5[424];
ULONG SessionId;
} PEB, *PPEB;