bug-gnulib
[Top][All Lists]
Advanced

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

Re: strfile: new module


From: Ralf Wildenhues
Subject: Re: strfile: new module
Date: Thu, 1 Jun 2006 10:29:44 +0200
User-agent: Mutt/1.5.11

* 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).

Cheers,
Ralf




reply via email to

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