Skip to content
Snippets Groups Projects
Commit 5d92d5cb authored by Florian Schlichting's avatar Florian Schlichting
Browse files

Add unrecognized_character_x17.patch (closes: #841252)

parent 88eb3da6
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,4 @@ hashbang.patch
fix-own-master-error
fix-pod
test.patch
unrecognized_character_x17.patch
Description: fix "unrecognized character \x17" error
$^W using Control-W was deprecated in 5.20 and became a hard error in 5.24
Author: Florian Schlichting <fsfs@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841252
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=118463
--- a/FileDialog.pm
+++ b/FileDialog.pm
@@ -607,10 +607,10 @@
#### PRIVATE METHODS AND SUBROUTINES ####
sub IsNum {
my($parm) = @_;
- my($warnSave) = $;
- $ = 0;
+ my($warnSave) = $^W;
+ $^W = 0;
my($res) = (($parm + 0) eq $parm);
- $ = $warnSave;
+ $^W = $warnSave;
return $res;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment