Mageia Bugzilla – Attachment 9978 Details for
Bug 22293
monitor-edid Unescaped left brace in regex is illegal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch by Björn Augustsson https://bugzilla.redhat.com/show_bug.cgi?id=1538829
monitor-edid-escape.patch (text/plain), 451 bytes, created by
Till Maas
on 2018-02-11 13:04:30 CET
(
hide
)
Description:
Patch by Björn Augustsson https://bugzilla.redhat.com/show_bug.cgi?id=1538829
Filename:
MIME Type:
Creator:
Till Maas
Created:
2018-02-11 13:04:30 CET
Size:
451 bytes
patch
obsolete
>From: Björn Augustsson <oggust@gmail.com> >--- tmp/monitor-parse-edid.orig 2018-01-31 15:32:01.272483507 +0100 >+++ tmp/monitor-parse-edid 2018-01-31 15:31:47.759339853 +0100 >@@ -732,7 +732,7 @@ > use Data::Dumper; > $Data::Dumper::Sortkeys = 1; > my $s = Dumper($edid); >- $s =~ s/.*? = {/+{/; # remove variable name we don't want >+ $s =~ s/.*? = \{/+{/; # remove variable name we don't want > $s =~ s/};$/}/m; > print $s; > } elsif ($MonitorsDB) {
From: Björn Augustsson <oggust@gmail.com> --- tmp/monitor-parse-edid.orig 2018-01-31 15:32:01.272483507 +0100 +++ tmp/monitor-parse-edid 2018-01-31 15:31:47.759339853 +0100 @@ -732,7 +732,7 @@ use Data::Dumper; $Data::Dumper::Sortkeys = 1; my $s = Dumper($edid); - $s =~ s/.*? = {/+{/; # remove variable name we don't want + $s =~ s/.*? = \{/+{/; # remove variable name we don't want $s =~ s/};$/}/m; print $s; } elsif ($MonitorsDB) {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22293
: 9978