diff options
author | ache <ache@FreeBSD.org> | 2002-01-21 21:52:02 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-01-21 21:52:02 +0000 |
commit | 515c235f60d4d93b0a950878210f0ce91d4c3a98 (patch) | |
tree | 5eb8c9e917c4dfacb43321bb1410cd5d131937aa /lib/libc/string/strcspn.c | |
parent | 693310f44f0afa2887c200b61f92e28f2d55d0e4 (diff) | |
download | FreeBSD-src-515c235f60d4d93b0a950878210f0ce91d4c3a98.zip FreeBSD-src-515c235f60d4d93b0a950878210f0ce91d4c3a98.tar.gz |
The idea of mapping non-existen characters to space (0x20) was nice alone,
but those maps also used as backward maps for Paste, so space becomes mapped
to last non-existen character on Paste as result.
Fix it by mapping non-existen characters to another non-existen one, i.e. to
0x00, so unused 0x00 can be backward-mapped to some junk without real harm.
Pointed by: Alexander Kabaev <ak03@gte.com>
Diffstat (limited to 'lib/libc/string/strcspn.c')
0 files changed, 0 insertions, 0 deletions