[pdal-commits] [PDAL/PDAL] 9a970c: Make getFilename aware of portable path separator ...

GitHub noreply at github.com
Fri Feb 19 05:56:29 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/PDAL/PDAL
  Commit: 9a970cd9a828f09c7e2d6ab295498c3c0bfe8823
      https://github.com/PDAL/PDAL/commit/9a970cd9a828f09c7e2d6ab295498c3c0bfe8823
  Author: Mateusz Łoskot <mateusz at loskot.net>
  Date:   2016-02-18 (Thu, 18 Feb 2016)

  Changed paths:
    M src/util/FileUtils.cpp
    M test/unit/FileUtilsTest.cpp

  Log Message:
  -----------
  Make getFilename aware of portable path separator on Windows.

Previously, on Windows, getFilename always looked for preferred
separator only while it should look for both, preferred (backslash)
and portable (slash) which are equally supported by Windows.
PDAL in general seems to prefer portable slash separator anyway,
so this change only aligns the impl. with the tests, docs, etc.

Add more related test cases to FileUtilsTest.

Fixes #1131.


  Commit: 8b2eb4e41516945fb02656598ce10d408e23fc5b
      https://github.com/PDAL/PDAL/commit/8b2eb4e41516945fb02656598ce10d408e23fc5b
  Author: Andrew Bell <andrew.bell.ia at gmail.com>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M src/util/FileUtils.cpp
    M test/unit/FileUtilsTest.cpp

  Log Message:
  -----------
  Merge pull request #1139 from mloskot/ml/win-portable-path-sep

Make getFilename aware of portable path separator on Windows.


Compare: https://github.com/PDAL/PDAL/compare/80416ef988df...8b2eb4e41516


More information about the pdal-commits mailing list