diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | 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,5 +1,9 @@ 2013-05-24 Corinna Vinschen <corinna@vinschen.de> + * pinfo.cc (pinfo::status_exit): Enhance comment. + +2013-05-24 Corinna Vinschen <corinna@vinschen.de> + * environ.cc (win_env::add_cache): Set the Windows environment variable using wide chars to make sure native chars don't get scrambled. * environ.h (build_env): Fix formatting in declaration. 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. */ |