Browse Source

Some code cleanup and added .config folder to gitignore

os4-1.16.12-pr255
George Sokianos 5 months ago
parent
commit
4499f1f111
  1. 1
      .gitignore
  2. 1
      src/api/system.c

1
.gitignore vendored

@ -8,3 +8,4 @@ subprojects/lua
subprojects/libagg
sybprojects/lua
lite
.config/

1
src/api/system.c

@ -434,7 +434,6 @@ static int f_list_dir(lua_State *L) {
static int f_absolute_path(lua_State *L) {
const char *path = luaL_checkstring(L, 1);
char *res = realpath(path, NULL);
//printf("DBG: f_absolute_path() %s\n", res);
if (!res) { return 0; }
lua_pushstring(L, res);
free(res);

Loading…
Cancel
Save