diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-04-27 19:15:33 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-04-27 19:15:33 -0700 |
commit | 14f48b7561efb48bfc8d18896d4f061b7fd57c7d (patch) | |
tree | 478afb169280e2fdcabd43b6e2fb604572f1f79c /tests/002/proc/1790 | |
parent | 883afc9be02cc90e8644870288ad670a02986669 (diff) | |
download | txr-14f48b7561efb48bfc8d18896d4f061b7fd57c7d.tar.gz txr-14f48b7561efb48bfc8d18896d4f061b7fd57c7d.tar.bz2 txr-14f48b7561efb48bfc8d18896d4f061b7fd57c7d.zip |
match-str: rewrite.
Rewriting the match-str function to check some cases more
cleverly and use wmemcmp at the core.
* lib.c (do_match_str, do_rmatch_str): New static functions.
(match_str): Replaced: just dispatches one
of the static helpers based on whether the pos value is
negative.
Diffstat (limited to 'tests/002/proc/1790')
0 files changed, 0 insertions, 0 deletions