Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-15 | rc: remove pointless Memcpy(),Malloc(),Realloc() and efree() wrappers | cinap_lenrek | |
2016-02-22 | rc: terminate rc when exec fails, cleanup | cinap_lenrek | |
The execexec() function should never return, as it irreversably changes the filedescriptor table for the new program. This means rc's internal filedesciptors for reading the script get implicitely closed and we cannot continue the rc interpreter when Execute() fails. So Execute() now sets the error status, and execexec() runs Xexit() in case Execute() returns. | |||
2014-07-23 | rc: fix slow Xqdol(), avoid recursion in conclist(), estrdup(), avoid copying | cinap_lenrek | |
Xqdol() used to take quadratic time because of strcat(), the code isnt really needed as list2str() aready does the same thing in linear time without the strcat(). add estrdup() which uses emalloc() so allocation error are catched. move strdups() of name from callers into newvar(). avoid recursion of conclist(), and avoid copying of word strings by providing Newword() function which doesnt copy the word string. | |||
2012-02-08 | rc: change plan9 envname limit to 128, cleanup | cinap_lenrek | |
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |