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/lib/tevent/tevent_signal.c

    r429 r464  
    3030#include "tevent_internal.h"
    3131#include "tevent_util.h"
     32#ifdef __OS2__
     33#include <sys/socket.h>
     34#endif
    3235
    3336#define TEVENT_NUM_SIGNALS 64
     
    246249           setup */
    247250        if (ev->pipe_fde == NULL) {
     251#ifndef __OS2__
    248252                if (pipe(ev->pipe_fds) == -1) {
     253#else
     254                if (socketpair(AF_UNIX, SOCK_STREAM,0, ev->pipe_fds) == -1) {
     255#endif
    249256                        talloc_free(se);
    250257                        return NULL;
Note: See TracChangeset for help on using the changeset viewer.