Project

General

Profile

Bug #2959 » patch_solaris.diff

vt7bit, 2019-06-06 02:25

View differences:

/src/fdevent_solaris_port.c Mon May 27 21:03:50 2019 → /src/fdevent_solaris_port.c Tue Jun 4 05:46:18 2019
20 20
}
21 21

  
22 22
static int fdevent_solaris_port_event_set(fdevents *ev, fdnode *fdn, int events) {
23
    int fd = fdn->fdn_ndx = fdn->fd;
23
    int fd = fdn->fde_ndx = fdn->fd;
24 24
    intptr_t ud = events & (POLLIN|POLLOUT);
25 25
    return port_associate(ev->port_fd,PORT_SOURCE_FD,fd,(int)ud,(void*)ud);
26 26
}
    (1-1/1)