Opened 17 years ago

Closed 9 years ago

#180 closed defect (fixed)

libc: spawnvpe adds default extention (.exe) preventing execution of scripts without extension

Reported by: bird Owned by: bird
Priority: normal Milestone: libc-0.6.6
Component: libc Version: 0.6
Severity: blocker Keywords:
Cc:

Description

Stupid bug that shows up in cases like echo file-to-compress | xargs /usr/lib/portage/bin/ecompress.

Change History (6)

comment:1 Changed 13 years ago by bird

Status: newassigned

comment:2 Changed 12 years ago by bird

Milestone: libc-0.6.5libc-0.7

comment:3 Changed 10 years ago by dmik

Resolution: duplicate
Status: assignedclosed

I'm closing this one in favor of #300 as it contains a patch and also provides some related discussion.

comment:4 Changed 9 years ago by bird

Milestone: libc-0.7libc-0.6.6
Resolution: duplicate
Status: closedreopened

comment:5 Changed 9 years ago by bird

Looking at the crazy buffer handling in _path and _searchenv, I decided to re-implement them with proper buffer overflowing, more flexible extension search, and avoiding mistaking directories for files. Committed the 0.6 code in r3903.

comment:6 Changed 9 years ago by bird

Resolution: fixed
Status: reopenedclosed

Forwardported to trunk in r3904.

Note: See TracTickets for help on using tickets.