From 6184e6b9c81b42960d8e352d38af860e2a9495ab Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 24 May 2013 13:43:26 +0000 Subject: [PATCH] * pinfo.cc (pinfo::status_exit): Enhance comment. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/pinfo.cc | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1fce36c35..481e20264 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2013-05-24 Corinna Vinschen + + * pinfo.cc (pinfo::status_exit): Enhance comment. + 2013-05-24 Corinna Vinschen * environ.cc (win_env::add_cache): Set the Windows environment variable 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. */