Revision 1186375

Go back to digest for 17th October 2010

Optimization in Utilities

Raphael Kubo da Costa committed changes in /trunk/KDE/kdeutils/ark/plugins/libarchive/libarchivehandler.cpp:

Manually call lstat() and pass the stat struct to libarchive.

archive_read_disk_entry_from_file() calls lstat() itself if it has been compiled with HAVE_LSTAT and it is set not to follow symlinks. These conditions do not always hold, so it is better to call lstat() ourselves to make sure symlinks are not followed.

File Changes

Modified 1 files
  • /trunk/KDE/kdeutils/ark/plugins/libarchive/libarchivehandler.cpp
1 files changed in total