[Geany-devel] Core function utils_build_path() now returns a copy for safety
nick.treleaven at xxxxx
Wed Apr 13 13:04:47 UTC 2011
As discussed recently, utils_build_path() keeping a buffer and
returning it directly was not safe as it is sometimes hard for calling
code to keep track of whether the result is still valid or not. This
could potentially cause bugs.
It now returns a copy. We will need to be careful to free the result
when applying any patches which expect the old behaviour.
More information about the Devel