path: root/src/ctl.c
authorSergey Poznyakoff <>2019-05-23 10:08:08 (GMT)
committer Sergey Poznyakoff <>2019-05-23 10:08:08 (GMT)
commitbd19f38853dad5a89abada6ee5e7a23c65173894 (patch) (side-by-side diff)
tree57b53cdceeb69db1bb51e8df48eb4f007c6ecb97 /src/ctl.c
parent3ad426f88d274535d7e04e12add72534034ac075 (diff)
Revise dependency handling. Correctly display cyclic dependencies.
* src/comp.c (component_log_dep): Remove. (report_cyclic_dependency): New function. (comp_array_remove): New function. (component_build_depmap): Remove erroneous components both from the component table and dependency map. (components_dump_depmap): Avoid trailing whitespace in the output. * src/depmap.c (depmap_clear_all): Remove. (depmap_remove): New function. * src/pies.h (CF_REMOVE): New flag. (depmap_clear_all): Remove prototype. (depmap_remove): New prototype. * tests/ Add new test. * tests/ (trimws): New function. * tests/ New test. * tests/ Include new test.
Diffstat (limited to 'src/ctl.c') (more/less context) (ignore whitespace changes)
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.