[Tarantool-patches] [PATCH 1/2] fiber: set diagnostics at madvise/mprotect failure

Cyrill Gorcunov gorcunov at gmail.com
Wed Jul 29 20:04:54 MSK 2020


On Wed, Jul 29, 2020 at 07:50:41PM +0300, Ilya Kosarev wrote:
>  
>  /**
>   * Injection state
>   */
>  struct errinj {
> -	/** Name, e.g "ERRINJ_WAL_WRITE" */
> -	const char *name;
> -	/** Type, e.g. BOOL, U64, DOUBLE */
> -	enum errinj_type type;
> -	union {
> -		/** bool parameter */
> -		bool bparam;
> -		/** integer parameter */
> -		int64_t iparam;
> +    /** Name, e.g "ERRINJ_WAL_WRITE" */
> +    const char *name;
> +    /** Type, e.g. BOOL, U64, DOUBLE */
> +    enum errinj_type type;

Ilya, the whole patch is tabs/space screwed. Is is supposed to be so?


More information about the Tarantool-patches mailing list