Package: libeatmydata / 105-7
Patch seriesview the series file
|soversion | (download)||
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)||
7 7 + 0 - 0 !
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)||
2 0 + 2 - 0 !
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)||
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.