From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 20 Dec 2020 11:11:45 +0300 From: "Dmitry V. Levin" To: devel@lists.altlinux.org Message-ID: <20201220081144.GA23934@altlinux.org> References: <20201219224347.230119-1-alexey.tourbin@gmail.com> <20201220003850.GA19293@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [devel] [PATCH] pack.c: downgrade XZ->LZMA automatically for small payloads X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2020 08:11:45 -0000 Archived-At: List-Archive: List-Post: On Sun, Dec 20, 2020 at 03:49:42AM +0300, Alexey Tourbin wrote: > On Sun, Dec 20, 2020 at 3:38 AM Dmitry V. Levin wrote: > > > + if (!(*p == '.' && (p[1] != 'l' || p[1] == 'x') && p[2] == 'z')) > > > > Did you mean p[1] == 'l' here? > > Yes, thanks for spotting. Applied with this amendment, thanks! -- ldv