MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:June 14 2010 1:36pm
Subject:bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2911) Bug#54368
View as plain text  
#At file:///home/bm136801/my/crlf-51/ based on revid:bjorn.munch@stripped

 2911 Bjorn Munch	2010-06-14
      Bug #54368 MTR does not recognize carriage return in --defaults-file
      Remove any leftover trailing ^M from lines read in

    modified:
      mysql-test/lib/My/Config.pm
=== modified file 'mysql-test/lib/My/Config.pm'
--- a/mysql-test/lib/My/Config.pm	2008-09-05 13:31:09 +0000
+++ b/mysql-test/lib/My/Config.pm	2010-06-14 13:34:43 +0000
@@ -188,6 +188,8 @@ sub new {
 
   while (  my $line= <$F> ) {
     chomp($line);
+    # Remove any trailing CR from Windows edited files
+    $line=~ s/\cM$//;
 
     # [group]
     if ( $line =~ /^\[(.*)\]/ ) {


Attachment: [text/bzr-bundle] bzr/bjorn.munch@sun.com-20100614133443-dvtj33vxv9gq0ws6.bundle
Thread
bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2911) Bug#54368Bjorn Munch14 Jun