aboutsummaryrefslogtreecommitdiff
path: root/scripts/test/basename.test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-05-10 13:24:58 -0500
committerRob Landley <rob@landley.net>2014-05-10 13:24:58 -0500
commit5369517b2cd0437a603ab7b33b499062804ae141 (patch)
tree242e30c8b5aec0314a7b90c92aba7c56c5a9c454 /scripts/test/basename.test
parent6ef8ce45ae3adae2bd6a36781a6d7f60122548f2 (diff)
downloadtoybox-5369517b2cd0437a603ab7b33b499062804ae141.tar.gz
sizeof("string") treats it as a char array _including_ the null terminator, so strncmp(dest, "string", sizeof("string")) is just strcpy.
Diffstat (limited to 'scripts/test/basename.test')
0 files changed, 0 insertions, 0 deletions