wimlib:sparse

Last commit made on 2017-07-03
Get this branch:
git clone -b sparse https://git.launchpad.net/wimlib

Branch merges

Branch information

Name:
sparse
Repository:
lp:wimlib

Recent commits

3494a4c... by Eric Biggers

Don't use sizeof(VLA)

sparse doesn't support sizeof on variable-length arrays.

7c41e3e... by Eric Biggers

hc_matchfinder, bt_matchfinder: don't use unusual array annotations

sparse doesn't support static and const in array arguments. restrict is
okay. Just get rid of them; static is unlikely to help anyway.

3a803d0... by Mike Swanson

update_image.c: Ignore Windows 10 Recycle Bin directories.

On Windows 10 (possibly earlier versions?), the \$RECYCLE.BIN or
\$Recycle.Bin directories are created in the root of a volume.
Both case variants here so capture of an NTFS volume from Linux
should work, but wouldn't make a difference when capturing on
Windows.

dcb76e9... by Eric Biggers

1.12.0-BETA1

e8db2c8... by Eric Biggers

tests: test capturing+applying file with negative UNIX timestamp

... and start comparing mtime in tree-cmp, and fix cases where return
codes in scripts were being ignored by use of '&&'.

681d8fc... by Eric Biggers

wlfuzz: compare timestamps

db1b9ac... by Eric Biggers

Improved year 2038 safety

Make wimlib on 32-bit Windows year 2038 safe by doing the following:

- Build both the library and program with 64-bit time_t, being careful
  to avoid changing the timespec struct exposed in the API.
- Update wimlib's API to include an extended seconds field in
  wimlib_dir_entry for each timestamp, and set it when tv_sec is 32-bit.
- When needing the current time, call GetSystemTimeAsFileTime() instead
  of MinGW's gettimeofday().

This also has the advantage that due to switching to the 64-bit time_t
functions, 32-bit wimlib-imagex.exe now prints timestamps prior to year
1970 correctly.

Unfortunately, despite the API improvement, we cannot at this time make
wimlib fully Y2038-safe on 32-bit UNIX, due to lack of OS support.

088dff3... by Eric Biggers

timestamp.c: correctly convert negative UNIX timestamps

a9b5ef0... by Eric Biggers

ntfs-3g_apply.c: note bugs fixed in NTFS-3G version 2017.3.23

8c27aef... by Eric Biggers

avl_tree.h: avoid bad function pointer cast

Casting the type of the 'cmp' function, while under normal circumstances
compiled correctly, was not technically correct and was not compatible
with some control flow integrity (CFI) implementations.