From 3d2f1da7c8062a4932ea29a0d37a769991764cc5 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 25 Jan 2023 18:31:17 +0000 Subject: note updates --- command_line/CmdLine/Src/CLMain.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'command_line/CmdLine') diff --git a/command_line/CmdLine/Src/CLMain.c b/command_line/CmdLine/Src/CLMain.c index ef55b55..57df9fb 100644 --- a/command_line/CmdLine/Src/CLMain.c +++ b/command_line/CmdLine/Src/CLMain.c @@ -153,6 +153,8 @@ static Boolean special_stdout_base(Boolean pre, char *) { } } +// TODO: special function goes here for license file + struct SpecialOption { const char *optname; char **argp; @@ -239,6 +241,8 @@ int Main_Initialize(int argc, char **argv) { Main_PreParse(&argc, &argv); clState.argc = argc; clState.argv = argv; + + // TODO: this changes on windows strcpyn(exename, argv[0], strlen(argv[0]), 256); exename[255] = 0; -- cgit v1.2.3