Add safe_xcalloc and try_xcalloc macros.
And safe_xmalloc and try_xmalloc as well. Change slurm_xcalloc() function signature to indicate whether failure should return NULL or cause a fatal() error. Use that for these new macros.
Please register or sign in to comment