On 3/15/07, Roland Mainz <roland.mainz at nrubsig.org> wrote:
> Sivakumar Shanmugasundaram wrote:
> > Roland Mainz wrote:
> > > Sivakumar Shanmugasundaram wrote:
> [snip]
> > > See http://www.opensolaris.org/os/project/ksh93-integration/downloads/
> > > for the download page. The latest tarballs is from 2006-12-14 (based on
> > > ast-ksh93.2006-12-07) but I am going to update this once the new ast-ksh
> > > sources are out.
> > >
> > > Alternatively you can try to build ksh93 from our OS/Net prototype tree
> > > as described in
> > > http://www.opensolaris.org/os/project/ksh93-integration/downloads/2006-12-14/
> > > , those sources are based on ast-ksh.2007-01-11 (e.g. newer than the
> > > latest binary tarball on the download page).
> >
> > Great. I have renamed the ksh93 binary to 'ksh' (along with rksh and
> > under amd64/sparv9) and running it as my default shell in S11 x64 and Sparc
> > I like it.
>
> 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?

Cheers,
William
-- 
    @,,@   William James
   (\--/)  williamjamesgnusolaris at gmail.com
  (.>__<.) GNU/Solaris hacker

Reply via email to