Glenn Fowler <gsf at research.att.com> wrote:
> > 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.
>
> the sh spec does not require that the shell use stdio
of course not.
> is there any expectation that a call to wordexp() would/could/should modify
> the stdin/stdout/stderr buffer state of the caller at all?
>
> if a call to wordexp() does not touch the caller's stdio state
> why would it matter what io mechanism is used?
> the wordexp() implementation is free to use raw fd io, no?
> assuming proper cleanup on woreexp/wordfree return,
> how could the caller know that something other than stdio was used?
I was asuming from Rolands mail that there is such a problem as I have a
problem with libfind....
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