This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] ada/37641: Remplace mingw FILE_WRITE_PROPERTIES by FILE_WRITE_EA
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Samuel Tardieu <sam at rfc1149 dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Sep 2008 16:36:12 +0200
- Subject: Re: [PATCH] ada/37641: Remplace mingw FILE_WRITE_PROPERTIES by FILE_WRITE_EA
- References: <20080925134004.753DF8057@dawn.rfc1149.net>
> As outlined in PR ada/37641, FILE_WRITE_PROPERTIES doesn't exist
> anymore on mingw and has been replaced by FILE_WRITE_EA.
>
> Documentation from Microsoft confirms that FILE_WRITE_EA is
> the correct macro to use, and doesn't document FILE_WRITE_PROPERTIES:
>
> http://msdn.microsoft.com/en-us/library/aa394063(VS.85).aspx
>
> Arnaud, is it ok to commit the following patch so that adaint.c
> can be compiled again?
>
> gcc/ada/
> * adaint.c (__gnat_set_non_writable): Use FILE_WRITE_EA
> instead of deprecated FILE_WRITE_PROPERTIES.
Yes, that's OK.
Arno