• Max Kellermann's avatar
    update: use G_FILE_TEST_IS_REGULAR for archive files · 0fcb7dc6
    Max Kellermann authored
    When checking whether database entries have been deleted, don't check
    if an archive file is a directory (G_FILE_TEST_IS_DIR), use
    G_FILE_TEST_IS_REGULAR for this case instead.  To determine if a
    "struct directory" is an archive, check for device==DEVICE_INARCHIVE.
    This is always false after loading the database, so this patch is not
    complete yet.
    0fcb7dc6
update.c 17.8 KB