> It seems that subst(str, oldstr,newstr), as defined in lstring.C, does
> not modify str, but returns the modified version instead. However, a
> quick grep shows that the code relies on a different behaviour:
> So who is right? Should we change the code or the subst() functions?
Since subst is our own creation, we can decide which is right.
Personally, I prefer to make it a proper function without side-effects
(and thus only two parameters), but since it's easier to just change the
subst function, I would let you decide since you probably will do the
work ;-)
Greets,
Asger