summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-09-25 20:03:03 +0200
committerJudd Vinet <judd@archlinux.org>2004-09-25 20:03:03 +0200
commit4795965caf371a55285678e5860ae66e926ebd95 (patch)
tree8267165d3d41a31b916ab4b1c364ec63708edcfb /src
parentdeff79c76c96ea1fd1f3e9eb682a9f9572a9e58e (diff)
downloadpacman-4795965caf371a55285678e5860ae66e926ebd95.tar.gz
pacman-4795965caf371a55285678e5860ae66e926ebd95.tar.xz
Imported from pacman-2.9.2.tar.gz
Diffstat (limited to 'src')
-rw-r--r--src/db.c1
-rw-r--r--src/pacman.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index bc332466..4d856479 100644
--- a/src/db.c
+++ b/src/db.c
@@ -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