Browse Source

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 years ago
parent
commit
1b283f9772
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      child.cpp

+ 2
- 2
child.cpp View File

@@ -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…
Cancel
Save