[ksh93-integration-discuss] Verifiying that ksh93 cooperates with plain Solaris libs

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Mon Apr 23 08:53:39 PDT 2007


"Josh Hurst" <joshhurst at gmail.com> wrote:

> > The wrapper is needed in order to make stdio, I/O redirection
> > and signal handling cooperate with a piece of code that has been
> > compiled in a standard Solaris environment.
>
> What's wrong with using the AST functions and stdio?

I am not shure what you like to say....


stdio if no compatible with sfio.

If the Korn Shell does not use a FILE *std[3] parameter for
builtin functions (as my bsh does for I/O redirection), then
ksh93 seems to rely on _overwriting_ stdin/stdout/stderr. 
This will never work for software that has not the internal knowledge of the
libc stdio implementation as libc has hidden additional data for stdin/....


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



More information about the ksh93-integration-discuss mailing list