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] |
On some platforms, such as Solaris, when an existing executable is a symbolic link, gnatlink modify the target of the symbolic link. This patch ensures that the symbolic link is replaced with a standard file. The test for this is to invoke gnatlink on Solaris to update an executable that is a symbolic link. The symbolic link should be replaced with a standard file and the target of the symbolic link should not be modified. Tested on x86_64-pc-linux-gnu, committed on trunk 2009-11-30 Vincent Celier <celier@adacore.com> * gnatlink.adb: Delete an eventual existing executable file, in case it is a symbolic link, to avoid modifying the target of the symbolic link.
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] |