Index: /branches/eam_branches/ohana.20160226/src/libohana/src/findexec.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/libohana/src/findexec.c	(revision 39429)
+++ /branches/eam_branches/ohana.20160226/src/libohana/src/findexec.c	(revision 39430)
@@ -315,4 +315,5 @@
   /* force addition of user exec/read/write */
   mode |= S_IRWXU;
+  errno = 0; // If mkdirhier succeeds, errno must be 0
   if (mkdir (path, mode)) {
     if (errno == ENOENT) { 
Index: /branches/eam_branches/ohana.20160226/src/libohana/src/ohana_allocate.c
===================================================================
--- /branches/eam_branches/ohana.20160226/src/libohana/src/ohana_allocate.c	(revision 39429)
+++ /branches/eam_branches/ohana.20160226/src/libohana/src/ohana_allocate.c	(revision 39430)
@@ -60,5 +60,5 @@
   new = (OhanaMemblock *) malloc (sizeof(OhanaMemblock) + size + 2*sizeof(void *)); 
   if (new == NULL) ohana_memabort ("failed to allocate memory (%s, %d, %s)\n", file, line, func);
-  if (errno == ENOMEM) abort();
+  // if (errno == ENOMEM) abort(); I should not check the value of errno if new is not NULL
 
   // pointer to the start of the user memory
