set 0 to file->flags by default
This commit is contained in:
parent
94b2a68f7f
commit
73ad915fcf
|
@ -104,6 +104,7 @@ pic_funopen(void *cookie,
|
|||
if (! file) {
|
||||
return NULL;
|
||||
}
|
||||
file->flags = 0;
|
||||
/* no buffering at the beginning */
|
||||
file->buf = NULL;
|
||||
file->mode = _IONBF;
|
||||
|
|
Loading…
Reference in New Issue