Opened 10 years ago

Last modified 9 years ago

#303 reopened enhancement

spawnvpe() set COMSPEC and OS2_SHELL to NULL in some cases — at Initial Version

Reported by: KO Myung-Hun Owned by:
Priority: low Milestone: libc-0.7
Component: libc-backend Version: 0.6.5
Severity: minor Keywords: __spawnvpe
Cc:

Description

Hi/2.

When I did 'make check' with automake v1.13.1, gawk failed because it could not open pipe.

I looked into gawk sources, then found that the failed function was popen(). And popen(), maybe system() as well, failed that COMSPEC and OS2_SHELL were NULL. Looking into more, I could know that a root of this problem was spawnvpe() in make, which is compiled by kLIBC.

envp argument included COMSPEC and OS2_SHELL correctly. Nevertheless a child did not inherit them.

I don't know which conditions trigger this. But this occurs whenever 'make check' with automake v1.13.1.

Fortunately, there is simple workaround. It is to set EMXSHELL. EMXSHELL does not disappear.

Change History (0)

Note: See TracTickets for help on using tickets.