Skip to content

Commit a145b76

Browse files
authored
Merge pull request #188 from alfkil/beta10
Reverse the order of SBM_(NON_)BLOCKING. (Second attempt.)
2 parents d4c4689 + b2d0ae5 commit a145b76

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

library/c.lib_rev.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define REVISION 0
33
#define SUBREVISION 0
44

5-
#define DATE "14.06.2024"
5+
#define DATE "15.06.2024"
66
#define VERS "clib4.library 1.0.0"
7-
#define VSTRING "clib4.library 1.0.0 (14.06.2024)\r\n"
8-
#define VERSTAG "\0$VER: clib4.library 1.0.0 (14.06.2024)"
7+
#define VSTRING "clib4.library 1.0.0 (15.06.2024)\r\n"
8+
#define VERSTAG "\0$VER: clib4.library 1.0.0 (15.06.2024)"

library/stdio/fdhookentry.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,9 @@ int64_t __fd_hook_entry(struct _clib4 *__clib4, struct fd *fd, struct file_actio
442442

443443
if(FLAG_IS_SET(fd->fd_Flags, FDF_PIPE)) {
444444
if (fam->fam_Arg != 0)
445-
mode = SBM_NON_BLOCKING; /* buffered mode */
445+
mode = SBM_BLOCKING;
446446
else
447-
mode = SBM_BLOCKING; /* single character mode */
447+
mode = SBM_NON_BLOCKING;
448448

449449
int32 r = SetBlockingMode(file, mode);
450450

0 commit comments

Comments
 (0)