ruby-changes:23921
From: nobu <ko1@a...>
Date: Sat, 9 Jun 2012 07:44:58 +0900 (JST)
Subject: [ruby-changes:23921] nobu:r35972 (trunk): * remove trailing spaces.
nobu 2012-06-09 07:44:01 +0900 (Sat, 09 Jun 2012) New Revision: 35972 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35972 Log: * remove trailing spaces. Modified files: trunk/configure.in trunk/encoding.c trunk/process.c trunk/vm_backtrace.c Index: encoding.c =================================================================== --- encoding.c (revision 35971) +++ encoding.c (revision 35972) @@ -1792,15 +1792,15 @@ * output to ISO-8859-1 encoding, then read back in and transcoded to UTF-8: * * string = "R\u00E9sum\u00E9" - * + * * open("transcoded.txt", "w:ISO-8859-1") do |io| * io.write(string) * end - * + * * puts "raw text:" * p File.binread("transcoded.txt") * puts - * + * * open("transcoded.txt", "r:ISO-8859-1:UTF-8") do |io| * puts "transcoded text:" * p io.read @@ -1809,14 +1809,14 @@ * While writing the file, the internal encoding is not specified as it is * only necessary for reading. While reading the file both the internal and * external encoding must be specified to obtain the correct result. - * - * $ ruby t.rb + * + * $ ruby t.rb * raw text: * "R\xE9sum\xE9" * * transcoded text: * "R\u00E9sum\u00E9" - * + * */ void Index: configure.in =================================================================== --- configure.in (revision 35971) +++ configure.in (revision 35972) @@ -53,7 +53,7 @@ AC_DEFUN([RUBY_NACL], [ - AS_CASE(["${host_os}"], + AS_CASE(["${host_os}"], [nacl], [ ac_cv_exeext=.nexe host_vendor=chromium @@ -2462,7 +2462,7 @@ XRUBY='$(MINIRUBY)' TEST_RUNNABLE=no - if test "$host_os" = "nacl"; then + if test "$host_os" = "nacl"; then if test "$build_cpu" = "$host_cpu" || test "${nacl_cv_cpu_nick}" = "x86" -a "$host_cpu" = "i686"; then nacl_cv_sel_ldr='`$(MINIRUBY) $(srcdir)/nacl/nacl-config.rb sel_ldr`' nacl_cv_irt_core='`$(MINIRUBY) $(srcdir)/nacl/nacl-config.rb irt_core`' Index: vm_backtrace.c =================================================================== --- vm_backtrace.c (revision 35971) +++ vm_backtrace.c (revision 35972) @@ -1,6 +1,6 @@ /********************************************************************** - vm_backtrace.c - + vm_backtrace.c - $Author: ko1 $ created at: Sun Jun 03 00:14:20 2012 Index: process.c =================================================================== --- process.c (revision 35971) +++ process.c (revision 35972) @@ -2630,7 +2630,7 @@ } else { fprintf(stderr, "%s:%d: command not found: %s\n", - rb_sourcefile(), rb_sourceline(), + rb_sourcefile(), rb_sourceline(), RSTRING_PTR(e->use_shell ? e->invoke.sh.shell_script : e->invoke.cmd.command_name)); } ); @@ -2784,7 +2784,7 @@ } else { /* rb_protect() is required not only for non-NULL status - * but also for non-NULL chfunc because + * but also for non-NULL chfunc because * ep[0] and ep[1] should be closed on exceptions. * If status is NULL, the catched exception is re-raised * by rb_jump_tag() below, after closing them. */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/