Changeset 22178

Show
Ignore:
Timestamp:
27.05.2010 00:03:54 (9 years ago)
Author:
davidb
Message:

slipped up with '=' instead of '=='. Now fixed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/os_process_unix.cpp

    r22177 r22178  
    113113     
    114114    // execvp? 
    115     cerr << "Away to execve: " << cmdline << endl; 
    116  
    117115    execve(cmdline, NULL, NULL); 
    118116 
     
    189187    child_stdin_write_ = -1; 
    190188  } 
    191   else if (warn_status = withWarning) { 
     189  else if (warn_status == withWarning) { 
    192190    cerr << "osprocessunix::close_write_pipe(): Warning - Tried to close already closed pipe" << endl; 
    193191  } 
     
    200198{ 
    201199  int read_close_rv = 0; 
    202  
    203200 
    204201  if (child_stdout_read_ != -1) {