summaryrefslogtreecommitdiffstats
path: root/staticweb
diff options
context:
space:
mode:
Diffstat (limited to 'staticweb')
-rwxr-xr-xstaticweb/manbuilder.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/staticweb/manbuilder.pl b/staticweb/manbuilder.pl
index c135920a..f3b18cf4 100755
--- a/staticweb/manbuilder.pl
+++ b/staticweb/manbuilder.pl
@@ -56,8 +56,8 @@ sub build($$)
tie %bfh, 'BBSFileHeader', $basedir;
foreach( 0..($bfh{num} - 1) ){
next if( $bfh{"$_.filemode"} & 32 ); # skip HIDDEN
+ next if( !($fn = $bfh{"$_.filename"}) ); # skip empty filename
- $fn = $bfh{"$_.filename"};
if( $bfh{"$_.isdir"} ){
push @tdir, ["$doffset/$fn/", # ¥Ø¿ýµ²§À­n¥[ /
$db{"title-$doffset/$fn/"} = $bfh{"$_.title"}];