mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-12-03 23:13:39 +08:00
17b56ccfa2
Windows places filenames with a trailing dot or space in the Win32 namespace and allows setting DOS names on such files. This is true even though on Windows such filenames can only be created and accessed using WinNT-style paths and will confuse most Windows software. Regardless, because libntfs-3g did not allow setting DOS names on such files, in some cases it was impossible to correctly restore, using libntfs-3g, a directory structure that was created under Windows. Update ntfs_set_ntfs_dos_name() to permit operating on a file that has a long name with a trailing dot or space. But continue to forbid creating such names on a filesystem FUSE-mounted with the windows_name option. Additionally, continue to forbid a trailing a dot or space in DOS names; this matches the Windows behavior. (contributed by Eric Biggers) |
||
---|---|---|
.. | ||
fuse-lite | ||
ntfs-3g | ||
Makefile.am |