ntfs-3g/include/ntfs-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
..
Makefile.am Used plugins to process reparse points 2016-04-06 09:10:35 +02:00
acls.h Removed declarations for using acls.c outside ntfs-3g 2016-04-07 09:32:26 +02:00
attrib.h Fixed inserting a new ACL after they have been wiped out by chkdsk 2014-04-23 09:53:13 +02:00
attrlist.h initial CVS import 2006-10-30 22:32:48 +00:00
bitmap.h add ntfs_rol32 and ntfs_ror32 2007-09-02 12:36:33 +00:00
bootsect.h ntfs_boot_sector_is_ntfs/ntfs_boot_sector_parse: log errors 2006-12-08 23:55:10 +00:00
cache.h Forced alignment on cached structs 2010-10-26 08:59:51 +02:00
collate.h Made direct calls to collation functions 2009-12-16 10:20:57 +00:00
compat.h Redefined ELIBBAD as ENOEXEC when missing 2016-05-04 09:59:18 +02:00
compress.h developed overwriting compressed files 2010-05-25 10:25:31 +02:00
debug.h Removed unneeded variables as warned by gcc 4.6 2011-07-05 12:17:29 +02:00
device.h Added use of hd library to get the legacy BIOS geometry 2013-02-12 15:45:54 +01:00
device_io.h Reset the output file to favour appending to image in ntfsclone 2014-03-11 09:54:53 +01:00
dir.h Made a full check for whether a user extended attribute is allowed 2016-04-06 10:17:27 +02:00
ea.h Implemented an extended attribute to get/set EAs 2014-04-12 09:22:17 +02:00
efs.h Changed the interfaces to use extended attributes 2009-12-17 08:24:13 +00:00
endians.h endians.h: Fix bad assumption of valid __BYTE_ORDER__ values. 2016-02-16 20:29:56 +01:00
index.h Fixed memory leak when failing to lookup an index 2017-02-11 10:29:39 +01:00
inode.h Fix incorrect usage of native/little-endian types, signed types, etc. 2015-12-21 23:55:31 +01:00
ioctl.h Implemented fstrim(8) 2014-07-31 14:03:11 +02:00
layout.h Allowed names with trailing dot or space on conditions 2017-02-11 10:54:51 +01:00
lcnalloc.h developed overwriting compressed files 2010-05-25 10:25:31 +02:00
logfile.h Moved general declarations from ntfsrecover.h to logfile.h 2016-04-06 11:03:31 +02:00
logging.h Enabled renaming of system extended attributes 2010-10-26 08:59:52 +02:00
mft.h Used MFT record 15 for the first extent to MFT:DATA 2014-03-11 10:16:26 +01:00
misc.h Redesigned caches for indexing cached entries 2009-12-17 17:36:06 +00:00
mst.h Avoided logging meaningless fixup errors in ntfsclone and ntfsresize 2011-09-23 11:28:42 +02:00
ntfstime.h Fix incorrect usage of native/little-endian types, signed types, etc. 2015-12-21 23:55:31 +01:00
object_id.h Implemented getting/setting/removing object ids 2009-12-17 09:07:56 +00:00
param.h Got ready for Posix ACL support in fuse kernel 2017-02-11 10:21:07 +01:00
plugin.h Made plugin.h include all prerequisite declarations 2016-07-19 11:50:32 +02:00
realpath.h Fixed device path canonicalization for use by devmapper (basilinya) 2011-07-05 12:17:12 +02:00
reparse.h Removed unused argument from ntfs_make_symlink() 2017-02-11 10:11:01 +01:00
runlist.h developed overwriting compressed files 2010-05-25 10:25:31 +02:00
security.h Improved opening/closing $Secure when un/mounting NTFS volume 2016-09-02 08:30:07 +02:00
support.h initial CVS import 2006-10-30 22:32:48 +00:00
types.h Use appropriate little-endian/big-endian types in struct definitions. 2015-10-03 12:58:08 +02:00
unistr.h Allowed names with trailing dot or space on conditions 2017-02-11 10:54:51 +01:00
volume.h Enabled fallback to read-only mount when volume is hibernated 2016-04-06 09:51:47 +02:00
xattrs.h Allowed using full library API on systems without extended attributes support 2016-07-28 16:13:59 +02:00