PR ada/37641
* adaint.c (__gnat_set_non_writable): Use FILE_WRITE_EA
instead of deprecated FILE_WRITE_PROPERTIES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140665
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-09-25 Samuel Tardieu <sam@rfc1149.net>
+
+ PR ada/37641
+ * adaint.c (__gnat_set_non_writable): Use FILE_WRITE_EA
+ instead of deprecated FILE_WRITE_PROPERTIES.
+
2008-09-22 Olivier Hainque <hainque@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_entity): Even when they
__gnat_set_OWNER_ACL
(wname, DENY_ACCESS,
FILE_WRITE_DATA | FILE_APPEND_DATA |
- FILE_WRITE_PROPERTIES | FILE_WRITE_ATTRIBUTES);
+ FILE_WRITE_EA | FILE_WRITE_ATTRIBUTES);
SetFileAttributes
(wname, GetFileAttributes (wname) | FILE_ATTRIBUTE_READONLY);
#elif ! defined (__vxworks) && ! defined(__nucleus__)