diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | util.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -VERSION = git-20130209 +VERSION = git-20130211 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man @@ -274,7 +274,7 @@ char* r_readdir(r_dir_t *rdir) while (true) { if (rdir->dir != NULL && (dentry = readdir(rdir->dir)) != NULL) { - if (STREQ(dentry->d_name, ".") || STREQ(dentry->d_name, "..")) + if (dentry->d_name[0] == '.') continue; len = strlen(rdir->name) + strlen(dentry->d_name) + 2; |