reverted (to some degree) cygwin exit value presented to non-cygwin processes
Pierre A. Humblet
Tue Mar 8 17:52:00 GMT 2005
I think it's a great decision, but I will still ask a question that has
been nagging me.
Why don't we always return in pinfo the Posix exit status ("wait" format)
and in ExitProcess the Windows exit status? No need to test.
Moreover, internally we store the exit status in 32 bits, but we use only
out of which 8 are for the exit value lsb.
So we could be extra nice to Windows users and return 23 bits worth of
exit status in ExitProcess, at absolutely no cost.
More information about the Cygwin-developers