# this strips both LF and CRLF.
$libdefs{$_} = $lib;
}
- close DEFS;
+ close DEFS or die "nm failed";
}
# Gather definitions from the object files.
# this strips both LF and CRLF.
$objdefs{$_} = $obj;
}
- close DEFS;
+ close DEFS or die "nm failed";
}
# Generate one entry in the <dl> list. This generates the <dt> and <dd> elements
}
}
}
- close UNDEFS;
+ close UNDEFS or die "nm failed";
unless(keys %DepLibs) {
# above failed
open UNDEFS, "$nmPath -g -u $Directory/$lib |";
}
}
}
+ close UNDEFS or die "nm failed";
}
for my $key (sort keys %DepLibs) {