avoid creating include as file

DJ Delorie dj@delorie.com
Wed Mar 15 16:11:00 GMT 2000


> Why didn't the touch fail then?

It did, but the error message wasn't obvious enough for me to grasp
the true problem right away.  So did the rm fail, but quietly.  Then
the cp created the file "include", no error.  On the second pass, the
touch failed again - with a different error, which was even less
obvious.

My change just changes one of the errors from a non-obvious error to
an obvious error, and prevents "include" from being created as a file.


More information about the Gcc-patches mailing list