diff options
author | Nate Lawson <njl@FreeBSD.org> | 2005-04-16 01:49:50 +0000 |
---|---|---|
committer | Nate Lawson <njl@FreeBSD.org> | 2005-04-16 01:49:50 +0000 |
commit | 58ad326be631e0c078e88f153f8627080680be29 (patch) | |
tree | 5bc43493562b53a95d88c7bedf8826ce135a6042 /sys/amd64 | |
parent | d37ed29c98e59109947937acc29de02c4d107036 (diff) | |
download | src-58ad326be631e0c078e88f153f8627080680be29.tar.gz src-58ad326be631e0c078e88f153f8627080680be29.zip |
Fix mbnambuf support for multi-byte characters. If a substring is larger
than WIN_CHARS bytes, we shift the suffix (previous substrings) upwards
by the amount this substring exceeds its WIN_CHARS slot. Profiling shows
this change is indistinguishable from the previous code at 95% confidence.
This bug would result in attempts to access or create files or directories
with multi-byte characters returning an error but no data loss.
Reported and tested by: avatar
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=145131
Diffstat (limited to 'sys/amd64')
0 files changed, 0 insertions, 0 deletions