]> git.feebdaed.xyz Git - 0xmirror/glibc.git/commit
strops: use strlen instead of strchr for string length
authorKacper Piwiński <vfjpl1@gmail.com>
Mon, 1 Dec 2025 15:42:54 +0000 (16:42 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 1 Dec 2025 15:42:54 +0000 (16:42 +0100)
commit82f4758410d9e4f149ea916504a407ea890d9f76
treed18f6a5b7e2c152d7d318060ef88ae75aa6424cf
parent20092f2ef601aef57cc184cbacd7cab39bba5a25
strops: use strlen instead of strchr for string length

For wide string the equivalent funtion __wcslen is used. This change
makes it more symetrical.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
libio/strops.c