summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_table.c
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2021-08-20 06:36:10 +0000
committerrillig <rillig@NetBSD.org>2021-08-20 06:36:10 +0000
commit2a7c2b6a94495a6f43724f64582f3d234a54aeb3 (patch)
tree3f7329074cf34eb7b368441e94ca1f8a7b45fb5c /sys/dev/dm/dm_table.c
parentf1437b80d990c763afdfa5372126357b1ef21202 (diff)
mkdep: avoid memory allocation in findcc
This change takes the idea of handling strings as pairs in the form (start, len) by Robert Elz from https://mail-index.netbsd.org/source-changes-d/2021/08/20/msg013427.html and expands it by avoiding one more memory allocation, for iterating the PATH environment variable. No functional change.
Diffstat (limited to 'sys/dev/dm/dm_table.c')
0 files changed, 0 insertions, 0 deletions