From: Jan-Benedict Glaw Subject: Re: [RFH] Partition table recovery Date: Mon, 23 Jul 2007 15:15:23 +0200 Message-ID: <20070723131523.GR22998@lug-owl.de> References: <200707200813.03553.a1426z@gawab.com> <46A24846.7050803@gmail.com> <20070722011141.GJ26752@thunk.org> <200707220710.31402.a1426z@gawab.com> <20070722162802.GA20174@thunk.org> <46A46399.5090406@gmail.com> <20070723084146.GP22998@lug-owl.de> <46A488EB.2050305@gmail.com> <46A4A16F.7070100@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nccO0ldXW0cuDU6a" Return-path: Content-Disposition: inline In-Reply-To: <46A4A16F.7070100@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org To: Rene Herman Cc: Theodore Tso , linux-fsdevel@vger.kernel.org, Al Boldi , linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-raid.ids --nccO0ldXW0cuDU6a Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 2007-07-23 14:39:11 +0200, Rene Herman wrot= e: > On 07/23/2007 12:54 PM, Rene Herman wrote: >=20 > > static inline uint32_t le_32(uint32_t n) > > { > > #ifdef __LITTLE_ENDIAN > > return n; > > #else > > return bswap_32(n); > > #endif > > } >=20 > #if __BYTE_ORDER =3D=3D __LITTLE_ENDIAN, that is. sigh. Don't forget PDP11 byteorder :-) MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481 Signature of: Wenn ich wach bin, tr=C3=A4ume ic= h. the second : --nccO0ldXW0cuDU6a Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGpKnrHb1edYOZ4bsRAhiyAJ9yABd8QmWsaVNdRgjNRZ9eXyAW7ACfRKly e9sG4KCUrlE0DwThVrMxZZ0= =FWJq -----END PGP SIGNATURE----- --nccO0ldXW0cuDU6a--