Date: Tue, 12 Mar 2002 13:53:05 -0800 From: Alfred Perlstein <bright@mu.org> To: Archie Cobbs <archie@dellroad.org> Cc: freebsd-current@freebsd.org Subject: Re: Adding realloc() Message-ID: <20020312215305.GL92565@elvis.mu.org> In-Reply-To: <200203120559.g2C5xI364432@arch20m.dellroad.org> References: <200203120559.g2C5xI364432@arch20m.dellroad.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Archie Cobbs <archie@dellroad.org> [020311 22:00] wrote: > Hi, > > I've had the need for a realloc() in the kernel several times > before and am having it once again. Finally figured it's time to > do something about it. > > Does anyone have problems with the attached patch? This patch adds > realloc() and also fixes the semantics of free() to be consistent > with userland, in that free(NULL) is legal and does nothing. This > will make it possible to simplify some netgraph code and probably > other stuff too. Reviews appreciated as well. Where is the update to malloc(9)? What about reallocf? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020312215305.GL92565>