Project

General

Profile

Actions

Bug #8938

closed

wordexp () in libc depend on ksh93 and failed with others

Added by Igor Kozhukhov over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2017-12-28
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

usr/src/lib/libc/port/regex/wordexp.c
wordexp() depend on ksh93 and will be failed with components like inetd what are using it
i tried to check it with bash and mksh and it failed.
have to investigate and fix it to be more universal.

Actions #1

Updated by Yuri Pankov over 5 years ago

  • Status changed from New to Rejected

The rationale says:

While wordexp() could be implemented entirely as a library routine, it is expected that most implementations run a shell in a subprocess to do the expansion.

So "investigate and fix it to be more universal" doesn't really serve any purpose -- if/when we will remove/replace the ast ksh93 (and every seems to have its own way to do the words expansion), we'll have to update the wordexp() implementation.

Actions

Also available in: Atom PDF