cvs commit: ports/devel/msp430-gcc Makefile distinfo

Lev A. Serebryakov lev at FreeBSD.org
Sun Nov 6 17:39:23 UTC 2011


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


More information about the cvs-ports mailing list