Date: Sun, 6 Nov 2011 17:39:23 +0000 (UTC) From: "Lev A. Serebryakov" <lev@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/devel/msp430-gcc Makefile distinfo Message-ID: <201111061739.pA6HdNBC001478@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
lev 2011-11-06 17:39:23 UTC
FreeBSD ports repository
Modified files:
devel/msp430-gcc Makefile distinfo
Log:
Add new patch from upstream:
This fixes an error when calculating strlen on an auto-storage char array that
happens be zero bytes offset from the stack pointer.
extern unsigned int strlen (const char *s);
void setval (char* str, int len);
void useval (const char* str, unsigned char len);
void tryit ()
{
char tmp[17];
setval (tmp, sizeof(tmp));
useval (tmp, strlen(tmp));
}
Revision Changes Path
1.44 +2 -2 ports/devel/msp430-gcc/Makefile
1.33 +2 -0 ports/devel/msp430-gcc/distinfo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111061739.pA6HdNBC001478>
