Commit ded0b4e
committed
Get correct tags for mod having same name than a loaded mod
Ensure that a module having the same name than a loaded module from
another modulepath will not inherit the tags of this loaded module.
Split collectModuleTags procedure to have a getMatchingTagList procedure
that gets the tags applying to a module. Use this procedure in
getTagList instead of the g_tagHash structure to avoid the tags only
applying to the loaded module if we are not checking this modulefile.
Fixes #599
Signed-off-by: Xavier Delaruelle <[email protected]>1 parent d5ce06e commit ded0b4e
2 files changed
+28
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
649 | 662 | | |
650 | 663 | | |
651 | 664 | | |
652 | 665 | | |
653 | 666 | | |
654 | | - | |
655 | | - | |
| 667 | + | |
656 | 668 | | |
657 | 669 | | |
658 | 670 | | |
659 | 671 | | |
660 | | - | |
| 672 | + | |
| 673 | + | |
661 | 674 | | |
662 | 675 | | |
663 | 676 | | |
664 | 677 | | |
665 | 678 | | |
666 | 679 | | |
| 680 | + | |
667 | 681 | | |
668 | 682 | | |
669 | 683 | | |
| |||
730 | 744 | | |
731 | 745 | | |
732 | 746 | | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
733 | 755 | | |
734 | | - | |
| 756 | + | |
735 | 757 | | |
736 | 758 | | |
737 | 759 | | |
| |||
0 commit comments