projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9330b91
)
Revert "Make srcfile() return undef, if the file isn't there."
author
David Riebenbauer
<davrieb@liegesta.at>
Wed, 3 Feb 2010 01:35:19 +0000
(
02:35
+0100)
committer
David Riebenbauer
<davrieb@liegesta.at>
Wed, 3 Feb 2010 06:34:04 +0000
(07:34 +0100)
This reverts commit
1bde208ec9b915db0187030c33450b5accb4892c
.
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 7d7f430b3e3335d825eeb0c00b7b80b988c0f0d9..90e623330af4d760a9f941f14d04cf61b415b4c8 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-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 ($) {