From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1R9CAw-0004X2-Qx for mharc-grub-devel@gnu.org; Thu, 29 Sep 2011 04:41:02 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9CAq-0004Ud-Bd for grub-devel@gnu.org; Thu, 29 Sep 2011 04:41:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9CAm-0000Xy-Ar for grub-devel@gnu.org; Thu, 29 Sep 2011 04:40:56 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:41275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9CAm-0000Xt-6N for grub-devel@gnu.org; Thu, 29 Sep 2011 04:40:52 -0400 Received: by wwp14 with SMTP id 14so468580wwp.30 for ; Thu, 29 Sep 2011 01:40:51 -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=hcxtmDSV+OMMnlNkqMK6ccFM/cv9YteQAquIFsOwj5U=; b=NKBSSUPOus41Z2Zys6hLhhESQDA/fTDGtQCvdtKcCwdq9a4HfjrIP+CMfUUkp/wx3+ NPTW9o9ZNwIPXYRfnABPb2FUHFYW7foOHccLp/TtC7X2fiFam6PvSDx7Uc2pqC1dYn+M A0SchzqaUKex46NxUa/bR4EV1GYR3QzOSVSTk= Received: by 10.216.183.9 with SMTP id p9mr816079wem.67.1317285650029; Thu, 29 Sep 2011 01:40:50 -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 o7sm1391492wbh.8.2011.09.29.01.40.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Sep 2011 01:40:48 -0700 (PDT) Message-ID: <4E842F0F.4010403@gmail.com> Date: Thu, 29 Sep 2011 10:40:47 +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 3/3] Strip trailing slashes on PHYSICALDRIVE%d paths when making Windows CreateFile calls. References: <4E7A4DD7.9030009@dell.com> In-Reply-To: <4E7A4DD7.9030009@dell.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig82039095874244360FAB039A" 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:41:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig82039095874244360FAB039A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Committed. Thanks On 21.09.2011 22:49, Mario Limonciello wrote: > =3D=3D=3D modified file 'ChangeLog' > --- ChangeLog 2011-09-21 20:38:06 +0000 > +++ ChangeLog 2011-09-21 20:39:06 +0000 > @@ -2,6 +2,8 @@ > > * Remove extra declaration of sleep for mingw32. > * No realpath on mingw32. Instead use _fullpath. > + * Strip trailing slashes on PHYSICALDRIVE%d paths when making > + Windows CreateFile calls. > > 2011-09-17 Gr=C3=A9goire Sutre > > =3D=3D=3D modified file 'util/misc.c' > --- util/misc.c 2011-09-21 20:36:50 +0000 > +++ util/misc.c 2011-09-21 20:39:06 +0000 > @@ -55,6 +55,7 @@ > #ifdef __MINGW32__ > #include > #include > +#include "dirname.h" > #endif > > #ifdef GRUB_UTIL > @@ -322,6 +323,7 @@ > HANDLE hd; > grub_int64_t size =3D -1LL; > > + strip_trailing_slashes(name); > hd =3D CreateFile (name, GENERIC_READ, FILE_SHARE_READ | > FILE_SHARE_WRITE, > 0, OPEN_EXISTING, 0, 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 --------------enig82039095874244360FAB039A 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/ iF4EAREKAAYFAk6ELw8ACgkQNak7dOguQgm9eQD+I0yipNOJpaFPEuFJ57Rg+lSO QibChjc72gOstioMvsAA/jpeD9yV+2adrP6JvofyBN8yNwdYz6HDD9rO8DJy3TTV =nHzt -----END PGP SIGNATURE----- --------------enig82039095874244360FAB039A--