Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] Detect endianness on more platforms that don't use BYTE_ORDER

From: Charles Bailey <hidden>
Date: 2016-06-15 23:00:58

On Fri, May 02, 2014 at 09:48:58AM -0700, Junio C Hamano wrote:
Charles Bailey [off-list ref] writes:
quoted
---
Please sign-off your patches ;-)
Oops! Please consider this patch...

Signed-off-by: Charles Bailey <redacted>
This swaps the precedence of BYTE_ORDER and __BYTE_ORDER from the
original, which we may not want to.  It is easy for me to swap the
order of if/elif to restore it, so it is not a big deal, though.
I think I swapped the precedence (semi-deliberately) because I found a
proposal to standardize the BYTE_ORDER variant. I claim that any
platform which provides both but with differing senses is somewhat
broken so I cannot see the precedence mattering much. I don't mind
either way.

Charles.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help