You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/Net-Telnet-Cisco/files/1.10-warning.patch

16 lines
571 B

https://bugs.gentoo.org/show_bug.cgi?id=192808
http://rt.cpan.org/Public/Bug/Display.html?id=7796
diff -ru Net-Telnet-Cisco-1.10/Cisco.pm Net-Telnet-Cisco-1.10/Cisco.pm
--- Net-Telnet-Cisco-1.10/Cisco.pm 2002-06-18 19:17:03.000000000 +0200
+++ Net-Telnet-Cisco-1.10/Cisco.pm 2008-05-08 20:59:09.000000000 +0200
@@ -753,7 +753,7 @@
1 while s/[^\cH\c?][\cH\c?]//mg; # ^H ^?
s/^.*\cU//mg; # ^U
- return wantarray ? split /$/mg, $_ : $_; # ORS instead?
+ return wantarray ? split /$/m, $_ : $_; # ORS instead?
}
# Lifted from Net::Telnet en toto