Opened 10 years ago
Closed 10 years ago
#308 closed defect (fixed)
__spawnvpe() and interperter search
Reported by: | KO Myung-Hun | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | libc-0.6.6 |
Component: | libc-backend | Version: | 0.6.5 |
Severity: | normal | Keywords: | |
Cc: |
Description
Hi/2.
Current __spawnvpe() searches a interpreter in this order.
interpreter_path interpreter_name in PATH interpreter_name + .exe in PATH
But, interpreter_path + .exe should be also searched before searching name in PATH.
Finally, I think, an exe file should be prefered to a non-exe file. Any idea ?
Attachments (1)
Change History (3)
by , 10 years ago
Attachment: | __spawnvpe.diff added |
---|
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Component: | libc → libc-backend |
---|---|
Milestone: | libc-0.7 → libc-0.6.6 |
Resolution: | → fixed |
Status: | new → closed |
Forwardported to trunk in r3904.
Note:
See TracTickets
for help on using tickets.
Fixing it the same way as #180, by using the new _path2 function. r3903 on the branch.