From a6dc888551c14fe290ffdb39841dbd93b86d91f5 Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 3 Sep 2021 01:37:39 +1000 Subject: Remove no longer needed commented out code. --- src/sledjchisl/sledjchisl.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 633979f..4651a69 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -8463,25 +8463,10 @@ Build the OpenSim. // Set x,y to huge values, to work around an OpenSim bug. "new-session -d -x 256 -y 420 -s %s -n '%s' bash -c 'export PATH=%s:$PATH; printf \"\\033]0;SledjChisl\\007\"; " "/usr/bin/valgrind --leak-check=full %s/current/bin/sledjchisl %s %s; cd %s; bash' \\; " -// "split-window -vp 50 -d -t '%s:0.0' \\; " -// "split-window -hp 50 -d -t '%s:0.1' \\; " -// "split-window -hp 50 -d -t '%s:0.0' " - // TODO - remove this once we handle the fcgi stuff ourselves. - // Make the FCGI socket world read / write, coz we can't set it to group www-data, since -G only works for root, and we ain't root. - // TODO - BIG SECURITY HOLE??? -// "bash -c 'export PATH=%s:$PATH; printf \"\\033]0;FCGI web server\\007\"; sleep 2;" // The sleep is so that both are not creating the .shini files at the same time. -// "spawn-fcgi -n -u %s -s %s/sledjchisl.socket -M 0666 -G www-data -- /usr/bin/valgrind --leak-check=full %s/current/bin/sledjchisl %s; " -// "cd %s; bash'" , pre, Tcmd, scRun, Tsocket, scBin, Tconsole, Ttab, scBin, scRoot, modeStrings[currentMode], FLAG(v) ? "-v" : "", scRoot -// Tconsole, -// Tconsole, -// Tconsole, -// scBin, -// scUser, scRun, scRoot, FLAG(v) ? "-v" : "", -// scRoot ); else snprintf(toybuf, sizeof(toybuf), -- cgit v1.1