[Commits] [wesnoth/wesnoth] 50eb70: fs: Quietly ignore non-dir targets in get_files_in...
GitHub
noreply at github.com
Wed Dec 24 01:53:18 UTC 2014
Branch: refs/heads/1.12
Home: https://github.com/wesnoth/wesnoth
Commit: 50eb70943914b0da416a7423ddf42eb9076ed2f8
https://github.com/wesnoth/wesnoth/commit/50eb70943914b0da416a7423ddf42eb9076ed2f8
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.
More information about the Commits
mailing list