* [Ada] -eL should impact both files and directories
@ 2009-11-30 13:46 Arnaud Charlet
0 siblings, 0 replies; only message in thread
From: Arnaud Charlet @ 2009-11-30 13:46 UTC (permalink / raw)
To: gcc-patches; +Cc: Emmanuel Briot
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
To reproduce, create a setup with one source directory, and another
one which is a symbolic link to the former. gnatclean complained
about duplicate sources even when using -eL
Tested on x86_64-pc-linux-gnu, committed on trunk
2009-11-30 Emmanuel Briot <briot@adacore.com>
* clean.adb ("-eL"): Also set Follow_Links_For_Dirs, to match what is
done in other project-aware tools like gnatmake and gprbuild.
[-- Attachment #2: difs --]
[-- Type: text/plain, Size: 463 bytes --]
Index: clean.adb
===================================================================
--- clean.adb (revision 154755)
+++ clean.adb (working copy)
@@ -1740,6 +1740,7 @@ package body Clean is
when 'e' =>
if Arg = "-eL" then
Follow_Links_For_Files := True;
+ Follow_Links_For_Dirs := True;
else
Bad_Argument;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-30 13:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-30 13:46 [Ada] -eL should impact both files and directories Arnaud Charlet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).