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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 29 19:26:30 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=111843

--- Comment #4 from Damjan Jovanovic <damjan.jov at gmail.com> ---
Created attachment 192919
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192919&action=edit
Fix WIN_LAST detection

Here is a patch for this bug. Instead of detecting the LFN entry that should
have WIN_LAST set via its filename segment ending in "\0", explicitly tell
unix2winfn() which LFN entry is last from the function calling it, and set
WIN_LAST for it. With this patch, files like "1234567890123   " get
successfully created.

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


More information about the freebsd-bugs mailing list