j
k
j a
j l
Just change
if((X = malloc(a+1)) == NULL) error();
to
if(a==0) X = NULL; else if((X = malloc(a)) == NULL) error();
Done.
Show replies by date
pike-devel@lists.lysator.liu.se
Add to favorites Remove from favorites