New in version 1.41.2

October 2nd, 2008
  • Fix a potential file descriptor leack in libcom_err by setting the close-on-exec flag for a fd used for debugging. (Addresses Red Hat Bugzilla #464689) Fix a potential race in libcom_err by using sem_post/sem_init. SuSE has been carrying a patch for a long time to prevent a largely theoretical race condition if a multi-threaded application adds and removes error tables in multiple threads. Unfortunately SuSE's approach breaks compatibility by forcing applications to link and compile with the -pthread option; using pthread mutexes has historically been problematic. We fix this by using sem_post/sem_init instead. Fix e2fsprogs-libs build failure due to 'subs' target. (Addresses Sourceforge Bug: #2087502) Avoid linking e2initrd_helper, debugfs, blkid, and fsck with unneeded libraries when using ELF shared libraries. Fix ELF shared library when building on systems that don't already have the e2fsprogs shared libraries already installed. (Addresses Sourceforge Bug: #2088537) Fix the pkg-config files so they work correctly when linking with static libraries and fix the include directory so programs don't have to use #include , but can use #include instead. (Addresses Sourceforge Bug: #2089537) Make sure ext2fs_swab64() is compiled for all platforms, and not just for x86. (Addresses Debian Bug: #497515) Remove the unused ext2fs_find_{first,ext}_bit_set() functions for all non-x86 platforms. (They had been removed for x86 earlier.) Fix diet libc compilation support, which had bitrotted due to lack of TLC. Fixing this improves general portability. When installing the link library when using ELF shared libraries, avoid using absolute pathnames if the link library and the shared library are installed in the same directory. (Addresses Sourceforge Bug: #1782913) Fix gen-tarball so it will work even if the top-level directory has been renamed to something other than "e2fsprogs". Also make gen-tarball print the size of the resulting tar.gz file.