Ignore:
Timestamp:
Apr 23, 2012, 8:01:39 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.3: made it high-mem aware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/lib/os2helper.c

    r673 r699  
    4040#include <types.h>
    4141#include <string.h>
     42#include <sys/socket.h>
    4243//YD for tmalloc
    4344#include <malloc.h>
     
    177178}
    178179*/
     180
     181/* OS/2 specific pipe implementation, we have to use socketpair as select on
     182filehandle is not working. */
     183int os2_pipe(int fds[2])
     184{
     185        int rc = 0;
     186
     187        rc = socketpair(AF_UNIX, SOCK_STREAM, 0, fds);
     188        return rc;
     189}
     190
    179191/* OS/2-specific random functions. these functions used to be based on APR
    180192   random code, but we discovered some nasty problems with it on fast hardware
Note: See TracChangeset for help on using the changeset viewer.