Changeset 546 for trunk/src/ocatctrl.c


Ignore:
Timestamp:
02/12/10 12:32:55 (2 years ago)
Author:
eagle
Message:
  • fixed order of pid-process creation
  • AC_PROG_MKDIR_P was missing
  • child reaper was missing in case of pid-process getting killed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ocatctrl.c

    r538 r546  
    5656      { 
    5757         log_msg(LOG_ERR, "could not open %d for writing: %s", fd, strerror(errno)); 
     58         oe_close(pfd[0]); 
     59         oe_close(pfd[1]); 
    5860         return NULL; 
    5961      } 
     
    6971         log_msg(LOG_ERR, "could not open %d for reading: %s", fd, strerror(errno)); 
    7072         CNF(config_read) = 1; 
     73         oe_close(pfd[0]); 
     74         oe_close(pfd[1]); 
    7175         return NULL; 
    7276      } 
Note: See TracChangeset for help on using the changeset viewer.