[newlib-cygwin/cygwin-3_6-branch] Cygwin: child_info: remove filler bytes
Corinna Vinschen
corinna@sourceware.org
Mon Feb 2 17:15:45 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c64884cc06a7dda3727c1b74228256e20eab48ac
commit c64884cc06a7dda3727c1b74228256e20eab48ac
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Sun Jan 25 15:45:07 2026 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Mon Feb 2 18:13:54 2026 +0100
Cygwin: child_info: remove filler bytes
The filler bytes in child_info were only necessary for Vista to
workaround a bug in WOW64. We just neglected to remove them so far.
Fixes: a4efb2a6698f ("Cygwin: remove support for Vista entirely")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
(cherry picked from commit b0c13bcc7d1cbc5b8ec0f82523830abfed1eddac)
Diff:
---
winsup/cygwin/local_includes/child_info.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/winsup/cygwin/local_includes/child_info.h b/winsup/cygwin/local_includes/child_info.h
index 25d99fa7de36..dc0b75dee694 100644
--- a/winsup/cygwin/local_includes/child_info.h
+++ b/winsup/cygwin/local_includes/child_info.h
@@ -33,7 +33,7 @@ enum child_status
#define EXEC_MAGIC_SIZE sizeof(child_info)
/* Change this value if you get a message indicating that it is out-of-sync. */
-#define CURR_CHILD_INFO_MAGIC 0x77f25a01U
+#define CURR_CHILD_INFO_MAGIC 0x3c5c4429U
#include "pinfo.h"
struct cchildren
@@ -111,7 +111,6 @@ public:
void *stackbase; // StackBase of parent thread
size_t guardsize; // size of POSIX guard region or (size_t) -1 if
// user stack
- char filler[4];
child_info_fork ();
void handle_fork ();
bool abort (const char *fmt = NULL, ...);
@@ -145,7 +144,6 @@ public:
cygheap_exec_info *moreinfo;
int __stdin;
int __stdout;
- char filler[4];
void cleanup ();
child_info_spawn () {};
More information about the Cygwin-cvs
mailing list