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:
authorCorinna Vinschen <corinna@vinschen.de>2013-05-24 17:43:26 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-05-24 17:43:26 +0400
commit6184e6b9c81b42960d8e352d38af860e2a9495ab (patch)
treef979bd4db6f89a7851be74c6f55cbb71a9d6812d /winsup/cygwin/pinfo.cc
parent1a5dfe8ae08e00200a081f1f1a368f1201543761 (diff)
* pinfo.cc (pinfo::status_exit): Enhance comment.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index c51902cbd..51d01322c 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -149,9 +149,9 @@ pinfo::status_exit (DWORD x)
Windows environment is > 32K, startup of an exec'ed process fails with
STATUS_NO_MEMORY. This happens with all Cygwin executables, as well
as, for instance, notepad, but it does not happen with CMD for some
- reason. This occurs at a point where there's no return to the exec'ing
- parent process, so we have to find some way to inform the user what
- happened.
+ reason (but note, the environment *in* CMD is broken and shortened).
+ This occurs at a point where there's no return to the exec'ing parent
+ process, so we have to find some way to inform the user what happened.
FIXME: For now, just return with SIGBUS set. Maybe it's better to add
a lengthy small_printf instead. */