We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3cd9f33 + 81482a6 commit 703b8b2Copy full SHA for 703b8b2
1 file changed
shared-module/os/getenv.c
@@ -72,7 +72,7 @@ STATIC void close_file(file_arg *active_file) {
72
// nothing
73
}
74
STATIC bool is_eof(file_arg *active_file) {
75
- return f_eof(active_file);
+ return f_eof(active_file) || f_error(active_file);
76
77
78
// Return 0 if there is no next character (EOF).
0 commit comments