Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use string objects for node->path #16

Open
thiell opened this issue Mar 17, 2019 · 0 comments
Open

use string objects for node->path #16

thiell opened this issue Mar 17, 2019 · 0 comments

Comments

@thiell
Copy link
Member

thiell commented Mar 17, 2019

Currently node->path is a C string that can be free'd on rename (in update_paths()) and this is not always safe. In a multithreaded environment, we need an immutable string object with refcnt. This will likely be in v0.5.

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

No branches or pull requests

1 participant