From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1R9CKG-0007DT-JH for mharc-grub-devel@gnu.org; Thu, 29 Sep 2011 04:50:40 -0400 Received: from eggs.gnu.org ([140.186.70.92]:49327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9CKA-0007A3-7a for grub-devel@gnu.org; Thu, 29 Sep 2011 04:50:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9CK4-0003tn-EL for grub-devel@gnu.org; Thu, 29 Sep 2011 04:50:33 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:62378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9CK3-0003sD-Jm for grub-devel@gnu.org; Thu, 29 Sep 2011 04:50:27 -0400 Received: by wwp14 with SMTP id 14so476483wwp.30 for ; Thu, 29 Sep 2011 01:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=etdKNQY05N3PwsulE8//IXW1VWdOEdsApbUeFnMky1w=; b=kHE3TwXPItgDj6DV2htPsGX7Sz1V5/juZ1+wC9KoTrv0w0WzWTHaH2jl5mLEvVVtJW g5oGJQUjt5FJPrioxr8SvI52ov1qioW2/LUMpHoBeJ76pb5WUBmIA0uXc+YSKRWnyn8Y QnWjFnsI3oXOJSDqytXCBjXPl+/vFf3ttsEH4= Received: by 10.216.54.20 with SMTP id h20mr19127wec.97.1317285731465; Thu, 29 Sep 2011 01:42:11 -0700 (PDT) Received: from debian.x201.phnet (public-docking-hg-6-254.ethz.ch. [129.132.216.254]) by mx.google.com with ESMTPS id p2sm1378872wbo.17.2011.09.29.01.42.09 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Sep 2011 01:42:10 -0700 (PDT) Message-ID: <4E842F60.1020007@gmail.com> Date: Thu, 29 Sep 2011 10:42:08 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Iceowl/1.0b2 Icedove/3.1.13 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH 2/2] Disable unsupported grub_util_get_fd_sectors in geli on MINGW32 References: <4E7A574D.5000606@dell.com> In-Reply-To: <4E7A574D.5000606@dell.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig06F8A32DD0512A9EDBB71F03" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2011 08:50:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig06F8A32DD0512A9EDBB71F03 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Rejected. Better a compilation error than an eratic behaviour on runtime.= On 21.09.2011 23:29, Mario Limonciello wrote: > =3D=3D=3D modified file 'ChangeLog' > --- ChangeLog 2011-09-21 21:00:59 +0000 > +++ ChangeLog 2011-09-21 21:18:21 +0000 > @@ -6,6 +6,8 @@ > Windows CreateFile calls. > * Undefine GRUB_UTIL in grub-core/lib/crypto.c for MINGW32 as > termios is not supported. > + * Disable unsupported grub_util_get_fd_sectors in geli on > + MINGW32. > > 2011-09-17 Gr=C3=A9goire Sutre > > > =3D=3D=3D modified file 'grub-core/disk/geli.c' > --- grub-core/disk/geli.c 2011-04-25 12:52:07 +0000 > +++ grub-core/disk/geli.c 2011-09-21 21:18:21 +0000 > @@ -189,8 +189,10 @@ > if (fd < 0) > return NULL; > > +#if !defined(__MINGW32__) > s =3D grub_util_get_fd_sectors (fd, &log_secsize); > grub_util_fd_seek (fd, dev, (s << log_secsize) - 512); > +#endif > > uuid =3D xmalloc (GRUB_MD_SHA256->mdlen * 2 + 1); > if (grub_util_fd_read (fd, (void *) &hdr, 512) < 0) > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig06F8A32DD0512A9EDBB71F03 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk6EL2AACgkQNak7dOguQgnPEwD9HUQjpvy5VwNfpniJN9ZUvD7K vxqhH7IUn+/2pfvt3uMA+gJNNwVo4b9zIdBBBmcGllMzzd2aP+mN7etMaKMLNSPZ =mED+ -----END PGP SIGNATURE----- --------------enig06F8A32DD0512A9EDBB71F03--