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

lock build log and deps log to prevent clobbering #12

Open
fbenkstein opened this issue Sep 19, 2018 · 0 comments
Open

lock build log and deps log to prevent clobbering #12

fbenkstein opened this issue Sep 19, 2018 · 0 comments

Comments

@fbenkstein
Copy link
Owner

fbenkstein commented Sep 19, 2018

Currently, when starting ninja multiple times in the same directory the deps log and the build log can get clobbered such that ninja crashes the next time it tries to read the deps log. Build log recovery is more graceful, fortunately. Try to come up with a locking scheme that prevents writing bad data but also doesn't prevent multiple builds (if possible).

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