Re: [PATCH v5 0/2] MR3473: whoami: Refactor and add more commands.
3 Aug
2023
3 Aug
'23
7:27 a.m.
Hans Leidekker (@hans) commented about programs/whoami/main.c:
+#define WIN32_LEAN_AND_MEAN #define SECURITY_WIN32 #include <windows.h> #include <security.h> +#include <sddl.h> +#include <stdarg.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(whoami);
-static int output_write(const WCHAR* str, int len) +/* Behaves like the regular wprintf, but is able to fall back to the OEMCP + * when redirected. + * Most importantly, it prints fully in Unicode by default, + * so any language characters are shown regardless of the current locale. Can you give an example where wprintf() doesn't do the right thing?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3473#note_41157
945
Age (days ago)
945
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hans Leidekker (@hans)