sfftobmp-3.1.2-boost_fs3.patch 538 B

12345678910111213141516171819202122
  1. http://bugs.gentoo.org/425364
  2. --- src/cmdline.cpp
  3. +++ src/cmdline.cpp
  4. @@ -264,14 +264,14 @@
  5. }
  6. do {
  7. if (!(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
  8. - m_vFiles.push_back( fs::path(fd.cFileName, fs::native) );
  9. + m_vFiles.push_back( fs::path(fd.cFileName) );
  10. }
  11. } while (::FindNextFile(hFind, &fd));
  12. ::FindClose(hFind);
  13. #else
  14. int n = optind;
  15. while (n < m_argc) {
  16. - m_vFiles.push_back( fs::path(m_argv[n], fs::native) );
  17. + m_vFiles.push_back( fs::path(m_argv[n]) );
  18. ++n;
  19. }
  20. #endif