Date: Sat, 16 Apr 2005 01:49:50 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs msdosfs_conv.c Message-ID: <200504160149.j3G1no8B021370@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2005-04-16 01:49:50 UTC FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_conv.c Log: 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 Revision Changes Path 1.44 +29 -19 src/sys/fs/msdosfs/msdosfs_conv.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504160149.j3G1no8B021370>