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

fix windows cmd line #108

Merged
merged 1 commit into from
Sep 5, 2018
Merged

Conversation

fireice-uk
Copy link
Member

Using std::string in this context produced a bug where small string optimisations kicked in. Since this is C-style API, I opted for C-style method of a single combined-string buffer instead.

The buffer is not deleted at all. The only safe place where we can do it is just before the program close. And once my professor compared that kind of thing to cleaning up your bedroom just before a wrecking ball drives through your house.

@psychocrypt psychocrypt added this to the 0.4.0.0/0.3.X.X milestone Sep 4, 2018
@psychocrypt psychocrypt added the bug Something isn't working label Sep 4, 2018
@psychocrypt psychocrypt self-assigned this Sep 4, 2018
@psychocrypt psychocrypt merged commit 97a6cfa into ryo-currency:dev Sep 5, 2018
@psychocrypt psychocrypt mentioned this pull request Sep 8, 2018
@fireice-uk fireice-uk deleted the topic-fix-win-cmd branch November 8, 2018 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants