Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 425364
Collapse All | Expand All

(-)src/cmdline.cpp.orig (-2 / +2 lines)
Lines 264-277 Link Here
264
  }
264
  }
265
  do {
265
  do {
266
    if (!(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
266
    if (!(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
267
      m_vFiles.push_back( fs::path(fd.cFileName, fs::native) );
267
      m_vFiles.push_back( fs::path(fd.cFileName) );
268
    }
268
    }
269
  } while (::FindNextFile(hFind, &fd));
269
  } while (::FindNextFile(hFind, &fd));
270
  ::FindClose(hFind);
270
  ::FindClose(hFind);
271
#else
271
#else
272
  int n = optind;
272
  int n = optind;
273
  while (n < m_argc) {
273
  while (n < m_argc) {
274
    m_vFiles.push_back( fs::path(m_argv[n], fs::native) );
274
    m_vFiles.push_back( fs::path(m_argv[n]) );
275
    ++n;
275
    ++n;
276
  }
276
  }
277
#endif
277
#endif

Return to bug 425364