Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2013-08-20 | rc: flush environment variables (update /env) before fork | cinap_lenrek | |
on races... normal forks will all share the /env environment but not the in memory variables of rc. so when we would normally fork whoever does an exec (flush) first will override what the values of the /env variables are, *independent* of the variables that where actually modified *in* the process. when we flush *before* fork, then at least both processes start out with marked clean in memory variables and the processes will flush only the things they actually change. | |||
2013-04-24 | make all the commands agnostic about Rune width. (from sources) | cinap_lenrek | |
2012-02-08 | rc: remove silly efree check | cinap_lenrek | |
2012-02-08 | rc: change plan9 envname limit to 128, cleanup | cinap_lenrek | |
2011-04-04 | erik's patches to lift 8192 byte word size restriction | stanley lieber | |
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 | |