"William James" <williamjamesgnusolaris at gmail.com> wrote:

> > Uhm... you are aware that this may break SMF's inetd services (inetd
> > uses |libc::wordexp()| which uses a secret switch in Solaris's
> > /usr/bin/ksh to do the word expansion. Unfortunately ksh93 does not
> > support the "secret switch"-hack which causes |libc::wordexp()| to fail
> > and this renderes inetd defunct. We have a solution in the
> > ksh93-integration prototype004 tree which replaces the original
> > |libc::wordexp()| function with a version which uses ksh93 instead...
> > but that requires to replace your libc.so.1 libraries with the patched
> > version...) ?
>
> Why can't you just compile the ksh93 wordexp() for all libc versions?
> Or set an environment variable to tell applications to use the ksh93
> code?

ksh93 uses sfio while libc uses stdio.

>From my understanding, libc would need to convert to libast in order to
be compatible with a wordexp() implementation that directly uses ksh93 code.

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to