diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-04-11 10:57:54 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-04-11 10:57:54 +0000 |
commit | aed8bcfc2b5d64c8beec781cdd789d9b41450170 (patch) | |
tree | 10060c42754b06996866508ec7c11e3cae1ace95 /usr.bin/compile_et | |
parent | ce0cfd9c63389ae4c2fcbaa8afbbe5e60d543849 (diff) | |
download | FreeBSD-src-aed8bcfc2b5d64c8beec781cdd789d9b41450170.zip FreeBSD-src-aed8bcfc2b5d64c8beec781cdd789d9b41450170.tar.gz |
Replace buggy for-loops to skip certain character with strspn(). If *fmt was
'\0' (eg in the invocation 'printf %'), the for-loop would miss the terminating
null character.
MFC after: 1 week
Diffstat (limited to 'usr.bin/compile_et')
0 files changed, 0 insertions, 0 deletions