diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-02-17 06:54:19 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-02-17 06:54:19 +0100 |
commit | a55c2b2b816998618398f85f1ca7839126afbed0 (patch) | |
tree | 69e1f2acf296da899f10e128cb490dee68ac2f5d /sys/src/cmd/python/Doc/lib/sqlite3/executescript.py | |
parent | d99a4ed1b8d06a5163b1cceb8d4cfe285faa70b2 (diff) |
tlssrv: fix this mess (thanks burnzez for reporting the issue)
tlsServer() closes the passed in fd, in our case fd=1 leaving it
with no std output which got occupied by pipe() filedescriptor
which it then closed after duping... a classic.
delete all this mess. theres no reason to fork() and copy traffic
on a pipe at all as tlsServer() gives us a perfectly valid filedescriptor.
just dup() and exec() and we'r done.
Diffstat (limited to 'sys/src/cmd/python/Doc/lib/sqlite3/executescript.py')
0 files changed, 0 insertions, 0 deletions