| 295 | /* ------------------------------------------------------------------------ */ |
| 296 | |
| 297 | static int readable(const char *filename) |
| 298 | { |
| 299 | FILE *f = fopen(filename, "r"); /* try to open file */ |
| 300 | if (f == NULL) return 0; /* open failed */ |
| 301 | fclose(f); |
| 302 | return 1; |
| 303 | } |
| 304 | |
| 305 | static const char *pushnexttemplate(lua_State *L, const char *path) |
| 306 | { |
no test coverage detected