Skip to content

Conversation

@danmar
Copy link
Owner

@danmar danmar commented Dec 8, 2024

No description provided.

@danmar
Copy link
Owner Author

danmar commented Dec 8, 2024

This is not tested. I am not sure how we can test it effectively and elegantly.

@firewave
Copy link
Collaborator

firewave commented Dec 8, 2024

This is not tested. I am not sure how we can test it effectively and elegantly.

#6696 will do that. After all it exposed the issue.

danmar and others added 2 commits December 8, 2024 18:21
… Processing a single ctu-info file does not require a filelist
Co-authored-by: Oliver Stöneberg <firewave@users.noreply.github.com>
@danmar
Copy link
Owner Author

danmar commented Dec 8, 2024

#6696 will do that. After all it exposed the issue.

Thanks I agree.

@firewave
Copy link
Collaborator

firewave commented Dec 8, 2024

A much cleaner solution would be to pipe that data into the process and read it from stdin. That would eliminate the usage of the temporary file and any possibility of a race condition.

@danmar
Copy link
Owner Author

danmar commented Dec 8, 2024

A much cleaner solution would be to pipe that data into the process and read it from stdin. That would eliminate the usage of the temporary file and any possibility of a race condition.

yes 👍

@danmar danmar merged commit e7a2e43 into danmar:main Dec 8, 2024
60 checks passed
@danmar
Copy link
Owner Author

danmar commented Dec 8, 2024

I created ticket https://trac.cppcheck.net/ticket/13404 to update the interface.

@danmar danmar deleted the fix-13401 branch December 9, 2024 09:39
danmar added a commit that referenced this pull request Dec 10, 2024
…r each process) (#7082)

Co-authored-by: Oliver Stöneberg <firewave@users.noreply.github.com>
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.

2 participants