ruby-changes:22410
From: nobu <ko1@a...>
Date: Tue, 7 Feb 2012 14:46:57 +0900 (JST)
Subject: [ruby-changes:22410] nobu:r34459 (ruby_1_9_3): * removed trailing spaces.
nobu 2012-02-07 14:46:30 +0900 (Tue, 07 Feb 2012) New Revision: 34459 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34459 Log: * removed trailing spaces. Modified files: branches/ruby_1_9_3/ChangeLog branches/ruby_1_9_3/string.c branches/ruby_1_9_3/thread_pthread.c Index: ruby_1_9_3/ChangeLog =================================================================== --- ruby_1_9_3/ChangeLog (revision 34458) +++ ruby_1_9_3/ChangeLog (revision 34459) @@ -50,11 +50,11 @@ Mon Feb 6 21:52:20 2012 Yuki Sonoda (Yugui) <yugui@y...> * common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb - to man pages. Fixes #5598. + to man pages. Fixes #5598. (do-install-nodoc, do-install-local, do-install-man, dont-install-nodoc, dont-install-local, dont-install-man): No longer needs --mantype. - + Reported by Rainer Orth <ro AT cebitec.uni-bielefeld.de>, patch by George Koehler <xkernigh AT netscape.net>. @@ -728,11 +728,11 @@ Tue Aug 30 09:52:29 2011 KOSAKI Motohiro <kosaki.motohiro@g...> * backport r33117 from trunk. - + * thread.c (rb_thread_select): rewrite by using rb_thread_fd_select(). old one is EINTR unsafe. Patch by Eric Wong. [Bug #5229] [ruby-core:39102] - + * test/-ext-/old_thread_select/test_old_thread_select.rb: a testcase for rb_thread_select(). * ext/-test-/old_thread_select/old_thread_select.c: ditto. Index: ruby_1_9_3/thread_pthread.c =================================================================== --- ruby_1_9_3/thread_pthread.c (revision 34458) +++ ruby_1_9_3/thread_pthread.c (revision 34459) @@ -1088,7 +1088,7 @@ { #define CCP_READ_BUFF_SIZE 1024 /* buffer can be shared because no one refers to them. */ - static char buff[CCP_READ_BUFF_SIZE]; + static char buff[CCP_READ_BUFF_SIZE]; ssize_t result; retry: @@ -1148,11 +1148,11 @@ timeout.tv_usec = TIME_QUANTUM_USEC; /* polling (TIME_QUANTUM_USEC usec) */ - result = select(timer_thread_pipe[0] + 1, &rfds, 0, 0, &timeout); + result = select(timer_thread_pipe[0] + 1, &rfds, 0, 0, &timeout); } else { /* wait (infinite) */ - result = select(timer_thread_pipe[0] + 1, &rfds, 0, 0, 0); + result = select(timer_thread_pipe[0] + 1, &rfds, 0, 0, 0); } if (result == 0) { Index: ruby_1_9_3/string.c =================================================================== --- ruby_1_9_3/string.c (revision 34458) +++ ruby_1_9_3/string.c (revision 34459) @@ -5233,14 +5233,14 @@ * call-seq: * str.tr(from_str, to_str) => new_str * - * Returns a copy of <i>str</i> with the characters in <i>from_str</i> - * replaced by the corresponding characters in <i>to_str</i>. If + * Returns a copy of <i>str</i> with the characters in <i>from_str</i> + * replaced by the corresponding characters in <i>to_str</i>. If * <i>to_str</i> is shorter than <i>from_str</i>, it is padded with its last * character in order to maintain the correspondence. * * "hello".tr('el', 'ip') #=> "hippo" * "hello".tr('aeiou', '*') #=> "h*ll*" - * + * * Both strings may use the c1-c2 notation to denote ranges of characters, * and <i>from_str</i> may start with a <code>^</code>, which denotes all * characters except those listed. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/