-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
EnableLogCleaner doesn't work #786
Comments
Could you please provide a minimal example that shows the problem? |
Lines 62 to 66 in b0174b3
Line 1359 in b0174b3
On Unix systems, Lines 672 to 726 in b0174b3
According to documentation, Windows version of mbstowcs_s function (called by dirent_mbstowcs_s function) supposedly uses current locale.
@ml232528: Do you use Windows?
|
If that I do not use Windows, so here is untested patch:
|
It is recommended to replace mbstowcs with multibytetowidechar and use the flag CP_ ACP,Example:
|
Maybe you could create pull-request for glog? |
glog v0.5.0
EnableLogCleaner doesn't work because opendir only supports English paths.
Need to call setlocale (lc_all, ""); Can be used correctly。
The text was updated successfully, but these errors were encountered: