Ignore:
Timestamp:
Nov 8, 2011, 6:50:31 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba Server 3.5: Some more work to get high-mem working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/lib/recvfile.c

    r464 r656  
    2525
    2626#include "includes.h"
     27#ifdef __OS2__
     28#define pipe(A) os2_socketpair(A)
     29#endif
    2730
    2831/* Do this on our own in TRANSFER_BUF_SIZE chunks.
     
    174177        }
    175178
    176 #ifndef __OS2__
    177179        if ((pipefd[0] == -1) && (pipe(pipefd) == -1)) {
    178 #else
    179         if ((pipefd[0] == -1) && (socketpair(AF_UNIX, SOCK_STREAM,0, pipefd) == -1)) {
    180 #endif
    181180                try_splice_call = false;
    182181                return default_sys_recvfile(fromfd, tofd, offset, count);
Note: See TracChangeset for help on using the changeset viewer.