Files
swupd-client/include
Patrick McCarty afce2631d6 Fix check for symlinks in a dirname path
The intended behavior here is to check if the directory path for the
current file contains any symlinks, not the full path itself. By not
checking the directory path only, verify --fix would not delete any
symlinks that were marked deleted.

Also, because the directory path is being examined now, we can obtain
the directory file descriptor (dirfd) and use unlinkat(2) to delete
files and directories instead of unlink/rmdir; doing so avoids race
conditions in that paths may change between calling realpath() and
unlink().

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2016-04-05 11:27:31 -07:00
..
2016-03-07 14:23:18 -08:00
2016-02-24 09:34:13 -08:00
2016-03-07 14:23:18 -08:00
2016-02-24 09:34:13 -08:00