Skip to content

#5336 Need -include loop detection - #5391

Merged
pkriens merged 5 commits into
masterfrom
issue/5336
Oct 7, 2022
Merged

pkriens merged 5 commits into
masterfrom
issue/5336

Conversation

@pkriens

@pkriens pkriens commented Oct 6, 2022

Copy link
Copy Markdown
Member

The problem was that there was no test cases. There
actually was a loop detection. I already was incredibly
surprised because I am pretty sure I wrote this code
and forgetting to check cycles is even beneath me.However,
I'd forgotten to add a return after the error message ...

So the code continued forever to include the same
file anyway although dutifully reporting it.

Fixes #5336

Signed-off-by: Peter Kriens [email protected]

The problem was that there was no test cases. There
actually was a loop detection. I already was incredibly
surprised because I am pretty sure I wrote this code
and forgetting to check cycles is even beneath me.However,
I'd forgotten to add a return after the error message ...

So the code continued forever to include the same
file anyway although dutifully reporting it.

Fixes #5336

Signed-off-by: Peter Kriens <[email protected]>
---
 Signed-off-by: Peter Kriens <[email protected]>

Signed-off-by: Peter Kriens <[email protected]>
---
 Signed-off-by: Peter Kriens <[email protected]>

Signed-off-by: Peter Kriens <[email protected]>
Signed-off-by: Peter Kriens <[email protected]>
@pkriens

pkriens commented Oct 7, 2022

Copy link
Copy Markdown
Member Author

Slight apology for blamed windows for my own stupidity. Pushed to my fork instead of origin while trying to be a nice git citizen. No good deed goes unpunished :-(

@pkriens
pkriens merged commit 1a3ae8b into master Oct 7, 2022
@pkriens
pkriens deleted the issue/5336 branch October 7, 2022 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bndtools] Need -include loop detection

1 participant