about summary refs log tree commit diff
path: root/string/test-strncat.c
diff options
context:
space:
mode:
authorRicardo Bittencourt <bluepenguin@gmail.com>2022-03-19 22:04:42 -0300
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-04-09 11:45:31 -0500
commitc0efbf8920844b940b85ea340ea2eaee70da2fc0 (patch)
tree088b9e822803e5658f7cc5b3940ab0ccafc1a789 /string/test-strncat.c
parent5325233313c66aea13e86f5dd59618e9dd74b510 (diff)
downloadglibc-c0efbf8920844b940b85ea340ea2eaee70da2fc0.tar.gz
glibc-c0efbf8920844b940b85ea340ea2eaee70da2fc0.tar.xz
glibc-c0efbf8920844b940b85ea340ea2eaee70da2fc0.zip
string: Replace outdated comments in strlen().
Copyright The GNU Toolchain Authors.

The comments on strlen() don't match what the actual code does. They
describe an older algorithm which is no longer in use. This change
replace the old comments with new ones describing the algorithm used.

I am a first time contributor, and I believe there is no need for
copyright assignment, since the file changed is not in the shared
source files list.

This patch only changes comments, but for safety I have run the tests in
my x64 ubuntu machine, with the following results:

Summary of test results:
   5051 PASS
     80 UNSUPPORTED
     16 XFAIL
      6 XPASS

Signed-off-by: Ricardo Bittencourt <bluepenguin@gmail.com>
Diffstat (limited to 'string/test-strncat.c')
0 files changed, 0 insertions, 0 deletions