From owner-svn-src-head@freebsd.org Sun Jul 8 23:23:38 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 481E91042E09 for ; Sun, 8 Jul 2018 23:23:38 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from sonic315-14.consmr.mail.bf2.yahoo.com (sonic315-14.consmr.mail.bf2.yahoo.com [74.6.134.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0B407297F for ; Sun, 8 Jul 2018 23:23:37 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1531092216; bh=M8mBr9w924MVOEs2+D3nwmv7T3lrJbpEZ7ryjCIG14E=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=JBJKe/edlVR/YsVNoOyIddciCrz5GXs4afqD6eGqyPD5l4+yqUsFZvCOzvFX4S2t5Kt+gsMchfMC0sMiBSE0qzg+GJN5FIKzWSZlL0OgxNNex/cEVhQQy5+PrPyUuL08pTaoP8UE+qvSgSdtEntBhUJM+gSTbltGbJd9t67Svk2ukWXr8X8wEeWSGqobNVL+QHbJUzCSzkkkEmH766xMVoZmgTN/TiTLmTtgnfYJXJk8p5lsgISSsnVSrYWNW/rHT0AlcndxpD+Kiy5LDsnWEOvrwWBPeHC9Udym09T2StoHQGZQjq2LZmhcA4SjgL14y4CVaBzzUm1kzrtx6MdpeA== X-YMail-OSG: XT8tF9MVM1l9a4DiQxoxembXb7KANj4HSWrtz1M.0DOw91krEc9AgPkXyKJWeQq TU8p1UYb7flRD0Lc7J658gFr9zEfbRmu3YFAUCbPCiredwx2B6pK13PuyMr0hJBWz9LFR5jaif6w lOtmhulaGxwuYzDne43GOh3KDsGeg8KhiJWfzG47TJ4kJLkFVE1FNaY70kkI5dNyzT8J0jQwNtwy x8V4v3lep9aHO.QxGoL8OIBpWyc2chpaWwxtIhFll8hnUSf3ocIeJJnLIgVw2TK1Zn445Of032zg Mbyj6AthnDzYZIaPIxjfBN98ljMJvL9.poOdgsj3irAxeHXsfaHCnB_9cXVTPyxW.8D9lC2N0vUq x5vvnUO5M6V5DYuHSrLhVUP13DnJluSIGIgyfXZsF67WR9dNTbhh2N0w7XrAJ8lZlEKVNn7J5vXw kZ0IfVFgzMdOxmeM49G43.ssMQSt1Ii13G.5JafBEf3ayqSnTQ3GPE0jhzENEkSu_HICN1IiUDnJ Ezw3cIKkCOvgynvwTWtoHrRNxAHnZL7_0bH2IVCv5n.QCyjuq5pzz0_w2tTclGspYfYU1GWBFCjB eQhlEvzQG2kHmU_LO7g2fJbatBR4BYmA4rwdnjQaW7X.wNFfulcyuesZeGrPEO1BAmXdtkCuHpGq 2qI_5e.Bh7bv.lGeCIE.uSL4ye_EOMLT_J2Da0YyyBz0mJtLOEgJMyqtYo_Ltu3C7E80EyMdN3ct 7DYA2EmJTqi4SOu1IHz6L7A2P10_auWoCuTr4QTGE4PEa_POpS5dEuTAodp.KPXByEhbSuipdlEW sqshOvb4EhaFUQKSY6zS_H29tLvUhCtabhKRT_PJdU57fUlOIJ71B8wK5CAreZMUHfPXVlV5TFKx .5NjttjNzHb0zkHr1Qip8nt5gTed799eCbU6XpxNjhYlkKIweGSlCiefbZkbzDUJaItPmCV8Ae9u c8jHj.vNpzx7GU2xrDNH9P7rMINrngxXeoG7qGUjr Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Sun, 8 Jul 2018 23:23:36 +0000 Received: from 181.52.72.201 (EHLO [192.168.0.5]) ([181.52.72.201]) by smtp419.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID b5105601ce084b92c36cfe54a01300ee; Sun, 08 Jul 2018 23:23:31 +0000 (UTC) Subject: Re: svn commit: r336113 - head/usr.bin/gzip To: Poul-Henning Kamp Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201807082239.w68MdXwD053621@repo.freebsd.org> <38039.1531089914@critter.freebsd.dk> From: Pedro Giffuni Message-ID: Date: Sun, 8 Jul 2018 18:23:32 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <38039.1531089914@critter.freebsd.dk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2018 23:23:38 -0000 On 07/08/18 17:45, Poul-Henning Kamp wrote: > -------- > In message <201807082239.w68MdXwD053621@repo.freebsd.org>, "Pedro F. Giffuni" writes: > >> New version: >> >> usize = buf[4]; >> usize |= (unsigned int)buf[5] << 8; >> usize |= (unsigned int)buf[6] << 16; >> usize |= (unsigned int)buf[7] << 24; > Why not use the functions in endian.h ? > Hmm. .. I am just syncing with NetBSD, where this originated from :-/. But good point. Pedro.