This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] Fix Set_Read_Only Win32 implementation


The UNIX behavior is that only the writable permission
was reset. The initial Win32 implementation was setting
the file as readable and revoking the write/executable
permissions. This is now fixed. At the same time, to avoid
any confusion, the Set_Read_Only routine has been made a
renaming of Reset_Writable.

Manually tested on i686-pc-mingw32
Tested on i686-pc-linux-gnu, committed on trunk

2008-08-05  Pascal Obry  <obry@adacore.com>

	* adaint.c, adaint.h, s-os_lib.adb, s-os_lib.ads: Fix the
	Set_Read_Only Win32 implementation.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]