Bugzilla – Attachment 126802 Details for
Bug 29207
Restore Getopt::Long config to not ignore cases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29207: Getopt::Long should not ignore cases
Bug-29207-GetoptLong-should-not-ignore-cases.patch (text/plain), 2.16 KB, created by
Katrin Fischer
on 2021-10-24 10:44:40 UTC
(
hide
)
Description:
Bug 29207: Getopt::Long should not ignore cases
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-10-24 10:44:40 UTC
Size:
2.16 KB
patch
obsolete
>From f2f04f307e8de5ffa3eb1dc860fa4daa33a7b8cc Mon Sep 17 00:00:00 2001 >From: Petro Vashchuk <stalkernoid@gmail.com> >Date: Mon, 11 Oct 2021 16:52:08 +0300 >Subject: [PATCH] Bug 29207: Getopt::Long should not ignore cases > >To avoid Getopt::Long treating upper case and lower case options, >this patch restores removed ":config no_ignore_case". > >Steps to reproduce: >1. Start koha-z3950-responder deamon for any instance. >2. Check z3950.log log file, there should be >"[fatal] Failed to listen on ...-koha-z3950" in it. >3. Alternatively you can "curl localhost:2100/biblios?version=1.1 -v" >to ensure that it doesn't work "Failed to connect to localhost >port 2100: Connection refused". >4. Apply the patch. >5. Stop and start daemon again. >6. Check the logs again, there should be no new error there. >7. Same way do the curl to ensure that this time it listens on that port. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > misc/export_borrowers.pl | 2 +- > misc/load_yaml.pl | 2 +- > misc/z3950_responder.pl | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/misc/export_borrowers.pl b/misc/export_borrowers.pl >index 1a2dd7fab6..d433a55acc 100755 >--- a/misc/export_borrowers.pl >+++ b/misc/export_borrowers.pl >@@ -21,7 +21,7 @@ > > use Modern::Perl; > use Text::CSV; >-use Getopt::Long qw( GetOptions ); >+use Getopt::Long qw( GetOptions :config no_ignore_case ); > > use Koha::Script; > use C4::Context; >diff --git a/misc/load_yaml.pl b/misc/load_yaml.pl >index 873e69ed2c..6eece29637 100755 >--- a/misc/load_yaml.pl >+++ b/misc/load_yaml.pl >@@ -20,7 +20,7 @@ > use Modern::Perl; > > use Koha::Script; >-use Getopt::Long qw( GetOptions ); >+use Getopt::Long qw( GetOptions :config no_ignore_case ); > use C4::Context; > use C4::Installer; > >diff --git a/misc/z3950_responder.pl b/misc/z3950_responder.pl >index de61cd19e6..3c782c4090 100755 >--- a/misc/z3950_responder.pl >+++ b/misc/z3950_responder.pl >@@ -20,7 +20,7 @@ > use Modern::Perl; > > use File::Basename qw( fileparse ); >-use Getopt::Long qw( GetOptions ); >+use Getopt::Long qw( GetOptions :config no_ignore_case ); > use Pod::Usage qw( pod2usage ); > > use Koha::Config; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29207
:
126045
|
126686
| 126802