Skip to content

Commit

Permalink
Reverse the order of SBM_(NON_)BLOCKING.
Browse files Browse the repository at this point in the history
  • Loading branch information
elfpipe committed Jun 15, 2024
1 parent d4c4689 commit b2d0ae5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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 "14.06.2024"
#define DATE "15.06.2024"
#define VERS "clib4.library 1.0.0"
#define VSTRING "clib4.library 1.0.0 (14.06.2024)\r\n"
#define VERSTAG "\0$VER: clib4.library 1.0.0 (14.06.2024)"
#define VSTRING "clib4.library 1.0.0 (15.06.2024)\r\n"
#define VERSTAG "\0$VER: clib4.library 1.0.0 (15.06.2024)"
4 changes: 2 additions & 2 deletions library/stdio/fdhookentry.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,9 @@ int64_t __fd_hook_entry(struct _clib4 *__clib4, struct fd *fd, struct file_actio

if(FLAG_IS_SET(fd->fd_Flags, FDF_PIPE)) {
if (fam->fam_Arg != 0)
mode = SBM_NON_BLOCKING; /* buffered mode */
mode = SBM_BLOCKING;
else
mode = SBM_BLOCKING; /* single character mode */
mode = SBM_NON_BLOCKING;

int32 r = SetBlockingMode(file, mode);

Expand Down

0 comments on commit b2d0ae5

Please sign in to comment.