Add XXX comment describing potential memset non-portable issue
Nitpicked-by: joerg
This commit is contained in:
parent
76dafb8954
commit
628abd1b29
@ -677,7 +677,10 @@ __sccl(tab, fmt)
|
||||
c = *fmt++; /* get new first char */
|
||||
} else
|
||||
v = 0; /* default => reject */
|
||||
|
||||
/* XXX: Will not work if sizeof(tab*) > sizeof(char) */
|
||||
(void) memset(tab, v, 256);
|
||||
|
||||
if (c == 0)
|
||||
return (fmt - 1);/* format ended before closing ] */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user