Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-15 | rc: remove pointless Memcpy(),Malloc(),Realloc() and efree() wrappers | cinap_lenrek | |
2016-05-15 | rc: fix inband globbing bugs, cleanup | cinap_lenrek | |
add glob information to the word structure so we wont accidently deglob quoted strings containing the GLOB. we store Globsize(word) in in word->glob which avoids recalculating that values and the check if a word should be globbed quick. globlist() now substitutes the word inplace avoiding the copying when all words are literals and avoids recursion. minor cleanups: use list2str() in execeval(), move octal() to unix.c, remove the (char*) casts to efree(). | |||
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. | |||
2013-04-24 | make all the commands agnostic about Rune width. (from sources) | 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 | |