qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v5 03/16] hw/9pfs: Replace the direct call to xxxdir() APIs w


From: Bin Meng
Subject: Re: [PATCH v5 03/16] hw/9pfs: Replace the direct call to xxxdir() APIs with a wrapper
Date: Mon, 6 Mar 2023 17:35:03 +0800

On Mon, Mar 6, 2023 at 5:32 PM Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> On 20/2/23 11:08, Bin Meng wrote:
> > From: Guohuai Shi <guohuai.shi@windriver.com>
> >
> > xxxdir() APIs are not safe on Windows host. For future extension to
> > Windows, let's replace the direct call to xxxdir() APIs with a wrapper.
> >
> > Signed-off-by: Guohuai Shi <guohuai.shi@windriver.com>
> > Signed-off-by: Bin Meng <bin.meng@windriver.com>
> > ---
> >
> >   hw/9pfs/9p-util.h  | 14 ++++++++++++++
> >   hw/9pfs/9p-local.c | 12 ++++++------
> >   2 files changed, 20 insertions(+), 6 deletions(-)
>
>
> > +#define qemu_opendir    opendir_win32
> > +#define qemu_closedir   closedir_win32
> > +#define qemu_readdir    readdir_win32
> > +#define qeme_rewinddir  rewinddir_win32
>
> Typo :)
>

Ouch! Thanks Philippe :)

Regards,
Bin



reply via email to

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