[PATCH] bundle2: explicitly use network byte order

Matt Mackall mpm at selenic.com
Wed Apr 2 00:07:46 UTC 2014


On Mon, 2014-03-31 at 23:54 -0700, Pierre-Yves David wrote:
> On 03/31/2014 02:24 PM, David Soria Parra wrote:
> > # HG changeset patch
> > # User David Soria Parra <davidsp at fb.com>
> > # Date 1396300921 25200
> > #      Mon Mar 31 14:22:01 2014 -0700
> > # Node ID 19fcef51b60e985d0348da592ea63c94b3f1ccce
> > # Parent  f6fe185a37954b86d57a8d02d88e255b35238b54
> > bundle2: explicitly use network byte order
> 
> meh,
> 
> The doc says:
> 
>    The form '!' is available for those poor souls who claim they can’t
>    remember whether network byte order is big-endian or little-endian.
> 
> I believe every one is able to remind that the sane network order is big 
> endian.

We currently use ">" everywhere else. I'm inclined to leave it.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial-devel mailing list