OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb0eb57
)
* spawn.cc (spawnve): Remove vfork short circuit and let caller deal with error
author
cgf
<cgf>
Fri, 26 Sep 2003 03:09:42 +0000
(
03:09
+0000)
committer
cgf
<cgf>
Fri, 26 Sep 2003 03:09:42 +0000
(
03:09
+0000)
return.
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/spawn.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
12804d0
..
927147c
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,3
+1,8
@@
+2003-09-25 Christopher Faylor <cgf@redhat.com>
+
+ * spawn.cc (spawnve): Remove vfork short circuit and let caller deal
+ with error return.
+
2003-09-25 Pierre Humblet <pierre.humblet@ieee.org>
Christopher Faylor <cgf@redhat.com>
diff --git
a/winsup/cygwin/spawn.cc
b/winsup/cygwin/spawn.cc
index
8d2ab2d
..
d205c26
100644
(file)
--- a/
winsup/cygwin/spawn.cc
+++ b/
winsup/cygwin/spawn.cc
@@
-977,9
+977,7
@@
spawnve (int mode, const char *path, const char *const *argv,
if (vf)
{
debug_printf ("longjmping due to vfork");
- if (ret < 0)
- vf->restore_exit (ret);
- else
+ if (ret > 0)
vf->restore_pid (ret);
}
break;