diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-12-09 11:34:29 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-12-09 11:34:29 -0500 |
commit | c53e9b239418eb3e0e8be256abd0f6ad7608bbcf (patch) | |
tree | e404c8fcf9636fe6ef41eb578a01653bbb3b36ae /src/locale/locale_map.c | |
parent | b67d56c7b3b0f84360db749aa6f431a07761d9c8 (diff) | |
download | musl-c53e9b239418eb3e0e8be256abd0f6ad7608bbcf.tar.gz musl-c53e9b239418eb3e0e8be256abd0f6ad7608bbcf.tar.bz2 musl-c53e9b239418eb3e0e8be256abd0f6ad7608bbcf.tar.xz musl-c53e9b239418eb3e0e8be256abd0f6ad7608bbcf.zip |
fix misleading comment in strstr
the intent here is just to scan at least l bytes forward for the end
of the haystack and at least some decent minimum to avoid doing it
over and over if the needle is short, with no need to be precise. the
comment erroneously stated this as an estimate for MIN when it's
actually an estimate for MAX.
Diffstat (limited to 'src/locale/locale_map.c')
0 files changed, 0 insertions, 0 deletions