On Monday 2012-08-06 22:26, Joerg Schilling wrote:
Jan Engelhardt
wrote: Windows is also omnipresent, and the POSIX guys are known to have strange ideas sometimes. So what?
You wanted to say that Linux guys are known to have strange ideas sometines?
(The GNU people say, and I would not distrust that statement that) df(1), in POSIX-compliant mode, is to show number of blocks in units of 512 bytes, rather than a more sane default like 1K.
Please explain me e.g. why on Linux, you don't get the full exit code from a program with waitid(). Both exit() and waitid() permit a full int, Linux masks the exit code with 0xFF.... so what is strange, POSIX or Linux?
That would be POSIX again, I suppose: http://pubs.opengroup.org/onlinepubs/000095399/functions/exit.html """The value of status may be 0, EXIT_SUCCESS, EXIT_FAILURE, [CX] or any other value, though only the least significant 8 bits (that is, status & 0377) shall be available to a waiting parent process.""" Linux/glibc merely implement this POSIX-defined behavior. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org