Re: protecting malloc(), etc

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Sat Feb 06 1999 - 22:18:05 EST


On Feb 5, 1999, Godmar Back <gback@cs.utah.edu> wrote:

> Unfortunately, libltdl uses stdio, although it didn't look like that
> would be hard to fix.

Where does it?

> I must admit I don't know about sprintf: is it async-signal-safe?

I doubt we can assume it is. Even if it is in one platform or two,
we'd better assume it is not, since some implementor might decide to
save state in static variables.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:59 EDT