[obvious patch] fix chmod of stdint.h

Chris Demetriou cgd@google.com
Mon Mar 15 08:54:00 GMT 2010


This fixes my incorrect (not quite obvious enough 8-S) patch committed
in r157392: it avoids invoking chmod on the newly-copied stdint.h when
no such file has been copied.

Thanks to Eric Botcazou for pointing out the issue.  (Bone-headed
mistake: i misread 'elif' as 'else'.  There might be a joke here about
me and "obvious" that I'll leave for somebody else to make... 8-)


bootstrapped on x86_64-linux.  I don't have a system on which to try
the $(USE_GCC_STDINT) != wrap and != provide case, though.

committed as revision 157454.


chris
----
[gcc/ChangeLog]
2010-03-15  Chris Demetriou  <cgd@google.com>

        * Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it
        wasn't copied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chmod_fix.patch
Type: text/x-diff
Size: 867 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100315/7d254dbd/attachment.bin>


More information about the Gcc-patches mailing list