瀏覽代碼

Correct return type for read() and write().


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@48 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 10 年之前
父節點
當前提交
1b283f9772
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      child.cpp

+ 2
- 2
child.cpp 查看文件

@@ -522,7 +522,7 @@ namespace CodeDweller {
return traits_type::eof();
}
#else
size_t nBytesRead;
ssize_t nBytesRead;
nBytesRead = read(inputFileDescriptor,
start,
@@ -595,7 +595,7 @@ namespace CodeDweller {
getErrorText());
}
#else
size_t nBytesWritten;
ssize_t nBytesWritten;
nBytesWritten = write(outputFileDescriptor, pbase(), nBytes);

Loading…
取消
儲存