]> gcc.gnu.org Git - gcc.git/commitdiff
* uninclude: Fix third argument to gensub.
authorJonathan Wakely <jwakely@redhat.com>
Tue, 19 Jan 2016 22:00:17 +0000 (22:00 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 19 Jan 2016 22:00:17 +0000 (22:00 +0000)
From-SVN: r232589

contrib/ChangeLog
contrib/uninclude

index c15df12886a0f9d42ddde063029770bebca902a5..f9e1126dc999a56ea8057740dc7b45ebd88cf22a 100644 (file)
@@ -1,3 +1,7 @@
+2016-01-19  Jonathan Wakely  <jwakely@redhat.com>
+
+       * uninclude: Fix third argument to gensub.
+
 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
 
        * update-copyright.py (GCCCopyright): Add NVIDIA Corporation
index 8ba28e5cfb7a25c60253d8b37d6413128e225c3a..5612e655a985ca54d4aa95647440aa0eafe7d721 100755 (executable)
@@ -38,7 +38,7 @@ BEGIN {
 !skipping && $0 ~ cppline && 
 (exclude == "" || $3 !~ exclude) && (include == "" || $3 ~ include) {
   skipping = 1;
-  printf "%s\n", "#include <" gensub(cppline, "\\2", "", $0) ">"
+  printf "%s\n", "#include <" gensub(cppline, "\\2", 1, $0) ">"
   next;
 }
 skipping && /^# [0-9]+ / && $3 == lastincluded {
This page took 0.07239 seconds and 5 git commands to generate.