projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
semtimedop: add time64 syscall support, decouple 32-bit time_t
[musl]
/
src
/
internal
/
stdio_impl.h
diff --git
a/src/internal/stdio_impl.h
b/src/internal/stdio_impl.h
index
4449734
..
d7398f5
100644
(file)
--- a/
src/internal/stdio_impl.h
+++ b/
src/internal/stdio_impl.h
@@
-34,11
+34,9
@@
struct _IO_FILE {
int fd;
int pipe_pid;
long lockcount;
int fd;
int pipe_pid;
long lockcount;
- short dummy3;
- signed char mode;
- signed char lbf;
+ int mode;
volatile int lock;
volatile int lock;
-
volatile int waiters
;
+
int lbf
;
void *cookie;
off_t off;
char *getln_buf;
void *cookie;
off_t off;
char *getln_buf;
@@
-106,7
+104,8
@@
hidden void __getopt_msg(const char *, const char *, const char *, size_t);
#define putc_unlocked(c, f) \
( (((unsigned char)(c)!=(f)->lbf && (f)->wpos!=(f)->wend)) \
#define putc_unlocked(c, f) \
( (((unsigned char)(c)!=(f)->lbf && (f)->wpos!=(f)->wend)) \
- ? *(f)->wpos++ = (c) : __overflow((f),(c)) )
+ ? *(f)->wpos++ = (unsigned char)(c) \
+ : __overflow((f),(unsigned char)(c)) )
/* Caller-allocated FILE * operations */
hidden FILE *__fopen_rb_ca(const char *, FILE *, unsigned char *, size_t);
/* Caller-allocated FILE * operations */
hidden FILE *__fopen_rb_ca(const char *, FILE *, unsigned char *, size_t);