fflush stdin in actsync
Russ Allbery
eagle at eyrie.org
Sun Apr 3 18:03:12 UTC 2016
Bo Lindbergh <2bfjdsla52kztwejndzdstsxl9athp at gmail.com> writes:
> However, this is not what the exec_cmd function in actsync.c does;
> it calls fclose(stdin) in the child process before exec-ing ctlinnd.
> I suggest deleting the fflush(stdin).
+1. Even though it arguably has defined behavior, I'm quite dubious that
actsync is actually relying on that behavior.
--
Russ Allbery (eagle at eyrie.org) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list