Skip to content

Commit 0e6f217

Browse files
author
Peter Kosyh
committed
PATH_MAX removed
1 parent 9d14bd7 commit 0e6f217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static const luaL_Reg tiny_funcs[] = {
8181
static int tiny_init(void)
8282
{
8383
int rc;
84-
char path[PATH_MAX];
84+
char path[1024];
8585
instead_api_register(tiny_funcs);
8686
snprintf(path, sizeof(path), "%s/tiny.lua", instead_lua_path(NULL));
8787
rc = instead_loadfile(path);

0 commit comments

Comments
 (0)