libgo patch committed: Correct test for morestack.S

Submitted by Ian Taylor on Feb. 1, 2013, 5:49 a.m.

Details

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

Commit Message

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

Ian

Patch hide | download patch | download mbox

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