From a1948282e8038f305351d51bb5450353d331dd3e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 1 Feb 2013 05:49:14 +0000 Subject: [PATCH] runtime: Correct test for morestack.S. From-SVN: r195640 --- libgo/runtime/go-callers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgo/runtime/go-callers.c b/libgo/runtime/go-callers.c index c20dbf35610..9afba62cc99 100644 --- a/libgo/runtime/go-callers.c +++ b/libgo/runtime/go-callers.c @@ -49,7 +49,7 @@ callback (void *data, uintptr_t pc, const char *filename, int lineno, 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; } -- 2.30.2