Commit Graph

2 Commits (21f9b39f060006fe769034ac2bb9b71d0a910f80)

Author SHA1 Message Date
nicm 268f2b047a Do not check if client is dead if it is NULL. 2019-12-12 11:51:32 +00:00
nicm c284ebe0ad Rewrite the code for reading and writing files. Now, if the client is
not attached, the server process asks it to open the file, similar to
how works for stdin, stdout, stderr. This makes special files like
/dev/fd/X work (used by some shells). stdin, stdout and stderr and
control mode are now just special cases of the same mechanism. This will
also make it easier to use for other commands that read files such as
source-file.
2019-12-12 11:39:56 +00:00