Revert "Make srcfile() return undef, if the file isn't there."
This reverts commit 1bde208ec9b915db0187030c33450b5accb4892c.master
parent
9330b91703
commit
bd1e29b8c4
|
@ -744,10 +744,7 @@ sub srcfile_stat {
|
|||
}
|
||||
|
||||
sub srcfile ($;$) {
|
||||
if (my @stat=srcfile_stat(@_)) {
|
||||
return $stat[0];
|
||||
}
|
||||
return undef
|
||||
return (srcfile_stat(@_))[0];
|
||||
}
|
||||
|
||||
sub add_underlay ($) {
|
||||
|
|
Loading…
Reference in New Issue