[Commits] [wesnoth/wesnoth] 9d1eca: fs: Quietly ignore non-dir targets in get_files_in...

GitHub noreply at github.com
Wed Dec 24 01:53:16 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9d1ecacbb15d9f67775fd0f1c6e40d71c18c6875
      https://github.com/wesnoth/wesnoth/commit/9d1ecacbb15d9f67775fd0f1c6e40d71c18c6875
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-12-23 (Tue, 23 Dec 2014)

  Changed paths:
    M src/filesystem.cpp
    M src/filesystem_boost.cpp

  Log Message:
  -----------
  fs: Quietly ignore non-dir targets in get_files_in_dir() (BFS only)

The non-BFS implementation already ignored this case without making
noise in stderr, and this function is used by delete_directory(), which
also accepts both regular files and directories. The add-ons management
code has always relied on this behavior.


  Commit: c6bb5711b03e268de20528b8b4418c480d329f4a
      https://github.com/wesnoth/wesnoth/commit/c6bb5711b03e268de20528b8b4418c480d329f4a
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-12-23 (Tue, 23 Dec 2014)

  Changed paths:
    M src/config_cache.cpp

  Log Message:
  -----------
  Revert "Use delete_file() to delete reg files in config_cache::delete_cache_files()"

This reverts commit d06c39b714ef48e5e6dc96bc62a73c994f6e8c45.


Compare: https://github.com/wesnoth/wesnoth/compare/d06c39b714ef...c6bb5711b03e


More information about the Commits mailing list