diff options
author | bptato <nincsnevem662@gmail.com> | 2025-03-14 18:11:25 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2025-03-14 18:15:10 +0100 |
commit | 42a61c98034cef298303effab0fe0a531fdc68c4 (patch) | |
tree | 7b791e14f2c18115fac20731c7c277397ca1efaf /src/local | |
parent | 4a79d029f5753bbbdd28b735327cdabd724c356d (diff) | |
download | chawan-42a61c98034cef298303effab0fe0a531fdc68c4.tar.gz |
loader, forkserver: launch CGI processes from fork server
Well, it's not much prettier... but it will be useful for keep-alive. (Hopefully.) Also, loader could now be locked down capsicum/pledge/seccomp, but I'm not sure if there's a point. The biggest potential threat it faces is cross-contamination of handles, and no amount of syscall filtering is going to protect against that.
Diffstat (limited to 'src/local')
-rw-r--r-- | src/local/pager.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim index 737a13ac..f2d820a5 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -967,7 +967,7 @@ proc drawBufferAdvance(s: openArray[char]; bgcolor: CellColor; oi, ox: var int; ox = x return move(ls) -proc drawBuffer*(pager: Pager; container: Container; ofile: File): bool = +proc drawBuffer(pager: Pager; container: Container; ofile: File): bool = var format = Format() let res = container.readLines(proc(line: SimpleFlexibleLine) = var x = 0 |