forked from enlightenment/efl
Revert "edje/edje_cc: use strncpy() instead of strcpy()."
This reverts commit ab1a72f5e7
.
just dismiss in coverity if the code is not actually wrong
This commit is contained in:
parent
8c28a70b43
commit
53095d6fc7
|
@ -391,7 +391,7 @@ next_token(char *p, char *end, char **new_p, int *delim)
|
||||||
l = sscanf(tmpstr, "%*s %i \"%[^\"]\"", &nm, fl);
|
l = sscanf(tmpstr, "%*s %i \"%[^\"]\"", &nm, fl);
|
||||||
if (l == 2)
|
if (l == 2)
|
||||||
{
|
{
|
||||||
strncpy(file_buf, fl, sizeof(file_buf));
|
strcpy(file_buf, fl);
|
||||||
line = nm;
|
line = nm;
|
||||||
file_in = file_buf;
|
file_in = file_buf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue