From: Daniel Stenberg Date: Sat, 21 Aug 2021 20:56:48 +0000 (+0200) Subject: mksymbolsmanpage.pl: match symbols case insenitively X-Git-Tag: curl-7_79_0~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=342f92763ebc6d0ced4950eb06802f4ea4778a21;p=thirdparty%2Fcurl.git mksymbolsmanpage.pl: match symbols case insenitively Follow-up to 4e53b9430c750 which made this bug show. Reported-by: i-ky Bug: https://github.com/curl/curl/commit/4e53b9430c7504de8984796e2a2091ec16f27136#commitcomment-55239253 Closes #7607 --- diff --git a/docs/libcurl/mksymbolsmanpage.pl b/docs/libcurl/mksymbolsmanpage.pl index 5a117d628b..46ad80cdf4 100755 --- a/docs/libcurl/mksymbolsmanpage.pl +++ b/docs/libcurl/mksymbolsmanpage.pl @@ -6,7 +6,7 @@ # * | (__| |_| | _ <| |___ # * \___|\___/|_| \_\_____| # * -# * Copyright (C) 2015 - 2020, Daniel Stenberg, , et al. +# * Copyright (C) 2015 - 2021, Daniel Stenberg, , et al. # * # * This software is licensed as described in the file COPYING, which # * you should have received as part of this distribution. The terms @@ -69,7 +69,7 @@ HEADER ; while() { - if($_ =~ /^(CURL[A-Z0-9_.]*) *(.*)/) { + if($_ =~ /^(CURL[A-Z0-9_.]*) *(.*)/i) { my ($symbol, $rest)=($1,$2); my ($intro, $dep, $rem); if($rest =~ s/^([0-9.]*) *//) {