summaryrefslogtreecommitdiffstats
path: root/bin/sh/expand.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-01-01 20:47:33 +0000
committered <ed@FreeBSD.org>2012-01-01 20:47:33 +0000
commit2dd2060131bbfd7b617356a2384aa027270c3b9d (patch)
tree8961ac71ec869c6cb68bb78e29ccca26d39bef27 /bin/sh/expand.c
parent5f479a9ff5848e7febb91161677e846f8167d4ea (diff)
downloadFreeBSD-src-2dd2060131bbfd7b617356a2384aa027270c3b9d.zip
FreeBSD-src-2dd2060131bbfd7b617356a2384aa027270c3b9d.tar.gz
Migrate ufs and ext2fs from skpc() to memcchr().
While there, remove a useless check from the code. memcchr() always returns characters unequal to 0xff in this case, so inosused[i] ^ 0xff can never be equal to zero. Also, the fact that memcchr() returns a pointer instead of the number of bytes until the end, makes conversion to an offset far more easy.
Diffstat (limited to 'bin/sh/expand.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud