* pinfo.cc (pinfo::status_exit): Enhance comment.

This commit is contained in:
Corinna Vinschen 2013-05-24 13:43:26 +00:00
parent 1a5dfe8ae0
commit 6184e6b9c8
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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. */