From db616c2d5cff8477336b318d889e02112fe97f9a Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 28 May 2024 12:34:30 -0400 Subject: handle stream orientation behavior --- src/stdio/puts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stdio/puts.c') diff --git a/src/stdio/puts.c b/src/stdio/puts.c index 3392228e..ad9eaa84 100644 --- a/src/stdio/puts.c +++ b/src/stdio/puts.c @@ -8,6 +8,7 @@ int puts(const char *s) int ret = 1; SIGNAL_SAFE(0); + ASSERT_STREAM(stdout, ORIENT_BYTE, OP_OUTPUT); flockfile(stdout); -- cgit v1.2.1