]> git.lyx.org Git - features.git/commitdiff
compil Fix.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 2 Dec 2007 07:52:28 +0000 (07:52 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 2 Dec 2007 07:52:28 +0000 (07:52 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21901 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/lyxsum.cpp

index 161a964506c57b3a16ae859c67ebf8a50cb352bb..b547b4ecbc1ae311c182a285d7724d30a9347f2e 100644 (file)
@@ -136,10 +136,6 @@ unsigned long sum(char const * file)
 {
        //LYXERR(Debug::FILES, "lyx::sum() using istream_iterator (slow as a snail)");
 
-       // a directory may be passed here so we need to test it. (bug 3622)
-       if (file.isDirectory())
-               return 0;
-
        ifstream ifs(file, std::ios_base::in | std::ios_base::binary);
        if (!ifs)
                return 0;