mirror of
https://repo.or.cz/socat.git
synced 2025-07-13 23:13:24 +00:00
Corrections for better 32bit systems support, and some minor fixes
This commit is contained in:
parent
de1ed21026
commit
c9ff62744f
15 changed files with 79 additions and 50 deletions
2
xio.h
2
xio.h
|
@ -348,6 +348,7 @@ typedef union bipipe {
|
|||
enum xiotag tag;
|
||||
const struct addrdesc *addr;
|
||||
int flags;
|
||||
/* until here, keep consistent with struct single, and with .dual */
|
||||
} common; /* "bipipe.common" */
|
||||
struct single stream;
|
||||
struct {
|
||||
|
@ -368,6 +369,7 @@ typedef union bipipe {
|
|||
bool havelock; /* we are happy owner of the above lock */
|
||||
int triggerfd; /* close this FD in child process to notify parent */
|
||||
bool cool_write; /* downlevel EPIPE, ECONNRESET to notice */
|
||||
/* until here, keep consistent with struct single ! */
|
||||
struct single *stream[2]; /* input stream, output stream */
|
||||
} dual;
|
||||
} xiofile_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue