Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-01-09 08:18:02 +0300
committerChristopher Faylor <me@cgf.cx>2009-01-09 08:18:02 +0300
commitd95d8c5393988702112b8fcd154683150227cb7a (patch)
tree68eae25a4f9469fae8cbc227f8b4ca28e11c57e5 /winsup/cygwin/spawn.cc
parent086dc27fec1b3e5ff4e01404b67e02d745f01d4b (diff)
* include/sys/cygwin.h (CW_SETERRNO): Define.
* external.cc (CW_SETERRNO): Implement. * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 192 to reflect the above change. * path.cc (path_prefix_p): Treat X: as equivalent to x:. * mkglobals_h: Remove unneeded #define. * spawn.cc (spawn_guts): Avoid overly wordy initialization to zero.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r--winsup/cygwin/spawn.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
index bb8a75fe6..121655d49 100644
--- a/winsup/cygwin/spawn.cc
+++ b/winsup/cygwin/spawn.cc
@@ -310,8 +310,7 @@ spawn_guts (const char *prog_arg, const char *const *argv,
cygheap_exec_info *moreinfo;
bool null_app_name = false;
- STARTUPINFOW si = {0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL,
- NULL, NULL, NULL};
+ STARTUPINFOW si = {};
int looped = 0;
HANDLE orig_wr_proc_pipe = NULL;