ruby-changes:28145
From: nobu <ko1@a...>
Date: Tue, 9 Apr 2013 05:27:17 +0900 (JST)
Subject: [ruby-changes:28145] nobu:r40196 (trunk, ruby_1_9_3): * remove trailing spaces.
nobu 2013-04-09 05:27:01 +0900 (Tue, 09 Apr 2013) New Revision: 40196 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40196 Log: * remove trailing spaces. Modified files: branches/ruby_1_9_3/Makefile.in trunk/error.c trunk/ext/socket/rubysocket.h trunk/misc/ruby-electric.el trunk/test/socket/test_udp.rb Index: misc/ruby-electric.el =================================================================== --- misc/ruby-electric.el (revision 40195) +++ misc/ruby-electric.el (revision 40196) @@ -52,7 +52,7 @@ https://github.com/ruby/ruby/blob/trunk/misc/ruby-electric.el#L52 (defgroup ruby-electric nil "Minor mode providing electric editing commands for ruby files" - :group 'ruby) + :group 'ruby) (defconst ruby-electric-expandable-do-re "do\\s-$") Index: ext/socket/rubysocket.h =================================================================== --- ext/socket/rubysocket.h (revision 40195) +++ ext/socket/rubysocket.h (revision 40196) @@ -163,7 +163,7 @@ typedef union { https://github.com/ruby/ruby/blob/trunk/ext/socket/rubysocket.h#L163 #ifdef HAVE_TYPE_STRUCT_SOCKADDR_UN struct sockaddr_un un; #endif - struct sockaddr_storage storage; + struct sockaddr_storage storage; char place_holder[2048]; /* sockaddr_storage is not enough for Unix domain sockets on SunOS and Darwin. */ } union_sockaddr; Index: error.c =================================================================== --- error.c (revision 40195) +++ error.c (revision 40196) @@ -1187,12 +1187,12 @@ set_syserr(int n, const char *name) https://github.com/ruby/ruby/blob/trunk/error.c#L1187 if (!st_lookup(syserr_tbl, n, &error)) { error = rb_define_class_under(rb_mErrno, name, rb_eSystemCallError); - + /* capture nonblock errnos for WaitReadable/WaitWritable subclasses */ switch (n) { case EAGAIN: rb_eEAGAIN = error; - + #if EAGAIN != EWOULDBLOCK break; case EWOULDBLOCK: @@ -1204,7 +1204,7 @@ set_syserr(int n, const char *name) https://github.com/ruby/ruby/blob/trunk/error.c#L1204 rb_eEINPROGRESS = error; break; } - + rb_define_const(error, "Errno", INT2NUM(n)); st_add_direct(syserr_tbl, n, error); } Index: test/socket/test_udp.rb =================================================================== --- test/socket/test_udp.rb (revision 40195) +++ test/socket/test_udp.rb (revision 40196) @@ -45,7 +45,7 @@ class TestSocket_UDPSocket < Test::Unit: https://github.com/ruby/ruby/blob/trunk/test/socket/test_udp.rb#L45 in_use.bind(host, port) s = UDPSocket.new - + e = assert_raises(Errno::EADDRINUSE) do s.bind(host, port) end Index: ruby_1_9_3/Makefile.in =================================================================== --- ruby_1_9_3/Makefile.in (revision 40195) +++ ruby_1_9_3/Makefile.in (revision 40196) @@ -58,9 +58,9 @@ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrd https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/Makefile.in#L58 XCFLAGS = @XCFLAGS@ CPPFLAGS = @CPPFLAGS@ $(INCFLAGS) LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@ -EXTLDFLAGS = +EXTLDFLAGS = XLDFLAGS = @XLDFLAGS@ $(EXTLDFLAGS) -EXTLIBS = +EXTLIBS = LIBS = @LIBS@ $(EXTLIBS) MISSING = @LIBOBJS@ @ALLOCA@ LDSHARED = @LIBRUBY_LDSHARED@ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/