OpenSSL::Util::Pod: allow slashes in names
The names in the NAME section may describe headers, which contain a slash for OpenSSL headers. We deal with that by converting slashes to dashes for the file names. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8286)
This commit is contained in:
parent
7753be74a3
commit
4ca00f934f
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ sub extract_pod_info {
|
|||
$podinfo{lastsecttext} =~ s| - .*$||;
|
||||
|
||||
my @names =
|
||||
map { s|\s+||g; $_ }
|
||||
map { s|\s+||g; s|/|-|g; $_ }
|
||||
split(m|,|, $podinfo{lastsecttext});
|
||||
|
||||
return ( section => $podinfo{section}, names => [ @names ] );
|
||||
|
|
Loading…
Reference in a new issue