Re: [dev] [PATCH 1/1] remove useless dup()

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Wed, 8 Jul 2015 12:12:22 +0200

> In fact, the only thing that can be done here is:
>
> close(STDIN_FILENO);
> dup(cmdfd);
> + close(cmdfd);
> stty();
>
> because we are not going to use this file descriptor anymore,
> but I think we will not have a significant improvement.
>

Sorry, this is wrong, cmdfd is used in several other places.
Received on Wed Jul 08 2015 - 12:12:22 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 08 2015 - 12:24:08 CEST