So is this the right patch?

$ svn diff inclhack.def
Index: inclhack.def
===================================================================
--- inclhack.def        (revision 204533)
+++ inclhack.def        (working copy)
@@ -1738,7 +1738,7 @@
    versions.  */
 fix = {
     hackname  = glibc_strncpy;
-    files     = bits/string2.h;
+    files     = bits/string2.h, '*/bits/string2.h';
     bypass    = "__builtin_strncpy";
     c_fix     = format;
     c_fix_arg = "#  define strncpy(dest, src, n) __builtin_strncpy (dest, src, 
n)";
@@ -2411,7 +2411,7 @@
  */
 fix = {
     hackname  = huge_val_hex;
-    files     = bits/huge_val.h;
+    files     = bits/huge_val.h, '*/bits/huge_val.h';
     select    = "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
     bypass    = "__builtin_huge_val";

@@ -2426,7 +2426,7 @@
  */
 fix = {
     hackname  = huge_valf_hex;
-    files     = bits/huge_val.h;
+    files     = bits/huge_val.h, '*/bits/huge_val.h';
     select    = "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
     bypass    = "__builtin_huge_valf";

@@ -2441,7 +2441,7 @@
  */
 fix = {
     hackname  = huge_vall_hex;
-    files     = bits/huge_val.h;
+    files     = bits/huge_val.h, '*/bits/huge_val.h';
     select    = "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
     bypass    = "__builtin_huge_vall";

@@ -4226,7 +4226,7 @@
 fix = {
     hackname  = thread_keyword;
     files     = "pthread.h";
-    files     = "bits/sigthread.h";
+    files     = bits/sigthread.h, '*/bits/sigthread.h';
     select    = "([* ])__thread([,)])";
     c_fix     = format;
     c_fix_arg = "%1__thr%2";
@@ -4767,7 +4767,7 @@
 fix = {
     hackname  = feraiseexcept_nosse_invalid;
     mach      = 'i[34567]86-*-linux*', 'x86*-linux*', 'amd64-*-linux*';
-    files     = bits/fenv.h;
+    files     = bits/fenv.h, '*/bits/fenv.h';
     select    = "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : "
                ": \"x\" \\(__f\\)\\);$";
     bypass    = "\"fdiv .*; fwait\"";
@@ -4794,7 +4794,7 @@
 fix = {
     hackname  = feraiseexcept_nosse_divbyzero;
     mach      = 'i[34567]86-*-linux*', 'x86*-linux*', 'amd64-*-linux*';
-    files     = bits/fenv.h;
+    files     = bits/fenv.h, '*/bits/fenv.h';
     select    = "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : "
                ": \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
     bypass    = "\"fdivp .*; fwait\"";

Reply via email to