Project

General

Profile

globc.diff

jun0, 05/26/2016 08:27 PM

View differences:

src/lib/coil/posix/coil/File.h
142 142
          {
143 143
            const char* globc(glob_str);
144 144
            std::string fname(ent->d_name);
145
            for (size_t i(0); i < fname.size() && globc != '\0'; ++i, ++globc)
145
            for (size_t i(0); i < fname.size() && *globc != '\0'; ++i, ++globc)
146 146
              {
147 147
                if (*globc == '*')
148 148
                  {