On Fri, Nov 04, 2016 at 07:53:35PM +0100, Markus Teich wrote:
> Heyho Hiltjo,
>
> > > My proposal would be to change ecalloc to use die() and in the rare cases
> > > where the allocation error should be handled gracefully just don't use
> > > ecalloc, but calloc directly.
> > >
> > > Btw: The drw
Heyho Hiltjo,
> > My proposal would be to change ecalloc to use die() and in the rare cases
> > where the allocation error should be handled gracefully just don't use
> > ecalloc, but calloc directly.
> >
> > Btw: The drw unification patches are still not merged to libsl, only to dwm,
> > dmenu a
On Thu, Nov 03, 2016 at 06:27:21PM +0100, Markus Teich wrote:
> Heyho,
>
Hiya!
> Davids patch for sent reminded me of an open issue. I proposed the following
> change to libsls ecalloc() a few months ago, but did not get feedback.
>
> void *
> ecalloc(size_t nmemb, size_t size)
Heyho,
Davids patch for sent reminded me of an open issue. I proposed the following
change to libsls ecalloc() a few months ago, but did not get feedback.
void *
ecalloc(size_t nmemb, size_t size)
{
void *p;
if (!(p = calloc(nme