This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch master
in repository aghermann.

commit 7423f23049fc69ad5f7aa9543a72eca4f848ac23
Author: Andrei Zavada <[email protected]>
Date:   Sun Sep 15 02:21:12 2013 +0300

    only select regular files when scanning for profiles
---
 upstream/src/aghermann/expdesign/dirlevel.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/upstream/src/aghermann/expdesign/dirlevel.cc 
b/upstream/src/aghermann/expdesign/dirlevel.cc
index c6b44e2..fd67777 100644
--- a/upstream/src/aghermann/expdesign/dirlevel.cc
+++ b/upstream/src/aghermann/expdesign/dirlevel.cc
@@ -24,9 +24,10 @@ using namespace agh;
 
 
 int
+agh::
 simple_scandir_filter( const struct dirent *e)
 {
-        return strcmp( e->d_name, ".") && strcmp( e->d_name, "..");
+        return e->d_type == DT_REG;
 }
 
 

-- 
Alioth's /git/debian-med/git-commit-notice on 
/srv/git.debian.org/git/debian-med/aghermann.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to