18 Jul
2023
18 Jul
'23
10:16 a.m.
Hans Leidekker (@hans) commented about programs/klist/main.c:
+ * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#define SECURITY_WIN32 +#define UNICODE +#include <ntstatus.h> +#define WIN32_NO_STATUS +#include <windows.h> +#include <ntsecapi.h> + +#include "wine/debug.h" + +#define USAGE L"Usage: klist <tickets | tgt | purge | get [service principal name]>\n" Please make this a global constant:
static const WCHAR usage[] = L"Usage: klist <tickets | tgt | purge | get [service principal name]>\n";
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3347#note_39269