[CinCV TNG] [PATCH] Fix implementation of is_root_dir()

Einar R√ľnkaru einarrunkaru at gmail.com
Sat Jul 22 19:11:58 CEST 2017

On 07/22/2017 02:38 PM, Johannes Sixt wrote:
> The function should check whether argument passed in is the root directory,
> but it actually does not look at the parameter at all, but only checks the
> member current_dir. Fix this to actually check the parameter. This does not
> change the behavior because the function is called only twice and both
> callers pass current_dir as argument anyway.
> Since the function does not depend on member values anymore, make it
> static. And while we are here, accept constant strings, too.
> Patch attached.

Applied, thanks.


More information about the Cinelerra mailing list