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:56:04 EST


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

>>
>> 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?

> in ltdl.c, search for fopen, feof, and fclose.

Jeez, I must be sleeping. When I read stdio, I understood `open,
read, close, etc', which it doesn't use directly. Using stdio instead
of direct I/O functions is better, IMO, because it takes care of
restarting in case of signals, AFAIK.

-- 
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