changeset 25946:85f499b88c43 stable

maint: Strip trailing whitespace from source files.
author John W. Eaton <jwe@octave.org>
date Fri, 19 Oct 2018 12:13:07 -0400
parents 72f9d4f971e5
children 90186e77ae39 c2bf210ac94f
files build-aux/inplace_edit.pl doc/interpreter/plot.txi libinterp/corefcn/rand.cc
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/build-aux/inplace_edit.pl	Fri Oct 05 00:12:50 2018 +0200
+++ b/build-aux/inplace_edit.pl	Fri Oct 19 12:13:07 2018 -0400
@@ -16,15 +16,15 @@
 ## Loop over each file
 foreach $fname (@ARGV)
 {
-  rename ($fname, "$fname.$$") or die "Rename failed:$fname:$!"; 
-  open (my $FHI, "<", "$fname.$$") or die "Open failed:$fname.$$:$!";  
-  open (my $FHO, ">", "$fname") or die "Open failed:$fname:$!";  
+  rename ($fname, "$fname.$$") or die "Rename failed:$fname:$!";
+  open (my $FHI, "<", "$fname.$$") or die "Open failed:$fname.$$:$!";
+  open (my $FHO, ">", "$fname") or die "Open failed:$fname:$!";
 
   ## Loop over each line
   while (<$FHI>)
   {
     per_line_code ();
-    print $FHO $_;      
+    print $FHO $_;
   }
 
   close ($FHI);
--- a/doc/interpreter/plot.txi	Fri Oct 05 00:12:50 2018 +0200
+++ b/doc/interpreter/plot.txi	Fri Oct 19 12:13:07 2018 -0400
@@ -2667,7 +2667,7 @@
 toolkits (@qcode{"qt"} and @qcode{"fltk"}) by default.  This is done to avoid
 rendering and printing issues due to imperfect OpenGL driver implementations
 for diverse graphic cards from different vendors.  As a down-side, software
-rendering might be considerably slower than hardware accelerated rendering. 
+rendering might be considerably slower than hardware accelerated rendering.
 To permanently switch back to hardware accelerated rendering with your graphic
 card drivers, rename the following file while Octave is closed:
 
--- a/libinterp/corefcn/rand.cc	Fri Oct 05 00:12:50 2018 +0200
+++ b/libinterp/corefcn/rand.cc	Fri Oct 19 12:13:07 2018 -0400
@@ -267,7 +267,7 @@
                   {
                     ColumnVector s =
                       ColumnVector (args(idx+1).vector_value (false, true));
-                   
+
                     // Backwards compatibility with previous versions of
                     // Octave which mapped Inf to 0.
                     for (octave_idx_type i = 0; i < s.numel (); i++)