[Bug 111843] [msdosfs] Long Names of files are incorrectly created on msdosfs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 2 03:59:10 UTC 2018


--- Comment #6 from Damjan Jovanovic <damjan.jov at gmail.com> ---
That wasn't the commit in which NetBSD first fixed this bug. Their code was
correct from the start - the 1995 commit that added long filenames uses
decrementing unlen to detect end of filename instead of equality with '\0':


But yes, the new code in unix2winfn() in the commit you found would also fix
this bug, though yet another approach, that detects end of the filename by
comparing this LFN entry's offset into the full filename against its
space/dot-trimmed length.

What now?

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list