added test on errno = ENOMEM on out of memory
1 file changed