Changeset daab04c9 in mainline for uspace/lib/c/generic/string.c


Ignore:
Timestamp:
2019-01-12T09:18:08Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
1bdfbe52
Parents:
cdec2a1
Message:

PCUT failed because of strndup()

PCUT showed one failure which occured while testing
the string function strndup(). The last letter was not
a \0. This commit invokes in strndup() the function
strncpy() instead of strcpy() which corrects this
failure

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.