diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-25 18:31:17 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-25 18:31:17 +0000 |
commit | 3d2f1da7c8062a4932ea29a0d37a769991764cc5 (patch) | |
tree | bdb8cd767b97d1f097973627d8a683bdea153072 /command_line | |
parent | 0b23bc6179b7a8e6c8664374d7d6f66fe9c9bdcb (diff) | |
download | MWCC-3d2f1da7c8062a4932ea29a0d37a769991764cc5.tar.gz MWCC-3d2f1da7c8062a4932ea29a0d37a769991764cc5.zip |
note updates
Diffstat (limited to 'command_line')
-rw-r--r-- | command_line/CmdLine/Src/CLMain.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |