[PATCH] ntdll: improve character device type detection on FreeBSD and macOS

Damjan Jovanovic damjan.jov at gmail.com
Sun Nov 8 19:49:00 CST 2020


On Sun, Nov 8, 2020 at 10:11 PM Chip Davis <cdavis at codeweavers.com> wrote:

> November 8, 2020 11:41 AM, "Damjan Jovanovic" <damjan.jov at gmail.com>
> wrote:
>
> > diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c
> > index d12a3ffb119..f039c3488a6 100644
> > --- a/dlls/ntdll/unix/file.c
> > +++ b/dlls/ntdll/unix/file.c
> > @@ -6048,6 +6051,10 @@ static NTSTATUS get_device_info( int fd,
> FILE_FS_DEVICE_INFORMATION *info )
> >      if (fstat( fd, &st ) < 0) return errno_to_status( errno );
> >      if (S_ISCHR( st.st_mode ))
> >      {
> > +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
>
> Missing defined(__APPLE__) here.
>
> Chip
>

Thank you, resent.

Damjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20201109/1501909b/attachment.htm>


More information about the wine-devel mailing list