currently pic_file don't support _IONBF mode
This commit is contained in:
parent
5ee9539e9b
commit
a5f478a7d5
|
@ -43,6 +43,7 @@ int
|
||||||
pic_setvbuf(pic_file *file, char *buf, int mode, size_t bufsiz)
|
pic_setvbuf(pic_file *file, char *buf, int mode, size_t bufsiz)
|
||||||
{
|
{
|
||||||
/* FIXME: free old buf */
|
/* FIXME: free old buf */
|
||||||
|
assert(mode != _IONBF); /* FIXME: support IONBF */
|
||||||
|
|
||||||
file->mode = mode;
|
file->mode = mode;
|
||||||
if (buf) {
|
if (buf) {
|
||||||
|
|
Loading…
Reference in New Issue