Skip to content

Commit

Permalink
Merge pull request #190 from alfkil/beta10
Browse files Browse the repository at this point in the history
Added handling of O_NONBLOCK fds for select/poll.
  • Loading branch information
afxgroup authored Jun 24, 2024
2 parents ac4b060 + 9b317fb commit 7a18302
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/c.lib_rev.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define REVISION 0
#define SUBREVISION 0

#define DATE "22.06.2024"
#define DATE "24.06.2024"
#define VERS "clib4.library 1.0.0"
#define VSTRING "clib4.library 1.0.0 (22.06.2024)\r\n"
#define VERSTAG "\0$VER: clib4.library 1.0.0 (22.06.2024)"
#define VSTRING "clib4.library 1.0.0 (24.06.2024)\r\n"
#define VERSTAG "\0$VER: clib4.library 1.0.0 (24.06.2024)"
5 changes: 5 additions & 0 deletions library/socket/select_signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,11 @@ __select(int num_fds, fd_set *read_fds, fd_set *write_fds, fd_set *except_fds, s
got_input = TRUE;
}
}
else if (FLAG_IS_SET(fd->fd_Flags, FDF_NON_BLOCKING)) {
SHOWVALUE("FLAG_IS_SET(fd->fd_Flags, FDF_NON_BLOCKING");
SHOWVALUE(i);
got_input = TRUE;
}
else if (FLAG_IS_SET(fd->fd_Flags, FDF_IS_INTERACTIVE)) {
SHOWVALUE("FLAG_IS_SET(fd->fd_Flags, FDF_IS_INTERACTIVE");
SHOWVALUE(i);
Expand Down

0 comments on commit 7a18302

Please sign in to comment.