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: [PATCH] new-bootstrap with preinstalling


> The safe fallback in the cases we're thinking of should be 'cp -r'.
> (Or 'mv' with a later 'mv' back, in a pinch.)  If either of those
> can be implemented in a portable script, we're OK.

The problem isn't choosing a portable backup, it's knowing when you
need it.  The test for "ln -s" needs to be specific to the type of
thing you're linking - exes for exes, files for files, directories for
directories.


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