On 6/25/06, Casper.Dik at sun.com <Casper.Dik at sun.com> wrote:
> This seems wrong; personally I think we should rip out any replacement
> for system libraries; such duplication leads to more code which needs
> to be maintained. This includes replacements for <stdio.h>.
There would be no need to replace it if the stdio implementation in
Solaris would be sane, however since it sucks a faster, non-sucking
replacement would be cool.
> (The problem is even bigger if these are indeed shipped as part of
> the ksh libraries; having multiple implementations visible to processes
> is bad; note that re-exporting symbols like fopen() would be blatantly
> illegal in C and therefor also in Solaris; our libraries will malfunction
> when they find a different stdio library)
No, they won't malfunction. All AST stdio symbols have an '_ast_'
prefix in their ELF name, for example fopen() is listed as _ast_fopen
by elfdump
--
_ Felix Schulte
_|_|_ mailto:felix.schulte at gmail.com
(0 0)
ooO--(_)--Ooo