grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] Strip trailing slashes on PHYSICALDRIVE%d paths when mak


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH 3/3] Strip trailing slashes on PHYSICALDRIVE%d paths when making Windows CreateFile calls.
Date: Thu, 29 Sep 2011 10:40:47 +0200
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

Committed. Thanks
On 21.09.2011 22:49, Mario Limonciello wrote:
> === 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égoire Sutre <address@hidden>
>
> === 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 <windows.h>
>  #include <winioctl.h>
> +#include "dirname.h"
>  #endif
>
>  #ifdef GRUB_UTIL
> @@ -322,6 +323,7 @@
>    HANDLE hd;
>    grub_int64_t size = -1LL;
>
> +  strip_trailing_slashes(name);
>    hd = CreateFile (name, GENERIC_READ, FILE_SHARE_READ |
> FILE_SHARE_WRITE,
>                     0, OPEN_EXISTING, 0, 0);
>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]