+2006-08-27 Christopher Faylor <cgf@timesys.com>
+
+ * child_info.h (child_info_spawn::~child_info_spawn): Don't close
+ myself_pinfo handle when spawning.
+
2006-08-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Fix formatting.
#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 0x704d1f7eU
+#define CURR_CHILD_INFO_MAGIC 0x3a24db6aU
/* NOTE: Do not make gratuitous changes to the names or organization of the
below class. The layout is checksummed to determine compatibility between
cfree (*e);
cfree (moreinfo->envp);
}
- CloseHandle (moreinfo->myself_pinfo);
+ if (type != _PROC_SPAWN)
+ CloseHandle (moreinfo->myself_pinfo);
cfree (moreinfo);
}
}