From 6fdb18f90003ecda109efe5c8879d93db7a6b8b4 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 30 Jan 2009 17:14:39 -0800 Subject: [PATCH] can finally close this TODO - 6l was broken R=r DELTA=2 (0 added, 2 deleted, 0 changed) OCL=23993 CL=23995 --- src/libmach_amd64/sym.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libmach_amd64/sym.c b/src/libmach_amd64/sym.c index 7faf5cd2f4..0e545a1f32 100644 --- a/src/libmach_amd64/sym.c +++ b/src/libmach_amd64/sym.c @@ -1189,8 +1189,6 @@ fileelem(Sym **fp, uchar *cp, char *buf, int n) bp = buf; end = buf+n-1; for(i = 1; j = (cp[i]<<8)|cp[i+1]; i+=2){ - if(j >= fmaxi) // TODO(rsc): should not happen, but does! - break; c = fp[j]->name; if(bp != buf && bp[-1] != '/' && bp < end) *bp++ = '/';