Ignore:
Timestamp:
Jun 10, 2010, 12:38:39 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: changed pipe() to socketpair()

File:
1 edited

Legend:

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

    r414 r464  
    174174        }
    175175
     176#ifndef __OS2__
    176177        if ((pipefd[0] == -1) && (pipe(pipefd) == -1)) {
     178#else
     179        if ((pipefd[0] == -1) && (socketpair(AF_UNIX, SOCK_STREAM,0, pipefd) == -1)) {
     180#endif
    177181                try_splice_call = false;
    178182                return default_sys_recvfile(fromfd, tofd, offset, count);
Note: See TracChangeset for help on using the changeset viewer.