Commit 4a8c29cc by Jonathan Wakely Committed by Jonathan Wakely

* uninclude: Fix third argument to gensub.

From-SVN: r232589
parent ac0653cf
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
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment