[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-userlevel
Subject: Re: CVS commit: src/bin/csh
From: nia <nia () NetBSD ! org>
Date: 2024-04-25 7:44:06
Message-ID: ZioJxjnKMJQLDqMt () homeworld ! netbsd ! org
[Download RAW message or body]
On Thu, Apr 25, 2024 at 12:06:07AM +0200, Thomas Klausner wrote:
> On Wed, Apr 24, 2024 at 03:46:20PM +0000, Nia Alarie wrote:
> > Module Name: src
> > Committed By: nia
> > Date: Wed Apr 24 15:46:20 UTC 2024
> >
> > Modified Files:
> > src/bin/csh: alloc.c extern.h
> >
> > Log Message:
> > csh: add a reallocarray function for using inside csh
>
> Why not use reallocarray(3) directly?
> Thomas
csh has its own error handling for allocation failures and I don't
want to break that.
If I was going to add error checking for NULL everywhere I'd rather
use reallocarr
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic