From 7d71ad2b8589bef1bdf26c3cfec5ab99b6bba3b9 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 27 May 2024 12:51:57 -0400 Subject: update last operation after flushing, reopening, or setting file position --- src/stdio/fsetpos.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stdio/fsetpos.c') diff --git a/src/stdio/fsetpos.c b/src/stdio/fsetpos.c index 40545061..c75fed41 100644 --- a/src/stdio/fsetpos.c +++ b/src/stdio/fsetpos.c @@ -10,6 +10,7 @@ int fsetpos(FILE *stream, const fpos_t *pos) (void)stream; (void)pos; /* TODO */ + stream->operation = OP_NONE; return 1; } -- cgit v1.2.1