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]

Re: avoid creating include as file


On Wed, Mar 15, 2000 at 03:53:56PM -0500, DJ Delorie wrote:
> The first "cp $$file include" created a *file* called include.

>             touch include/$$realfile; \
>             rm -f include/$$realfile; \
> !           cp $$file include/.; \

Why didn't the touch fail then?


r~

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