summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authordyoung <dyoung@NetBSD.org>2006-07-28 17:04:27 +0000
committerdyoung <dyoung@NetBSD.org>2006-07-28 17:04:27 +0000
commitbce72f7b6a45ba2ebfe2b93c2e1d56b753df3987 (patch)
tree57044cbe3218271ba20aaccf5e21be0bcf3685f6 /usr.bin/make
parentb00752709e80ee78d7e10ede3fc2c944c34ed839 (diff)
Fix mtod() usage. If we will write to the mbuf data, check whether
the data is read-only/shared and call m_pullup(). Otherwise, extract a const pointer to the mbuf data. XXX I should extract a new macro, M_WRITABLE(m, len), that is true if m has len consecutive writable bytes at its front.
Diffstat (limited to 'usr.bin/make')
0 files changed, 0 insertions, 0 deletions