From d7c319d42d6200885bf0fe61eba1489c633692ee Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 18 Mar 2020 08:03:04 +1000 Subject: TODO++ and comment clean up. --- src/sledjchisl/sledjchisl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 78deaca..1f60673 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -227,6 +227,7 @@ size_t qB64_decode(char *str) { // Duplicate some small amount of code from toys/pending/sh.c +// TODO - to be really useful I need to return the output. int runToy(char *argv[]) { int ret = 0; @@ -357,6 +358,8 @@ static void newBuildPage(char *name, pageBuildFunction func, pageBuildFunction e https://www.w3.org/Protocols/ Still nothing official, though the ENV / HEADER stuff tends to be about the protocol things, and cookies / body / queries are about the data things. +TODO - I think this is the wrong question, mostly data from different sources is for different reasons. + Also including values from the database. URL query Values actually provided by the user in the FORM, and other things. @@ -4505,7 +4508,7 @@ jit library is loaded or the JIT compiler will not be activated. } -// TODO - still a bitn chicken and egg here about the tmux socket and reading configs from scEtc /.sledjChisl.conf.lua +// TODO - still a bit chicken and egg here about the tmux socket and reading configs from scEtc /.sledjChisl.conf.lua if (!isWeb) { I("Outputting to a terminal, not a web server."); @@ -4526,6 +4529,7 @@ jit library is loaded or the JIT compiler will not be activated. { char *d; + // Doing this here coz at this point we should be the correct user. if ((! qfile_exist(scBin)) && (! qfile_mkdir(scBin, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP, true))) C("Unable to create path %s", scBin); if ((! qfile_exist(scEtc)) && (! qfile_mkdir(scEtc, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP, true))) C("Unable to create path %s", scEtc); if ((! qfile_exist(scLib)) && (! qfile_mkdir(scLib, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP, true))) C("Unable to create path %s", scLib); -- cgit v1.1