Skip to content

Conversation

Predelnik
Copy link
Owner

Fixes #363

@xomx
Copy link
Contributor

xomx commented Jun 27, 2025

I still think that you shouldn't left there a code using blindly a file handle without checking if the system call succeeded.
Maybe now it's ok for that R/O-case, but the _wfopen can fail also for other (not so obvious) reasons.

auto fp = _wfopen(dictionary_path, L"a");
fprintf(fp, "%s\n", word);
fclose(fp);

@Predelnik
Copy link
Owner Author

Ok, thanks, I will add this check as well.

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.

[BUG] DSpellcheck crash
2 participants