diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-12-05 13:59:21 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-12-05 13:59:21 +0300 |
commit | c6674b53d3b910b8d3dd4095d626e554b5c32fa1 (patch) | |
tree | f5230c3705aecf055c5210f469208ae72c9c36a2 /winsup/cygwin/wincap.h | |
parent | 489bb390ceff00454f0f904c8c96cd39405918c6 (diff) |
* dcrt0.cc (get_cygwin_startup_info): Change zeros to DWORD array.
Expect first DWORD in child_info struct being set to non-zero if
wincap.needs_count_in_si_lpres2 is set. Add comment to explain why.
* fork.cc (frok::parent): Set ch.zero[0] to a sensible count value
if wincap.needs_count_in_si_lpres2 is set.
* spawn.cc (spawn_guts): Ditto. Add filler bytes after ch on stack
to accomodate needs_count_in_si_lpres2.
* wincap.h: Define needs_count_in_si_lpres2 throughout.
* wincap.cc: Ditto.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index d40d12c1a..2928f8d62 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -71,6 +71,7 @@ struct wincaps unsigned has_buggy_restart_scan : 1; unsigned has_mandatory_integrity_control : 1; unsigned needs_logon_sid_in_sid_list : 1; + unsigned needs_count_in_si_lpres2 : 1; }; class wincapc @@ -148,6 +149,7 @@ public: bool IMPLEMENT (has_buggy_restart_scan) bool IMPLEMENT (has_mandatory_integrity_control) bool IMPLEMENT (needs_logon_sid_in_sid_list) + bool IMPLEMENT (needs_count_in_si_lpres2) #undef IMPLEMENT }; |