ntfs-3g/libntfs-3g
Jean-Pierre André 17b56ccfa2 Allowed names with trailing dot or space on conditions
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)
2017-02-11 10:54:51 +01:00
..
acls.c Tolerated garbage put by Windows 10 into the last ACE 2016-07-19 11:40:20 +02:00
attrib.c Fixed bad indentations (cosmetic) 2017-02-11 08:53:20 +01:00
attrlist.c Fix incorrect usage of native/little-endian types, signed types, etc. 2015-12-21 23:55:31 +01:00
bitmap.c Adapted to ntfs-3g.1.2712 2008-07-13 17:55:57 +00:00
bootsect.c Fix code to use const_cpu_to_X/const_X_to_cpu macros for constants. 2015-12-21 23:21:00 +01:00
cache.c Removed unneeded variables as warned by gcc 4.6 2011-07-05 12:17:29 +02:00
collate.c Made direct calls to collation functions 2009-12-16 10:20:57 +00:00
compat.c Adapted to ntfs-3g.1.2812 2008-08-16 15:17:47 +00:00
compress.c Merge endianness fixes. 2016-01-28 09:22:42 +01:00
debug.c Adapted to ntfs-3g.2009.3.8 2009-03-27 09:10:00 +00:00
device.c Fixed a use of uninitialized variable compiler warning 2013-02-13 08:54:34 +01:00
dir.c Allowed names with trailing dot or space on conditions 2017-02-11 10:54:51 +01:00
ea.c Allowed using full library API on systems without extended attributes support 2016-07-28 16:13:59 +02:00
efs.c Allowed using full library API on systems without extended attributes support 2016-07-28 16:13:59 +02:00
index.c Fixed memory leak when failing to lookup an index 2017-02-11 10:29:39 +01:00
inode.c Allowed using full library API on systems without extended attributes support 2016-07-28 16:13:59 +02:00
ioctl.c Allowed using full library API on systems without extended attributes support 2016-07-28 16:13:59 +02:00
lcnalloc.c Fix endianness issues in log and terminal output. 2015-12-21 23:31:09 +01:00
libntfs-3g.pc.in Updating the source directory tree 2008-03-28 14:42:50 +00:00
libntfs-3g.script.so.in Updating the source directory tree 2008-03-28 14:42:50 +00:00
logfile.c Added a usn field to RESTART_PAGE_HEADER 2016-04-06 10:58:25 +02:00
logging.c Enabled renaming of system extended attributes 2010-10-26 08:59:52 +02:00
Makefile.am Implemented fstrim(8) 2014-07-31 14:03:11 +02:00
mft.c Silenced fixup warnings when allocating a new MFT record 2016-04-06 09:32:18 +02:00
misc.c Redesigned caches for indexing cached entries 2009-12-17 17:36:06 +00:00
mst.c Corrected validation of multi sector transfer protected records 2016-07-28 16:26:21 +02:00
object_id.c Allowed using full library API on systems without extended attributes support 2016-07-28 16:13:59 +02:00
realpath.c Fixed device path canonicalization for use by devmapper (basilinya) 2011-07-05 12:17:12 +02:00
reparse.c Removed unused argument from ntfs_make_symlink() 2017-02-11 10:11:01 +01:00
runlist.c Fixed special case of decompressing a runlist 2015-11-20 16:17:48 +01:00
security.c Fixed bad indentations (cosmetic) 2017-02-11 08:53:20 +01:00
unistr.c Allowed names with trailing dot or space on conditions 2017-02-11 10:54:51 +01:00
unix_io.c ntfs_fsync: fix comment (Erik Larsson) 2009-11-05 11:30:47 +00:00
volume.c Improved opening/closing $Secure when un/mounting NTFS volume 2016-09-02 08:30:07 +02:00
win32_io.c Returned an error code for an exclusive access violation on Windows 2016-04-06 10:08:01 +02:00
xattrs.c Removed unused variables 2016-07-28 16:16:42 +02:00