fix bugs in `find_src_files()`.
authorDavid Riebenbauer <davrieb@liegesta.at>
Wed, 3 Feb 2010 05:57:20 +0000 (06:57 +0100)
committerDavid Riebenbauer <davrieb@liegesta.at>
Wed, 3 Feb 2010 06:34:04 +0000 (07:34 +0100)
commitda5d29f95f6e693e8c14be1b896cf25cf4fdb3c0
tree8963b1bd672f41a7dcaaf402acef24359f0651b5
parentbd1e29b8c4d2c2e0329789d1baf0a879617aeee4
fix bugs in `find_src_files()`.

Use `_` to avoid superfluous stat.

Check for `defined $file`, instead of just `$file`.

Add spaces after commas.

Change return values of `verify_src_file()` to not return the tainted filename.
Rename `$f` to `$file_untainted in `verify_src_file()`.
$f changes to `$file` in `find_src_files()`.

This attempts to fix commit f3abeac919c4736429bd3362af6edf51ede8e7fe.
For discussion see
<http://ikiwiki.info/todo/auto-create_tag_pages_according_to_a_template/>
IkiWiki/Render.pm