https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241773
--- Comment #2 from [email protected] --- I modified testlib to be: master# vi testlib.c #include <sys/stat.h> #include <stdio.h> #include <string.h> #include <strings.h> char id[4]; int sock; void testfunc() { struct stat sb; stat("testlib.c", &sb); strcpy (id, "aa"); sock = 5; printf ("sock = %d, id = %s\n", sock, id); printf("Size of testlib.c is %i bytes.\n", (int)sb.st_size); } The results are exatly the same other than there is the extra line of output. (lldb) p id (char [4]) $0 = "" (lldb) p sock (int) $1 = 0 (lldb) p &id (char (*)[4]) $2 = 0x000000080024d000 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
