| 12195 | |
| 12196 | |
| 12197 | static int test_eof (lua_State *L, FILE *f) { |
| 12198 | int c = getc(f); |
| 12199 | ungetc(c, f); |
| 12200 | lua_pushlstring(L, NULL, 0); |
| 12201 | return (c != EOF); |
| 12202 | } |
| 12203 | |
| 12204 | |
| 12205 | static int read_line (lua_State *L, FILE *f) { |
no test coverage detected