ref: a2f7d03d4ef7f606680894693f52150a8eb1ac28
parent: 2bdd2663dbea21a0718b718965a1db75dbf2fdb4
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Jul 23 11:28:37 EDT 2014
rc: fix slow Xqdol(), avoid recursion in conclist(), estrdup(), avoid copying 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.