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]

Re: RFC: Do not install specs file


DJ Delorie wrote:
I'd be willing to do it that way, if that's the consensus opinion,
but I think it's better to do the rm -f.  What do you want with the
old specs file if you now have a new driver?


Renaming is better than removing, especially if the user has
hand-edited it.

In the past, we would simply have overwritten it, so removing it is no worse that what we have done before. If we're going to rename it, what do we rename it to? What if there is already a file with that name? Etc.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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