View | Details | Raw Unified | Return to bug 197025 | Differences between
and this patch

Collapse All | Expand All

(-)tsocks.h (-3 / +3 lines)
Lines 75-83 Link Here
75
#define FAILED 14 
75
#define FAILED 14 
76
   
76
   
77
/* Flags to indicate what events a socket was select()ed for */
77
/* Flags to indicate what events a socket was select()ed for */
78
#define READ (1<<0)
78
#define READ (POLLIN|POLLRDNORM)
79
#define WRITE (1<<1)
79
#define WRITE (POLLOUT|POLLWRNORM|POLLWRBAND)
80
#define EXCEPT (1<<2)
80
#define EXCEPT (POLLRDBAND|POLLPRI)
81
#define READWRITE (READ|WRITE)
81
#define READWRITE (READ|WRITE)
82
#define READWRITEEXCEPT (READ|WRITE|EXCEPT)
82
#define READWRITEEXCEPT (READ|WRITE|EXCEPT)
83
83

Return to bug 197025