1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/devel/msp430-gcc
Lev A. Serebryakov 6902b2ca99 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));
}
2011-11-06 17:39:22 +00:00
..
files
distinfo Add new patch from upstream: 2011-11-06 17:39:22 +00:00
Makefile Add new patch from upstream: 2011-11-06 17:39:22 +00:00
pkg-descr
pkg-plist