Project

General

Profile

Bug #8938

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

Added by Igor Kozhukhov almost 3 years ago. Updated almost 3 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:

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.

#1

Updated by Yuri Pankov almost 3 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.

Also available in: Atom PDF