Changeset 89e3152 in mainline for uspace/lib/c/generic/private/scanf.h

Timestamp:
2019-02-15T13:02:35Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9f4ce50
Parents:
fc448f5
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-01-12 09:18:08)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-15 13:02:35)
Message:

Fix 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

(No files)

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