mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
parent
5e069a64d4
commit
d932948fb4
954 changed files with 1095 additions and 1342 deletions
|
@ -42,7 +42,7 @@ FILE *fdopen(int fd, const char *mode) {
|
|||
f->size = BUFSIZ;
|
||||
if ((f->buf = valloc(f->size))) {
|
||||
if ((f->iomode & O_ACCMODE) != O_RDONLY) {
|
||||
_fflushregister(f);
|
||||
__fflush_register(f);
|
||||
}
|
||||
return f;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue