From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: =?UTF-8?B?U2VyZ2VpIFZvcm9uZXpoc2tpaQ==?= Subject: =?UTF-8?B?UmVbMl06IFt0YXJhbnRvb2wtcGF0Y2hlc10gUmU6IFtQQVRDSCB2MiA0LzVd?= =?UTF-8?B?IHRlc3Q6IHVzZSB3YWl0X2NvbmQgdG8gY2hlY2sgZm9sbG93IHN0YXR1cw==?= MIME-Version: 1.0 Date: Thu, 01 Nov 2018 00:38:21 +0300 Reply-To: =?UTF-8?B?U2VyZ2VpIFZvcm9uZXpoc2tpaQ==?= Message-ID: <1541021901.693200535@f425.i.mail.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 In-Reply-To: <20181029104107.65r5auoll7r5zt7m@tkn_work_nb> References: <20181019161721.49560-1-sergw@tarantool.org> <1540485794.597207466@f425.i.mail.ru> <20181029104107.65r5auoll7r5zt7m@tkn_work_nb> To: =?UTF-8?B?QWxleGFuZGVyIFR1cmVua28=?= Cc: tarantool-patches@freelists.org, =?UTF-8?B?VmxhZGltaXIgRGF2eWRvdg==?= , =?UTF-8?B?R2Vvcmd5IEtpcmljaGVua28=?= List-ID: CgoKPtCf0L7QvdC10LTQtdC70YzQvdC40LosIDI5INC+0LrRgtGP0LHRgNGPIDIwMTgsIDEzOjQx ICswMzowMCDQvtGCIEFsZXhhbmRlciBUdXJlbmtvIDxhbGV4YW5kZXIudHVyZW5rb0B0YXJhbnRv b2wub3JnPjoKPgo+PiA+PiBJZiBgdGVzdF9ydW46d2FpdF9jb25kKClgIGZvdW5kIGEgbm90ICdm b2xsb3dgIHN0YXR1cyBpdCByZXR1cm5zIHRydWUuCj4+ID4+IFdoaWNoIGltbWVkaWF0ZWx5IGNh dXNlcyBhbiBlcnJvci4KPj4gPj4gCj4+ID4+IEZpeGVzICMzNzM0Cj4+ID4+IFBhcnQgb2YgIzI0 MzYsICMzMjMyCj4+ID4+IC0tLQo+PiA+PiAgdGVzdC9yZXBsaWN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