Commit Graph

18 Commits (master)
 

Author SHA1 Message Date
Nicolas Arenas 2efad8b7c2 Remove compat file 2025-07-04 15:11:01 +02:00
Nicolas Arenas a37f5a6665 Add debian packaging dir 2025-07-04 15:06:42 +02:00
Eric Biggers 53f7bcba9c Use MIT license instead of CC0
Following the same commit from wimlib
(https://wimlib.net/git/?p=wimlib;a=commit;h=41a9a2a95bd357a344be95d2ac3c370aadac3846),
use the MIT license for decompress_common.c and decompress_common.h
instead of CC0.
2024-02-19 12:05:31 -08:00
Eric Biggers a9f42a1556 Fix build error with gcc 14
Ensure that time.h gets included.  This fixes the following build error:

    In file included from /usr/include/ntfs-3g/inode.h:35,
                     from /usr/include/ntfs-3g/attrib.h:33,
                     from src/system_compression.c:64:
    /usr/include/ntfs-3g/ntfstime.h: In function 'ntfs_current_time':
    /usr/include/ntfs-3g/ntfstime.h:125:22: error: implicit declaration of function 'time' [-Wimplicit-function-declaration]
      125 |         now.tv_sec = time((time_t*)NULL);
          |                      ^~~~
2024-02-19 11:56:44 -08:00
Eric Biggers f27f924c1e Avoid -Waddress-of-packed-member warning
Add __attribute__((packed)) to the on-disk reparse point structures to
avoid a compiler warning about a potential unaligned pointer when
casting a pointer to REPARSE_POINT (which is defined in
<ntfs-3g/layout.h> using __attribute__((packed))) to a pointer to
WOF_FILE_PROVIDER_REPARSE_POINT_V1.

This warning is probably a false positive since the REPARSE_POINT from
NTFS-3G should be aligned in practice.  But we shouldn't assume that.
2020-08-24 21:36:33 -07:00
Eric Biggers 3a474d45f4 v1.0 2017-05-25 20:39:39 -07:00
Eric Biggers 92a63e0bfb README.md: document location of release tarballs 2017-05-25 20:39:39 -07:00
Eric Biggers b236f07716 README.md: document FUSE header requirement 2017-05-25 20:32:07 -07:00
ebiggers 37fb228994 Merge pull request #3 from Conan-Kudo/add-fuse-to-autofoo
Add check for FUSE to configure.ac
2017-05-25 20:22:09 -07:00
Neal Gompa 690220ecfa Add check for FUSE to configure.ac
This code cannot compile without FUSE, so the build system should
check for FUSE and quit with an error if it isn't installed.
2017-05-25 17:26:50 -04:00
Eric Biggers f01c486d2f Require NTFS-3G 2017.3.23 or later
Now that a new stable NTFS-3G version has been released, we should
require that.  This also fixes the known bug in lowntfs-3g.
2017-04-08 10:21:27 -07:00
Eric Biggers 7a22784f90 README.md: note that pkg-config needs to be installed 2016-11-08 18:44:59 -08:00
Eric Biggers cd6017fbab Reuse decompression contexts
This change allows one ntfs_system_decompression_ctx to be reused for
all reads from a given open FUSE file.  To make this possible, it was
necessary to update the decompression context to no longer hold a
reference to the open compressed stream.

Based on a proposal by Mikalai Ramanovich.
2016-10-28 23:11:57 -07:00
Eric Biggers a53113cf1f README.md: mention how to generate configure script 2016-10-26 20:48:46 -07:00
Eric Biggers 7eb7fd2919 README.md: fix typo 2016-08-28 13:04:48 -07:00
Eric Biggers e912afeea6 Define FUSE_USE_VERSION 2016-07-09 17:54:27 -05:00
Eric Biggers 5c337bc502 Sync decompression code from wimlib 2016-07-09 17:54:27 -05:00
Eric Biggers 3ddd227ee8 Initial release 2016-07-02 23:17:24 -05:00