OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
50b17ad
)
* child_info.h (child_info_spawn::~child_info_spawn): Don't close myself_pinfo
author
cgf
<cgf>
Sun, 27 Aug 2006 16:46:27 +0000
(16:46 +0000)
committer
cgf
<cgf>
Sun, 27 Aug 2006 16:46:27 +0000
(16:46 +0000)
handle when spawning.
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/child_info.h
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
11dc7f7
..
4abad85
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,3
+1,8
@@
+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.
2006-08-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Fix formatting.
diff --git
a/winsup/cygwin/child_info.h
b/winsup/cygwin/child_info.h
index
9f11015
..
d2b712e
100644
(file)
--- a/
winsup/cygwin/child_info.h
+++ b/
winsup/cygwin/child_info.h
@@
-38,7
+38,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 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 0x
704d1f7e
U
+#define CURR_CHILD_INFO_MAGIC 0x
3a24db6a
U
/* NOTE: Do not make gratuitous changes to the names or organization of the
below class. The layout is checksummed to determine compatibility between
/* NOTE: Do not make gratuitous changes to the names or organization of the
below class. The layout is checksummed to determine compatibility between
@@
-122,7
+122,8
@@
public:
cfree (*e);
cfree (moreinfo->envp);
}
cfree (*e);
cfree (moreinfo->envp);
}
- CloseHandle (moreinfo->myself_pinfo);
+ if (type != _PROC_SPAWN)
+ CloseHandle (moreinfo->myself_pinfo);
cfree (moreinfo);
}
}
cfree (moreinfo);
}
}