netbsd-src/usr.bin/mkdep
rillig 1c89b83dd4 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.
2021-08-20 06:36:10 +00:00
..
Makefile
findcc.c mkdep: avoid memory allocation in findcc 2021-08-20 06:36:10 +00:00
findcc.h mkdep: make argument of findcc const 2021-08-20 05:45:19 +00:00
mkdep.1
mkdep.c mkdep: make argument of findcc const 2021-08-20 05:45:19 +00:00