diff mbox

libgo patch committed: Correct test for morestack.S

Message ID mcrwqustwh1.fsf@google.com
State New
Headers show

Commit Message

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

Ian
diff mbox

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;
     }