53 Commits (8a083102cccea206e1a51c8d8333a7865d0e3962)
 

Author SHA1 Message Date
Mark Edgar 8a083102cc Fixed several off-by-one stack-manipulation errors
make_vector() should not call error() if arg0 is missing
spawn_param_env() needs to set envp
19 years ago
mark 0925ba938e *** empty log message *** 19 years ago
mark 4f5b35bb26 refactor ex_lock/ex_unlock to a single function 19 years ago
mark 7f295f8d22 *** empty log message *** 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 59668ba6c9 *** empty log message *** 20 years ago
mark c06839b505 *** empty log message *** 20 years ago
mark 76a98495ba *** empty log message *** 20 years ago
mark d0e584b79f use new_dirent() macro
replace settable with setfield where appropriate
20 years ago
mark 448e046364 portability concerns 20 years ago
mark 2843236d3f remove unsetenv()
dir() elides "." and ".." entries
ex_dir() internally uses DIR** instead of struct diriter
refactor implementation of ex_pipe()
pass fd instead of FILE* to spawn_param_redirect()
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 39bd1d304a removed extraneous build options 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 ecb5e17609 Renamed this silly blighters. 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 0abc74ed14 *** empty log message *** 21 years ago
mark d16e151b56 *** empty log message *** 21 years ago
mark f67c6aa776 oops, stupid bug. 21 years ago
mark 6a20bb8e99 *** empty log message *** 21 years ago
mark 807a55a3c1 *** empty log message *** 21 years ago
mark 1f58b6c6c2 *** empty log message *** 21 years ago
mark a31cde3b22 *** 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
mark ed861c5bc1 *** empty log message *** 21 years ago
mark 0bb5051ee5 *** empty log message *** 21 years ago
mark 6d26939d9d *** empty log message *** 21 years ago
mark aaef3303e0 *** empty log message *** 21 years ago