Mail Archives: djgpp/2001/09/23/05:35:15
On Fri, 21 Sep 2001, Piotr Fusik wrote:
> redir -x test.com (Redir 2.1) prints "Exit code: 0".
> test.com returns a non-zero code, as show:
Thanks for reporting this.
This happens due to a subtle bug in one of the subroutines called by the
library function `system', so it is not specific to `redir'. The bug
causes *.com programs to be invoked via COMMAND.COM instead of directly,
and COMMAND.COM always returns a zero exit status, no matter what. The
bug only happens on systems which support long file names.
This is already fixed in the current development sources, so the next
DJGPP release will not have this problem.
- Raw text -