diff options
author | Austin Clements <amdragon@MIT.EDU> | 2012-05-24 18:01:12 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-05-24 21:53:19 -0300 |
commit | da170ee6573ca8a04f01ebf789250f6b4b4d3cf0 (patch) | |
tree | 669de55ffad596bb33441478356e0366432eba32 /INSTALL | |
parent | d99270c450d8f9ef3ecfbcbeeb99b581f36c9175 (diff) |
new: Merge error checks from add_files and add_files_recursive
Previously, add_files_recursive could have been called on a symlink to
a non-directory. Hence, calling it on a non-directory was not an
error, so a separate function, add_files, existed to fail loudly in
situations where the path had to be a directory.
With the new stat-ing logic, add_files_recursive is always called on
directories, so the separation of this logic is no longer necessary.
Hence, this patch moves the strict error checking previously done by
add_files into add_files_recursive.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions