summaryrefslogtreecommitdiffstats
path: root/tests/002/proc/870/tasks
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-04-27 19:15:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-04-27 19:15:33 -0700
commit14f48b7561efb48bfc8d18896d4f061b7fd57c7d (patch)
tree478afb169280e2fdcabd43b6e2fb604572f1f79c /tests/002/proc/870/tasks
parent883afc9be02cc90e8644870288ad670a02986669 (diff)
downloadtxr-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/870/tasks')
0 files changed, 0 insertions, 0 deletions