Lorenzo Cogotti
e67135cbab
[osx] Minor style fix.
2022-12-13 11:34:07 +01:00
Lorenzo Cogotti
9f4c8b7a98
[osx] Avoid using _fseeki64_nolock(), does not buy much and not very compatible.
2022-12-12 19:54:38 +01:00
Lorenzo Cogotti
89751336d2
[osx] Properly handle 0 length on Windows implementation of flocking().
2022-12-12 19:46:30 +01:00
Lorenzo Cogotti
0e3125e59c
[osx] sys_posix_fadvise()->fadvise().
2022-12-12 15:58:36 +01:00
Lorenzo Cogotti
1cc6bb3a90
[osx] Improve os_getcwd() on Lua>=52.
2022-12-12 15:57:54 +01:00
Lorenzo Cogotti
abb3d56a45
[luacompat] luaL_pushfail() was actually introduced with Lua 5.3.
2022-12-12 15:47:34 +01:00
Lorenzo Cogotti
0f893a4682
[osx.c] Add directory __tostring() metamethod.
2022-12-12 12:35:48 +01:00
Lorenzo Cogotti
672f94e73d
[osx.c] Add file range locking functionality.
2022-12-12 12:35:24 +01:00
Lorenzo Cogotti
31bc1077c1
[osx.c] Rework directory iteration.
...
- add opendir() to open a directory and return it.
- add directory listfiles() method, returning all remaining entries as
an array
- rework directory iteration
2022-12-12 00:42:36 +01:00
Lorenzo Cogotti
86904f62c0
[rockspec] Add LuaRocks rock file.
2022-12-11 19:38:35 +01:00
Lorenzo Cogotti
7c36f77dfa
[*] First commit.
2022-12-11 18:58:11 +01:00
Lorenzo Cogotti
d0d88a62a1
[.gitignore] Add .gitignore file.
2022-12-11 18:35:17 +01:00
Lorenzo Cogotti
8d3e099abc
[LICENSE] Improve formatting
2022-12-11 18:33:47 +01:00
Lorenzo Cogotti
56202b4e18
Initial commit
2022-12-10 17:44:03 +01:00