From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 46FF329283 for ; Tue, 27 Aug 2019 09:34:35 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fk09GGFF8Os4 for ; Tue, 27 Aug 2019 09:34:35 -0400 (EDT) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id C2283289DE for ; Tue, 27 Aug 2019 09:34:34 -0400 (EDT) From: Nikita Pettik Subject: [tarantool-patches] [PATCH 1/8] port: increase padding of struct port Date: Tue, 27 Aug 2019 16:34:22 +0300 Message-Id: <7e354aa295b6dbac92baa4ec5f4bc39f4f4d0053.1566907520.git.korablev@tarantool.org> In-Reply-To: References: In-Reply-To: References: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org, kostja@tarantool.org, alexander.turenko@tarantool.org, Nikita Pettik We are going to extend context of struct port_sql. One already inherits struct port_tuple, which makes it size barely fits into 48 bytes of padding of basic structure (struct port). Hence, let's increase padding a bit to be able to add at least one more member to struct port_sql. --- src/lib/core/port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/port.h b/src/lib/core/port.h index 09a026df5..abe21aa53 100644 --- a/src/lib/core/port.h +++ b/src/lib/core/port.h @@ -113,7 +113,7 @@ struct port { * Implementation dependent content. Needed to declare * an abstract port instance on stack. */ - char pad[48]; + char pad[52]; }; /** Is not inlined just to be exported. */ -- 2.15.1