[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strfile: new module

From: Simon Josefsson
Subject: Re: strfile: new module
Date: Thu, 01 Jun 2006 12:47:03 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> * Paul Eggert wrote on Thu, Jun 01, 2006 at 10:20:58AM CEST:
>> Simon Josefsson <address@hidden> writes:
>> > What about realloc (NULL, ...)?
>> In practice that is as portable as free (NULL).  They were
>> standardized at the same time.
> Well, with the difference being here that realloc, similar to malloc,
> may not do what you expect from its glibc implementations, i.e., return
> non-NULL upon a request of zero size (which is the main reason for
> the Gnulib realloc module).

Read-file doesn't call realloc with size=0 (but it does call it with
pointer=NULL), so I've dropped the dependency on the realloc module in


reply via email to

[Prev in Thread] Current Thread [Next in Thread]