mark
4f5b35bb26
refactor ex_lock/ex_unlock to a single function
19 years ago
mark
331bf6db66
fix bug in file_lock when locking whole file and appending
19 years ago
mark
5d1c269b6d
broken getenv
...
avoid initializer warnings in GCC in file_lock
19 years ago
mark
ff7e489f7b
reformatted -- use spaces instead of tabs.
19 years ago
mark
bb1d518bc8
ex_getenv() -- stupid programmer
...
use _fileno not fileno
use lua_Number not uint64_t
fix mixed code and declarations in spawn_param_args
19 years ago
mark
4bf9e1f5c2
20070110T1431-0700
20 years ago
mark
8d084e7338
Add Copyright notice
...
Clean up Makefiles
20 years ago
mark
76a98495ba
*** empty log message ***
20 years ago
mark
2a126cc65b
fold ex_unsetenv into ex_setenv
...
fold ex_rmdir into ex_remove
use windows_pusherror from Noom
updated for compatibility with Noom.
20 years ago
mark
28c916f72c
added os.remove()
20 years ago
mark
9f03209394
Finally, it works!
20 years ago
mark
7adc71403b
more general cleanup
20 years ago
mark
785c362a9f
A few changes.
20 years ago
mark
465e0c4d57
removed checkuserdata -- use 5.1 luaL_checkudata
...
fix check_file to work with a negative index (luaL_checkudata does not)
refactor spawn.c interface; use spawn_params_init instead of spawn_params_default; spawm_param_execute() creates proc
ex_pipe needs to create FILE* userdata with the __close environment table
20 years ago
mark
8d00b8c7e7
fixed bug in ex_pipe()
...
make_pipe() should produce non-inheritable descriptors/handles
added process_tostring() method
20 years ago
mark
ed9c51ca33
add wait to ex namespace
21 years ago
mark
3c9cbc3761
added check_file function to check for closed FILE*
...
use registry for associating pathname with diriter
21 years ago
mark
8e3b4ac49d
added ex. namespace
...
added __gc metamethod for diriter
21 years ago
mark
27ed0289d4
oops, forgot DIR metatable
21 years ago
mark
e77ff05092
Implemented ex_dir and ex_dirent
21 years ago
mark
be8ad39d98
ex_getenv() now supports arbitrarily-sized variables
21 years ago
mark
029c15338d
Refactor ex_pipe and make_pipe
...
Fix bug in w32api/ex.c ex_getenv when handling empty variables
21 years ago
mark
36cb453953
Moved spawn_* functions out of ex.c
21 years ago
mark
95bd5a3efc
Closer to merging ...
21 years ago
mark
2ace11ed4c
Attempt to merge implementations
21 years ago
mark
05bc6c5bf9
*** empty log message ***
21 years ago
mark
f67c6aa776
oops, stupid bug.
21 years ago
mark
807a55a3c1
*** empty log message ***
21 years ago
mark
32162cad79
Got os.spawn to work.
21 years ago
mark
82b6681ff2
Added Windows 32 API -style file locking
21 years ago
mark
99b32cb1b4
renamed w32api/osex.c to ex.c
21 years ago