aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authoronefang2020-03-18 08:03:04 +1000
committeronefang2020-03-18 08:03:04 +1000
commitd7c319d42d6200885bf0fe61eba1489c633692ee (patch)
tree144b966b5a881719f2c3eff8b5a414dd7d46ab71 /src
parentTODO++ (diff)
downloadopensim-SC_OLD-d7c319d42d6200885bf0fe61eba1489c633692ee.zip
opensim-SC_OLD-d7c319d42d6200885bf0fe61eba1489c633692ee.tar.gz
opensim-SC_OLD-d7c319d42d6200885bf0fe61eba1489c633692ee.tar.bz2
opensim-SC_OLD-d7c319d42d6200885bf0fe61eba1489c633692ee.tar.xz
TODO++ and comment clean up.
Diffstat (limited to 'src')
-rw-r--r--src/sledjchisl/sledjchisl.c6
1 files changed, 5 insertions, 1 deletions
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) {
227 227
228 228
229// Duplicate some small amount of code from toys/pending/sh.c 229// Duplicate some small amount of code from toys/pending/sh.c
230// TODO - to be really useful I need to return the output.
230int runToy(char *argv[]) 231int runToy(char *argv[])
231{ 232{
232 int ret = 0; 233 int ret = 0;
@@ -357,6 +358,8 @@ static void newBuildPage(char *name, pageBuildFunction func, pageBuildFunction e
357 https://www.w3.org/Protocols/ 358 https://www.w3.org/Protocols/
358 Still nothing official, though the ENV / HEADER stuff tends to be about the protocol things, and cookies / body / queries are about the data things. 359 Still nothing official, though the ENV / HEADER stuff tends to be about the protocol things, and cookies / body / queries are about the data things.
359 360
361TODO - I think this is the wrong question, mostly data from different sources is for different reasons.
362
360Also including values from the database. 363Also including values from the database.
361 364
362URL query Values actually provided by the user in the FORM, and other things. 365URL 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.
4505 } 4508 }
4506 4509
4507 4510
4508// TODO - still a bitn chicken and egg here about the tmux socket and reading configs from scEtc /.sledjChisl.conf.lua 4511// TODO - still a bit chicken and egg here about the tmux socket and reading configs from scEtc /.sledjChisl.conf.lua
4509 if (!isWeb) 4512 if (!isWeb)
4510 { 4513 {
4511 I("Outputting to a terminal, not a web server."); 4514 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.
4526 { 4529 {
4527 char *d; 4530 char *d;
4528 4531
4532 // Doing this here coz at this point we should be the correct user.
4529 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); 4533 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);
4530 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); 4534 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);
4531 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); 4535 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);