Opened 17 years ago

Closed 10 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 by bird, 14 years ago

Status: newassigned

comment:2 by bird, 13 years ago

Milestone: libc-0.6.5libc-0.7

comment:3 by dmik, 10 years ago

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 by bird, 10 years ago

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

comment:5 by bird, 10 years ago

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 by bird, 10 years ago

Resolution: fixed
Status: reopenedclosed

Forwardported to trunk in r3904.

Note: See TracTickets for help on using tickets.