summaryrefslogtreecommitdiff
path: root/src/stdio/fsetpos.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-05-27 12:51:57 -0400
committerJakob Kaivo <jkk@ung.org>2024-05-27 12:51:57 -0400
commit7d71ad2b8589bef1bdf26c3cfec5ab99b6bba3b9 (patch)
treee434cd77d18881fc33dc7212fc5b9a0083369a9c /src/stdio/fsetpos.c
parent04e5527eeca240ca81b0b95b58c50ef6a16b8030 (diff)
update last operation after flushing, reopening, or setting file position
Diffstat (limited to 'src/stdio/fsetpos.c')
-rw-r--r--src/stdio/fsetpos.c1
1 files changed, 1 insertions, 0 deletions
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;
}