Revert "Make srcfile() return undef, if the file isn't there."

This reverts commit 1bde208ec9b915db0187030c33450b5accb4892c.
master
David Riebenbauer 2010-02-03 02:35:19 +01:00
parent 9330b91703
commit bd1e29b8c4
1 changed files with 1 additions and 4 deletions

View File

@ -744,10 +744,7 @@ sub srcfile_stat {
} }
sub srcfile ($;$) { sub srcfile ($;$) {
if (my @stat=srcfile_stat(@_)) { return (srcfile_stat(@_))[0];
return $stat[0];
}
return undef
} }
sub add_underlay ($) { sub add_underlay ($) {