Package: libeatmydata / 105-7

Metadata

Package Version Patches format
libeatmydata 105-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
soversion | (download)

Makefile.am | 2 1 + 1 - 0 !
configure.ac | 28 28 + 0 - 0 !
2 files changed, 29 insertions(+), 1 deletion(-)

 change the soversion, to revert an useless/wrong/unintentional
 bump made by upstream in https://bazaar.launchpad.net/~stewart/libeatmydata/main/revision/86
 Also bumping the revision, due to the code change.
tests | (download)

test_run.sh | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 avoid failing tests when strace is absent. instead, just skip the
 entire test suite.
 Note: this is probably not the better way to handle this case. Maybe a check
 in debian/rules would be better...
drop unneeded include | (download)

libeatmydata/test/fsynctest.c | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 drop unused #include, to allow compiling of this file without the
 entire source tree (needed to cleanly run the dep-8 tests)
avoid pthread link | (download)

Makefile.am | 2 1 + 1 - 0 !
libeatmydata/libeatmydata.c | 13 9 + 4 - 0 !
2 files changed, 10 insertions(+), 5 deletions(-)

 use a weak reference to pthread_testcancel, so that it's called only if the program itself pulls libpthread
 libeatmydata is linked against libpthread. This thus pulls libpthread
 in all processes run under eatmydata. It happens that having
 libpthread in a process makes pthread_mutex_lock() and all such basic
 performance-sensitive operations much heavier (since they then have to
 deal with potential multithreading). This avoids that by using a weak reference
 to pthread_testcancel, so that pthread_testcancel is called only if the program
 itself pulls libpthread.