Changeset 7209

Show
Ignore:
Timestamp:
02/28/08 01:36:45 (5 years ago)
Author:
frsyuki
Message:

lang/c/partty: fixed stdoutput broken bug

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/c/partty/trunk/host.cc

    r7206 r7209  
    204204        } else if( len == 0 ) { throw io_end_error("session ends"); } 
    205205        // ブロックしながら標準出力に書き込む 
    206         if( continued_blocking_write_all(STDOUT_FILENO, shared_buffer, len) != (size_t)len ) { 
     206        // STDOUT_FILENOはblocking mode 
     207        if( write_all(STDOUT_FILENO, shared_buffer, len) != (size_t)len ) { 
     208                perror("hogehoge"); 
    207209                throw io_error("stdoutput is broken"); 
    208210        }