mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
6902b2ca99
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)); } |
||
---|---|---|
.. | ||
files | ||
distinfo | ||
Makefile | ||
pkg-descr | ||
pkg-plist |