diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/db.c | 1 | ||||
-rw-r--r-- | src/pacman.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -148,6 +148,7 @@ pkginfo_t* db_scan(pacdb_t *db, char *target, unsigned int inforeq) /* stat the entry, make sure it's a directory */ snprintf(path, PATH_MAX, "%s/%s", db->path, name); if(stat(path, &sbuf) || !S_ISDIR(sbuf.st_mode)) { + ent = readdir(db->dir); continue; } /* truncate the string at the second-to-last hyphen, */ diff --git a/src/pacman.h b/src/pacman.h index f6a76c7b..d0b5a5a1 100644 --- a/src/pacman.h +++ b/src/pacman.h @@ -22,7 +22,7 @@ #define _PAC_PACMAN_H #ifndef PACVER -#define PACVER "2.9.1" +#define PACVER "2.9.2" #endif #ifndef PKGDIR |