fflush stdin in actsync
Julien ÉLIE
julien at trigofacile.com
Mon Apr 4 20:59:23 UTC 2016
Hi all,
>> 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.
Thanks for your comments. That line is now removed.
P.-S.: We've just reached the 10,000th commit in Subversion!
--
Julien ÉLIE
« The hardest thing is to go to sleep at night, when there are so many
urgent things needing to be done. A huge gap exists between what we
know is possible with today's machines and what we have so far been
able to finish. » (Donald Knuth)
More information about the inn-workers
mailing list