Bugzilla – Attachment 100386 Details for
Bug 24545
Replace Franklin Street by gnu.org/licenses in copyright
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24545: Cannot return outside of sub
Bug-24545-Cannot-return-outside-of-sub.patch (text/plain), 903 bytes, created by
Jonathan Druart
on 2020-03-09 15:00:24 UTC
(
hide
)
Description:
Bug 24545: Cannot return outside of sub
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-09 15:00:24 UTC
Size:
903 bytes
patch
obsolete
>From 5b5e9b121ca43f2b270779b4297b7fb6c8324818 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 9 Mar 2020 15:59:41 +0100 >Subject: [PATCH] Bug 24545: Cannot return outside of sub > >We must die instead >--- > xt/find-license-problems.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/xt/find-license-problems.t b/xt/find-license-problems.t >index 0df167d6b3..de89e931ca 100755 >--- a/xt/find-license-problems.t >+++ b/xt/find-license-problems.t >@@ -42,7 +42,7 @@ sub wanted { > find({ wanted => \&wanted, no_chdir => 1 }, File::Spec->curdir()); > > foreach my $name (@files) { >- open( FILE, $name ) || return 0; >+ open( FILE, $name ) || die "cannot open file $name $!"; > my ( $hascopyright, $hasgpl, $hasv3, $hasorlater, $haslinktolicense, > $hasfranklinst, $is_not_us ) = (0)x7; > while ( my $line = <FILE> ) { >-- >2.20.1
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 24545
:
98232
|
98233
|
98270
|
98271
|
98278
|
99068
|
99069
|
99070
|
99502
|
99503
|
99504
|
99505
|
99506
|
99507
|
99513
|
99530
| 100386