Changeset 656 for trunk/server/source3/lib/recvfile.c
- Timestamp:
- Nov 8, 2011, 6:50:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/lib/recvfile.c
r464 r656 25 25 26 26 #include "includes.h" 27 #ifdef __OS2__ 28 #define pipe(A) os2_socketpair(A) 29 #endif 27 30 28 31 /* Do this on our own in TRANSFER_BUF_SIZE chunks. … … 174 177 } 175 178 176 #ifndef __OS2__177 179 if ((pipefd[0] == -1) && (pipe(pipefd) == -1)) { 178 #else179 if ((pipefd[0] == -1) && (socketpair(AF_UNIX, SOCK_STREAM,0, pipefd) == -1)) {180 #endif181 180 try_splice_call = false; 182 181 return default_sys_recvfile(fromfd, tofd, offset, count);
Note:
See TracChangeset
for help on using the changeset viewer.