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

no recompacting needed when log file is empty #338

Merged
merged 1 commit into from Jun 18, 2012
Merged

no recompacting needed when log file is empty #338

merged 1 commit into from Jun 18, 2012

Conversation

syntheticpp
Copy link
Contributor

This patch prevents recompacting an empty log file.
On Windows this produces access erros.

@nico
Copy link
Collaborator

nico commented Jun 18, 2012

Thanks for looking at this!

Can you add a test to build_log_test.cc for this?

evmar added a commit that referenced this pull request Jun 18, 2012
no recompacting needed when log file is empty
@evmar evmar merged commit 0d89283 into ninja-build:master Jun 18, 2012
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.

None yet

3 participants