From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Benc Subject: Re: [PATCH] gnu: Add most debian patches to nvi. Date: Thu, 22 Jan 2015 17:45:06 +0100 Message-ID: <54C12912.3050505@gmail.com> References: <54BFBAED.3090502@gmail.com> <54BFBB39.5030200@gmail.com> <873874w508.fsf@gnu.org> <54BFC4FF.5030006@gmail.com> <87r3umby1w.fsf@gnu.org> <54C127C3.9070705@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEKsT-0000tq-JZ for guix-devel@gnu.org; Thu, 22 Jan 2015 11:45:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEKsQ-000738-Ez for guix-devel@gnu.org; Thu, 22 Jan 2015 11:45:05 -0500 In-Reply-To: <54C127C3.9070705@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Cc: guix-devel@gnu.org On 01/22/2015 05:39 PM, Marek Benc wrote: > psize = ((sb.st_size / 15) + 1023) / 1024; > if (psize >= 8) psize=8<<10; > else if (psize >= 4) psize=4<<10; > else if (psize >= 2) psize=2<<10; > else psize=1<<10; > psize *= 1024; Oops, ignore the last line, it's a typo on my end and not a problem of the patch (the patch removes it).