From 1cb1472404cb050827a8902b862815ddb3973b71 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 17 Feb 2012 14:26:18 +0000 Subject: * 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. --- winsup/cygwin/ntdll.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/ntdll.h') diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index bb4a70dd0..d921867bd 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -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; -- cgit v1.2.3