> On May 30, 2020 5:47 PM Bruno Haible wrote:
>
>
> Steve Lhomme wrote:
> > > > You can see one of the last commit is adding
> > > > GetFileInformationByHandle() for example. But that means anyone
> > > > building with an older version of winstorecompat cannot rely on this
> > > > helper.
>
Steve Lhomme wrote:
> > > You can see one of the last commit is adding GetFileInformationByHandle()
> > > for example. But that means anyone building with an older version of
> > > winstorecompat cannot rely on this helper.
> >
> > That's not a good enough reason for adding this code to gnulib.
> On May 30, 2020 4:35 PM Bruno Haible wrote:
>
>
> Steve Lhomme wrote:
> > > So, it makes sense to put your code into a separate library, that
> > > implements
> > > Windows API on top of UWP API. Gnulib focuses (partially) on providing the
> > > POSIX and glibc API on top of the Windows API.
Steve Lhomme wrote:
> > So, it makes sense to put your code into a separate library, that implements
> > Windows API on top of UWP API. Gnulib focuses (partially) on providing the
> > POSIX and glibc API on top of the Windows API.
>
> That's the case in mingw-w64 which has winstorecompat to mimick
> On May 30, 2020 11:41 AM Bruno Haible wrote:
>
>
> Hi,
>
> Steve Lhomme wrote:
> > GetFileInformationByHandle() cannot be called. But the same information can
> > be
> > gathered via calls to GetFileInformationByHandleEx() which is allowed.
>
> I am understanding from [1] that Microsoft is
Hi,
Steve Lhomme wrote:
> GetFileInformationByHandle() cannot be called. But the same information can be
> gathered via calls to GetFileInformationByHandleEx() which is allowed.
I am understanding from [1] that Microsoft is augmenting the list of allowed
functions in UWP over time, and that ultim
GetFileInformationByHandle() cannot be called. But the same information can be
gathered via calls to GetFileInformationByHandleEx() which is allowed.
A function pointer is used to pick between the local version using
GetFileInformationByHandleEx() and the system one.
If WINSTORECOMPAT is defined