lkml.org 
[lkml]   [2005]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Re: [ANNOUNCE] git-pasky-0.3
Dear diary, on Wed, Apr 13, 2005 at 09:03:07PM CEST, I got a letter
where Russell King <rmk+lkml@arm.linux.org.uk> told me that...
> On Wed, Apr 13, 2005 at 10:35:21AM +0100, Russell King wrote:
> > I tried this today, applied my patch for BE<->LE conversions and
> > glibc-2.2 compatibility (attached, still requires cleaning though),
> > and then tried git pull. Umm, whoops.
>
> Here's an updated patch which allows me to work with a BE-based
> cache. I've just used this to grab and checkout sparse.git.
>
> Note: it also fixes my glibc-2.2 build problem with the nsec
> stat64 structures (see read-cache.c).
>
> --- cache.h
> +++ cache.h Wed Apr 13 11:23:39 2005
> @@ -14,6 +14,12 @@
> #include <openssl/sha.h>
> #include <zlib.h>
>
> +#include <netinet/in.h>
> +#define cpu_to_beuint(x) (htonl(x))
> +#define beuint_to_cpu(x) (ntohl(x))
> +#define cpu_to_beushort(x) (htons(x))
> +#define beushort_to_cpu(x) (ntohs(x))
> +
> /*
> * Basic data structures for the directory cache
> *

What do the wrapper macros gain us?

--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
98% of the time I am right. Why worry about the other 3%.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-13 21:19    [W:0.119 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site