Mail Archives: djgpp-workers/1997/07/07/11:57:04
On Mon, 7 Jul 1997, Molnar Laszlo wrote:
> if (!shell)
> shell = command_com;
>
> like in _shell_command(), because _is_unixy_shell() can receive
> a NULL pointer which list_member() will dereference, if there is no
> SHELL or COMSPEC environment variable (this is the case in a perl
> test script).
Please explain how did you get into a situation where there's no COMSPEC.
AFAIK, it should be always defined on MS-DOS. If I'm right, comspec is
never a NULL pointer.
- Raw text -