Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2018 19:26:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 111843] [msdosfs] Long Names of files are incorrectly created on msdosfs
Message-ID:  <bug-111843-227-hP1CMVLn59@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-111843-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-111843-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #4 from Damjan Jovanovic <damjan.jov@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-111843-227-hP1CMVLn59>