Patchwork libgo patch committed: Correct test for morestack.S

login
register
mail settings
Submitter Ian Taylor
Date Feb. 1, 2013, 5:49 a.m.
Message ID <mcrwqustwh1.fsf@google.com>
Download mbox | patch
Permalink /patch/217349/
State New
Headers show

Comments

Ian Taylor - Feb. 1, 2013, 5:49 a.m.
I am an idiot.  (Hope it is right this time.)

Ian

Patch

diff -r 686169e30cff libgo/runtime/go-callers.c
--- a/libgo/runtime/go-callers.c	Thu Jan 31 16:22:11 2013 -0800
+++ b/libgo/runtime/go-callers.c	Thu Jan 31 21:42:52 2013 -0800
@@ -49,7 +49,7 @@ 
       p = strrchr (filename, '/');
       if (p == NULL)
 	p = filename;
-      if (__builtin_strncmp (p, "morestack.S", 11) == 0)
+      if (__builtin_strncmp (p, "/morestack.S", 12) == 0)
 	return 0;
     }