diff options
author | Rob Landley <rob@landley.net> | 2014-05-10 13:24:58 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2014-05-10 13:24:58 -0500 |
commit | 5369517b2cd0437a603ab7b33b499062804ae141 (patch) | |
tree | 242e30c8b5aec0314a7b90c92aba7c56c5a9c454 /scripts/test/expand.test | |
parent | 6ef8ce45ae3adae2bd6a36781a6d7f60122548f2 (diff) | |
download | toybox-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/expand.test')
0 files changed, 0 insertions, 0 deletions