Skip to content

Commit 8a4bd09

Browse files
committed
undo CL 5504108 / 0edee03791f4
breaks 386 build ««« original CL description gc: put limit on size of exported recursive interface Prevents edge-case recursive types from consuming excessive memory. Fixes #1909. R=golang-dev, lvd, rsc CC=golang-dev https://golang.org/cl/5504108 »»» R=lvd, lvd CC=golang-dev https://golang.org/cl/5534049
1 parent aa63a92 commit 8a4bd09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/gc/fmt.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ Tconv(Fmt *fp)
14501450
if(t == T)
14511451
return fmtstrcpy(fp, "<T>");
14521452

1453-
if(t->trecur > 4 || fp->nfmt > 1000)
1453+
if(t->trecur > 4)
14541454
return fmtstrcpy(fp, "<...>");
14551455

14561456
t->trecur++;

0 commit comments

Comments
 (0)