[*] This command has been taken as an example, I am pretty sure you could find others.
When using the French language pack, CACLS.EXE usage() output is truncated:

Everything seems ok in C:\Windows\System32\fr-FR\CACLS.EXE.MUI resource file. Since only 3 APIs are called by usage(), guessing the one to blame is left as an exercise to the reader:
- FormatMessageW()
- WideCharToMultiByte()
- fprintf()
PS. On my home system, here is stranger behavior indeed:

No comments:
Post a Comment