]> Kevux Git Server - fll/commit
Update: recursive functions, fix 'const const', don't error on max recurse depth.
authorKevin Day <thekevinday@gmail.com>
Tue, 8 Sep 2020 02:33:51 +0000 (21:33 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 8 Sep 2020 02:36:57 +0000 (21:36 -0500)
commitbbfb3dfa8cf1811ad27750a6cd156d84fee364c7
tree3d056700670eadda4af4fb4bdf49bffe2b5ebcad
parent063543feaa0c40dbeeaed9fbaf4ad05651468483
Update: recursive functions, fix 'const const', don't error on max recurse depth.

Rewrite the fl_directory_* recursive functions, simplifying their design.
Add a max recursion depth.
I have a toleration limit on the number of arguments in a function and this just reached a limit.
Given that many of the parameters can be logically grouped and are also are also passed to other functions, implement a new structure.
While this simply changes where the complexity/problems happen, this does alleviate the number of arguments concerns.

Fix an accidental 'const const' declaration.

Don't error on max recurse depth.
This should just stop recursing for that directory and not generated an error.
level_0/f_utf/c/utf.c
level_1/fl_directory/c/directory.c
level_1/fl_directory/c/directory.h
level_1/fl_directory/c/private-directory.c
level_1/fl_directory/c/private-directory.h
level_2/fll_file/c/file.h
level_2/fll_file/c/private-file.c
level_3/fake/c/private-build.c