Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit 3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b 1 parent 39da1b6
@nobu nobu authored
Showing with 846 additions and 846 deletions.
  1. +18 −18 ChangeLog
  2. +1 −1  benchmark/driver.rb
  3. +2 −2 benchmark/other-lang/eval.rb
  4. +1 −1  benchmark/report.rb
  5. +3 −3 benchmark/run.rb
  6. +13 −13 bootstraptest/test_block.rb
  7. +7 −7 bootstraptest/test_exception.rb
  8. +1 −1  bootstraptest/test_flow.rb
  9. +4 −4 bootstraptest/test_jump.rb
  10. +3 −3 bootstraptest/test_method.rb
  11. +18 −18 bootstraptest/test_proc.rb
  12. +6 −6 bootstraptest/test_syntax.rb
  13. +2 −2 doc/rake/jamis.rb
  14. +3 −3 enc/big5.c
  15. +3 −3 enc/cp949.c
  16. +2 −2 enc/emacs_mule.c
  17. +4 −4 enc/euc_jp.c
  18. +2 −2 enc/euc_kr.c
  19. +4 −4 enc/euc_tw.c
  20. +4 −4 enc/gb18030.c
  21. +3 −3 enc/gbk.c
  22. +2 −2 enc/shift_jis.c
  23. +4 −4 enc/unicode.c
  24. +8 −8 enc/utf_8.c
  25. +1 −1  enum.c
  26. +5 −5 ext/bigdecimal/bigdecimal.c
  27. +1 −1  ext/date/date_parse.c
  28. +7 −7 ext/json/generator/generator.c
  29. +1 −1  ext/json/lib/json/common.rb
  30. +106 −106 ext/json/parser/parser.c
  31. +2 −2 ext/nkf/nkf-utf8/nkf.c
  32. +1 −1  ext/openssl/ossl_asn1.c
  33. +1 −1  ext/openssl/ossl_ssl.c
  34. +9 −9 ext/pathname/pathname.c
  35. +1 −1  ext/psych/lib/psych/nodes.rb
  36. +1 −1  ext/pty/lib/expect.rb
  37. +1 −1  ext/socket/option.c
  38. +41 −41 ext/tk/extconf.rb
  39. +4 −4 ext/tk/lib/multi-tk.rb
  40. +2 −2 ext/tk/lib/tk.rb
  41. +5 −5 ext/tk/lib/tk/autoload.rb
  42. +6 −6 ext/tk/lib/tk/fontchooser.rb
  43. +1 −1  ext/tk/lib/tk/menuspec.rb
  44. +1 −1  ext/tk/lib/tk/ttk_selector.rb
  45. +1 −1  ext/tk/lib/tkextlib/tcllib/canvas_sqmap.rb
  46. +1 −1  ext/tk/lib/tkextlib/tcllib/canvas_zoom.rb
  47. +2 −2 ext/tk/lib/tkextlib/tcllib/chatwidget.rb
  48. +1 −1  ext/tk/lib/tkextlib/tcllib/ip_entry.rb
  49. +2 −2 ext/tk/lib/tkextlib/tcllib/khim.rb
  50. +7 −7 ext/tk/lib/tkextlib/tcllib/plotchart.rb
  51. +1 −1  ext/tk/lib/tkextlib/tcllib/tablelist.rb
  52. +6 −6 ext/tk/lib/tkextlib/tcllib/tablelist_core.rb
  53. +1 −1  ext/tk/lib/tkextlib/tile/sizegrip.rb
  54. +1 −1  ext/tk/lib/tkextlib/tile/style.rb
  55. +1 −1  ext/tk/sample/editable_listbox.rb
  56. +1 −1  ext/tk/sample/menubar3.rb
  57. +1 −1  ext/tk/sample/safe-tk.rb
  58. +3 −3 ext/tk/sample/scrollframe.rb
  59. +3 −3 ext/tk/sample/tkalignbox.rb
  60. +3 −3 ext/tk/sample/tkballoonhelp.rb
  61. +5 −5 ext/tk/sample/tkcombobox.rb
  62. +1 −1  ext/tk/stubs.c
  63. +5 −5 ext/tk/tcltklib.c
  64. +4 −4 ext/win32ole/win32ole.c
  65. +15 −15 ext/zlib/zlib.c
  66. +1 −1  include/ruby/win32.h
  67. +2 −2 io.c
  68. +2 −2 lib/erb.rb
  69. +1 −1  lib/irb/completion.rb
  70. +3 −3 lib/irb/init.rb
  71. +8 −8 lib/irb/inspector.rb
  72. +1 −1  lib/irb/locale.rb
  73. +2 −2 lib/irb/ruby-lex.rb
  74. +3 −3 lib/mkmf.rb
  75. +1 −1  lib/net/imap.rb
  76. +3 −3 lib/rdoc/markup/formatter_test_case.rb
  77. +1 −1  lib/rdoc/parser.rb
  78. +1 −1  lib/rdoc/parser/ruby.rb
  79. +1 −1  lib/rdoc/ruby_lex.rb
  80. +1 −1  lib/rubygems/commands/server_command.rb
  81. +1 −1  lib/rubygems/ext/builder.rb
  82. +1 −1  lib/rubygems/package/tar_writer.rb
  83. +10 −10 lib/set.rb
  84. +2 −2 lib/thwait.rb
  85. +4 −4 lib/tracer.rb
  86. +7 −7 lib/uri/common.rb
  87. +1 −1  lib/uri/ftp.rb
  88. +6 −6 lib/uri/generic.rb
  89. +2 −2 lib/webrick/httpservlet/filehandler.rb
  90. +2 −2 lib/yaml/dbm.rb
  91. +1 −1  missing/alloca.c
  92. +2 −2 missing/flock.c
  93. +1 −1  missing/isinf.c
  94. +1 −1  missing/langinfo.c
  95. +2 −2 missing/os2.c
  96. +1 −1  numeric.c
  97. +6 −6 pack.c
  98. +1 −1  prelude.rb
  99. +1 −1  random.c
  100. +5 −5 sample/biorhythm.rb
  101. +1 −1  sample/drb/darray.rb
  102. +2 −2 sample/drb/darrayc.rb
  103. +2 −2 sample/drb/dbiff.rb
  104. +2 −2 sample/drb/dchatc.rb
  105. +1 −1  sample/drb/dchats.rb
  106. +2 −2 sample/drb/dhasen.rb
  107. +1 −1  sample/drb/dhasenc.rb
  108. +1 −1  sample/drb/dlogc.rb
  109. +1 −1  sample/drb/dlogd.rb
  110. +1 −1  sample/drb/dqin.rb
  111. +1 −1  sample/drb/dqout.rb
  112. +1 −1  sample/drb/dqueue.rb
  113. +1 −1  sample/drb/drbc.rb
  114. +1 −1  sample/drb/drbch.rb
  115. +3 −3 sample/drb/drbm.rb
  116. +1 −1  sample/drb/drbmc.rb
  117. +3 −3 sample/drb/drbs-acl.rb
  118. +2 −2 sample/drb/drbs.rb
  119. +6 −6 sample/drb/extserv_test.rb
  120. +1 −1  sample/drb/holderc.rb
  121. +3 −3 sample/drb/holders.rb
  122. +3 −3 sample/drb/http0.rb
  123. +6 −6 sample/drb/http0serv.rb
  124. +8 −8 sample/drb/name.rb
  125. +1 −1  sample/drb/namec.rb
  126. +3 −3 sample/drb/old_tuplespace.rb
  127. +1 −1  sample/drb/ring_echo.rb
  128. +3 −3 sample/drb/simpletuple.rb
  129. +1 −1  sample/drb/speedc.rb
  130. +2 −2 sample/drb/speeds.rb
  131. +1 −1  sample/from.rb
  132. +1 −1  sample/fullpath.rb
  133. +1 −1  sample/list2.rb
  134. +1 −1  sample/list3.rb
  135. +1 −1  sample/openssl/certstore.rb
  136. +1 −1  sample/openssl/smime_write.rb
  137. +2 −2 sample/rss/re_read.rb
  138. +1 −1  sample/svr.rb
  139. +11 −11 sample/test.rb
  140. +1 −1  sample/trojan.rb
  141. +1 −1  signal.c
  142. +1 −1  test/dl/test_func.rb
  143. +1 −1  test/json/test_json.rb
  144. +1 −1  test/json/test_json_addition.rb
  145. +1 −1  test/logger/test_logger.rb
  146. +2 −2 test/minitest/test_minitest_mock.rb
  147. +9 −9 test/open-uri/test_ssl.rb
  148. +2 −2 test/openssl/test_asn1.rb
  149. +2 −2 test/openssl/test_x509cert.rb
  150. +2 −2 test/openssl/test_x509crl.rb
  151. +2 −2 test/openssl/test_x509req.rb
  152. +1 −1  test/psych/test_null.rb
  153. +1 −1  test/psych/test_struct.rb
  154. +2 −2 test/rake/in_environment.rb
  155. +15 −15 test/rake/test_application.rb
  156. +2 −2 test/rake/test_definitions.rb
  157. +1 −1  test/rake/test_earlytime.rb
  158. +2 −2 test/rake/test_extension.rb
  159. +1 −1  test/rake/test_file_task.rb
  160. +11 −11 test/rake/test_filelist.rb
  161. +5 −5 test/rake/test_fileutils.rb
  162. +1 −1  test/rake/test_multitask.rb
  163. +1 −1  test/rake/test_pathmap.rb
  164. +1 −1  test/rake/test_rake.rb
  165. +1 −1  test/rake/test_task_arguments.rb
  166. +2 −2 test/rake/test_task_manager.rb
  167. +1 −1  test/rake/test_test_task.rb
  168. +1 −1  test/rdoc/test_rdoc_context_section.rb
  169. +1 −1  test/rdoc/test_rdoc_parser_ruby.rb
  170. +3 −3 test/readline/test_readline.rb
  171. +2 −2 test/rexml/test_attributes.rb
  172. +9 −9 test/rexml/test_contrib.rb
  173. +7 −7 test/rexml/test_doctype.rb
  174. +6 −6 test/rexml/test_elements.rb
  175. +1 −1  test/rexml/test_encoding_2.rb
  176. +5 −5 test/rexml/test_entity.rb
  177. +1 −1  test/rexml/test_functions.rb
  178. +23 −23 test/rexml/test_jaxen.rb
  179. +2 −2 test/rexml/test_light.rb
  180. +3 −3 test/rexml/test_listener.rb
  181. +3 −3 test/rexml/test_notationdecl_mixin.rb
  182. +1 −1  test/rexml/test_notationdecl_parsetest.rb
  183. +5 −5 test/rexml/test_pullparser.rb
  184. +7 −7 test/rexml/test_sax.rb
  185. +4 −4 test/rexml/test_stream.rb
  186. +3 −3 test/rexml/test_validation_rng.rb
  187. +3 −3 test/rexml/test_xml_declaration_parent_child.rb
  188. +53 −53 test/rexml/test_xpath.rb
  189. +14 −14 test/rexml/test_xpath_attribute_query.rb
  190. +3 −3 test/rexml/test_xpath_pred.rb
  191. +1 −1  test/ruby/test_marshal.rb
  192. +1 −1  test/ruby/test_module.rb
  193. +1 −1  test/ruby/test_super.rb
  194. +1 −1  test/ruby/test_time.rb
  195. +7 −7 test/rubygems/test_gem_commands_unpack_command.rb
  196. +4 −4 test/rubygems/test_gem_platform.rb
  197. +2 −2 test/rubygems/test_gem_silent_ui.rb
  198. +1 −1  test/syck/test_null.rb
  199. +1 −1  test/syck/test_struct.rb
  200. +2 −2 test/syck/test_yaml.rb
  201. +1 −1  test/test_pstore.rb
  202. +1 −1  test/thread/test_queue.rb
  203. +1 −1  test/webrick/test_cookie.rb
  204. +2 −2 test/webrick/test_httprequest.rb
  205. +1 −1  test/win32ole/test_win32ole_variant.rb
  206. +14 −14 time.c
  207. +3 −3 tool/asm_parse.rb
  208. +1 −1  tool/eval.rb
  209. +10 −10 tool/instruction.rb
  210. +3 −3 tool/mdoc2man.rb
  211. +1 −1  tool/strip-rdoc.rb
  212. +1 −1  tool/transcode-tblgen.rb
View
36 ChangeLog
@@ -21,7 +21,7 @@ Sat May 14 22:45:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Sat May 14 19:52:22 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
- add for $0 test.
+ add for $0 test.
Sat May 14 19:50:46 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
@@ -50,10 +50,10 @@ Sat May 14 17:42:21 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
Sat May 14 12:12:54 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
- * test/openssl/test_pkey_dsa.rb: Add basic tests and tests that
- ensure new public key PEM encoding behavior and ensure backward
- compatibility.
- [Ruby 1.9 - Bug #4422] [ruby-core:35328]
+ * test/openssl/test_pkey_dsa.rb: Add basic tests and tests that
+ ensure new public key PEM encoding behavior and ensure backward
+ compatibility.
+ [Ruby 1.9 - Bug #4422] [ruby-core:35328]
* test/openssl/test_pkey_rsa.rb: Remove line with 'puts'.
Sat May 14 12:06:49 2011 Eric Hodel <drbrain@segment7.net>
@@ -64,8 +64,8 @@ Sat May 14 12:06:49 2011 Eric Hodel <drbrain@segment7.net>
Sat May 14 10:32:36 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkey_rsa.rb: Add tests that ensure new public key
- encoding behavior and also ensure backward compatibility.
- [Ruby 1.9 - Bug #4421] [ruby-core:35327]
+ encoding behavior and also ensure backward compatibility.
+ [Ruby 1.9 - Bug #4421] [ruby-core:35327]
Sat May 14 09:50:10 2011 Eric Hodel <drbrain@segment7.net>
@@ -87,7 +87,7 @@ Sat May 14 05:08:32 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey.c
* ext/openssl/ossl_pkey.h
* test/openssl/pkey/test_pkey_rsa.rb
- Reverted premature commit. Sorry for the noise!
+ Reverted premature commit. Sorry for the noise!
Sat May 14 05:02:58 2011 Eric Hodel <drbrain@segment7.net>
@@ -97,8 +97,8 @@ Sat May 14 05:02:58 2011 Eric Hodel <drbrain@segment7.net>
Sat May 14 04:19:06 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* NEWS: Describe altered behaviour for RSA and DSA public key
- encoding. [Ruby 1.9 - Bug #4421, Bug #4422]
- [ruby-core:35327,35328]
+ encoding. [Ruby 1.9 - Bug #4421, Bug #4422]
+ [ruby-core:35327,35328]
Sat May 14 02:57:52 2011 Eric Hodel <drbrain@segment7.net>
@@ -488,7 +488,7 @@ Fri May 6 23:29:47 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Fri May 6 23:13:43 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: remove nanosleep check. we no longer use it.
- r20124 removed last usage.
+ r20124 removed last usage.
Fri May 6 22:35:56 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
@@ -551,7 +551,7 @@ Thu May 5 15:03:51 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* eval.c (frame_func_id): __method__ return different name from
methods defined by Module#define_method with a same block.
[ruby-core:35386] fixes #4606
- * eval (method_entry_of_iseq): new helper function. search control
+ * eval.c (method_entry_of_iseq): new helper function. search control
frame stack for a method entry which has given iseq.
* test/ruby/test_method.rb: add tests for #4696
@@ -573,14 +573,14 @@ Wed May 4 21:11:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Wed May 4 20:22:12 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (Init_IO): Added File::CLOEXEC constant.
- [ruby-core:22893] [Feature #1291]
+ [ruby-core:22893] [Feature #1291]
* test/ruby/test_io.rb (TestIO#test_o_cloexec): test for File::CLOEXEC.
Wed May 4 19:00:59 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_wait_for_single_fd): Fix wrong return value.
* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
- (TestWaitForSingleFD#test_wait_for_closed_pipe): test for it.
+ (TestWaitForSingleFD#test_wait_for_closed_pipe): test for it.
Wed May 4 18:46:39 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
@@ -1201,7 +1201,7 @@ Tue Apr 12 01:33:00 2011 Luis Lavena <luislavena@gmail.com>
* configure.in: properly evaluate existence of truncate, ftruncate
and ftello for MinGW. [ruby-core:35678]
- * win32/win32.c: rename truncate, ftruncate and ftello to avoid
+ * win32/win32.c: rename truncate, ftruncate and ftello to avoid
redefinitions.
* win32/win32.h: ditto.
@@ -1409,11 +1409,11 @@ Tue Mar 29 05:19:57 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/raddrinfo.c: parenthesize macro arguments.
-Tue Mar 29 00:03:51 2011 Tajima Akio <artonx@yahoo.co.jp>
+Tue Mar 29 00:03:51 2011 Tajima Akio <artonx@yahoo.co.jp>
* test/webrick/test_filehandler.rb (test_short_filename):
- read real short filename by cmd because smb mounted files
- have different naming convention.
+ read real short filename by cmd because smb mounted files
+ have different naming convention.
Mon Mar 28 11:38:08 2011 NARUSE, Yui <naruse@ruby-lang.org>
View
2  benchmark/driver.rb
@@ -48,7 +48,7 @@ def message_print *args
def progress_message *args
unless STDOUT.tty?
- STDERR.print(*args)
+ STDERR.print(*args)
STDERR.flush
end
end
View
4 benchmark/other-lang/eval.rb
@@ -51,14 +51,14 @@ def bench cmd
require 'pp'
# utime
-puts Lang.join("\t")
+puts Lang.join("\t")
Bench.each_with_index{|b, bi|
print b, "\t"
puts Result[bi].map{|e| e[0]}.join("\t")
}
# rtime
-puts Lang.join("\t")
+puts Lang.join("\t")
Bench.each_with_index{|b, bi|
print b, "\t"
puts Result[bi].map{|e| e[1]}.join("\t")
View
2  benchmark/report.rb
@@ -25,7 +25,7 @@ def exec_command type, file, w
def benchmark cmd
rubybin = ENV['RUBY'] || RbConfig.ruby
-
+
IO.popen(rubybin, 'r+'){|io|
io.write cmd
io.close_write
View
6 benchmark/run.rb
@@ -33,8 +33,8 @@ def bm file
bm_name = $1
puts '-----------------------------------------------------------' unless $rubyonly || $matzrubyonly
puts "#{bm_name}: "
-
-
+
+
puts <<EOS unless $matzrubyonly || $rubyonly
#{prog}
--
@@ -93,7 +93,7 @@ def matzruby_exec file
ARGV.delete_if{|arg|
/\A-/ =~ arg
}
-
+
puts "MatzRuby:"
system("#{$matzruby_program} -v")
puts "Ruby:"
View
26 bootstraptest/test_block.rb
@@ -75,7 +75,7 @@ def each
}
end
end
-
+
C.new.to_a
}
assert_equal %q{[4, 5, 6]}, %q{
@@ -87,7 +87,7 @@ def each
}
end
end
-
+
C.new.map{|e|
e + 3
}
@@ -110,7 +110,7 @@ def n
def m
yield 1
end
-
+
m{|ib|
m{|jb|
i = 20
@@ -121,7 +121,7 @@ def m
def m
yield 1
end
-
+
m{|ib|
m{|jb|
ib = 20
@@ -135,11 +135,11 @@ def iter1
yield
}
end
-
+
def iter2
yield
end
-
+
iter1{
jb = 2
iter1{
@@ -154,11 +154,11 @@ def iter1
yield
}
end
-
+
def iter2
yield
end
-
+
iter1{
jb = 2
iter1{
@@ -226,11 +226,11 @@ def iter
}
assert_equal %q{[1]}, %q{
$a = []
-
+
def iter
yield 1
end
-
+
def m
x = iter{|x|
$a << x
@@ -450,7 +450,7 @@ def each
end
vs1 = []
C.new.each {|*v| vs1 << v }
- vs2 = []
+ vs2 = []
C.new.to_enum.each {|*v| vs2 << v }
vs1 == vs2 ? :ok : :ng
}, '[ruby-dev:32329]'
@@ -468,9 +468,9 @@ def each
def m() yield nil,[] end
l = lambda {|*v| v}
GC.stress=true
- r = m(&l)
+ r = m(&l)
GC.stress=false
- r.inspect
+ r.inspect
}, '[ruby-dev:32567]'
assert_equal NilClass.to_s, %q{
View
14 bootstraptest/test_exception.rb
@@ -97,7 +97,7 @@ def m
def m
$!
end
-
+
begin
begin
raise "FOO"
@@ -205,11 +205,11 @@ def m a, b
assert_equal %q{ok3}, %q{
class E1 < Exception
end
-
+
def m
yield
end
-
+
begin
begin
begin
@@ -239,7 +239,7 @@ def m
$i += 2
break
ensure
-
+
end
ensure
$i += 4
@@ -247,7 +247,7 @@ def m
$i = 0
}
end
-
+
def iter
yield
end
@@ -349,7 +349,7 @@ def m
7+7
end
}
-assert_equal %q{ok}, %q{ #
+assert_equal %q{ok}, %q{ #
proc{
begin
raise
@@ -376,7 +376,7 @@ class C
def inspect
bar {}
end
-
+
def bar
raise
ensure
View
2  bootstraptest/test_flow.rb
@@ -29,7 +29,7 @@ def lines
end
end
end
-
+
('a').lines.map{|e|
break :ok
}
View
8 bootstraptest/test_jump.rb
@@ -100,7 +100,7 @@ def all_?
def m
yield
end
-
+
m{
begin
ensure
@@ -190,7 +190,7 @@ def m
$i = 100
end
end
-
+
def iter
yield
end
@@ -216,7 +216,7 @@ def m
return 1
end
end
-
+
m
}
assert_equal %q{1}, %q{
@@ -227,7 +227,7 @@ def m
return 1
end
end
-
+
m
}
assert_equal 'ok', %q{
View
6 bootstraptest/test_method.rb
@@ -914,7 +914,7 @@ def test
o1 = c1.new
o2 = c2.new
-
+
test{o1.m}
test{o2.mm}
test{o1.send :m}
@@ -1074,7 +1074,7 @@ class Foo
def regular(a, b, *c)
[a, b, c]
end
- regular(*[], 1, *[], *[2, 3], *[], 4)
+ regular(*[], 1, *[], *[2, 3], *[], 4)
}, '[ruby-core:19413]'
assert_equal '[1, [:foo, 3, 4, :foo]]', %q{
@@ -1093,7 +1093,7 @@ def m
end
class B < A
- define_method(:m) do
+ define_method(:m) do
['B', super()]
end
end
View
36 bootstraptest/test_proc.rb
@@ -2,11 +2,11 @@
def getproc &b
b
end
-
+
def m
yield
end
-
+
m{
i = 1
m{
@@ -24,14 +24,14 @@ def m
def make_proc(&b)
b
end
-
+
def make_closure
a = 0
make_proc{
a+=1
}
end
-
+
cl = make_closure
cl.call + cl.call * cl.call
}
@@ -41,7 +41,7 @@ def foo
:ok
end
end
-
+
def block
C.method(:new).to_proc
end
@@ -52,7 +52,7 @@ def block
def proc &b
b
end
-
+
pr = []
proc{|i_b|
p3 = proc{|j_b|
@@ -63,18 +63,18 @@ def proc &b
p3.call(1)
p3.call(2)
}.call(0)
-
+
pr[0].call(:last).concat pr[1].call(:last)
}
assert_equal %q{12}, %q{
def iter
yield
end
-
+
def getproc &b
b
end
-
+
iter{
bvar = 3
getproc{
@@ -87,11 +87,11 @@ def getproc &b
def iter
yield
end
-
+
def getproc &b
b
end
-
+
loc1 = 0
pr1 = iter{
bl1 = 1
@@ -101,7 +101,7 @@ def getproc &b
loc1 + bl1
}
}
-
+
pr2 = iter{
bl1 = 1
getproc{
@@ -110,7 +110,7 @@ def getproc &b
loc1 + bl1
}
}
-
+
pr1.call; pr2.call
pr1.call; pr2.call
pr1.call; pr2.call
@@ -120,21 +120,21 @@ def getproc &b
def proc(&pr)
pr
end
-
+
def m
a = 1
m2{
a
}
end
-
+
def m2
b = 2
proc{
[yield, b]
}
end
-
+
pr = m
x = ['a', 1,2,3,4,5,6,7,8,9,0,
1,2,3,4,5,6,7,8,9,0,
@@ -147,14 +147,14 @@ def m2
def proc(&pr)
pr
end
-
+
def m
a = 1
m2{
a
}
end
-
+
def m2
b = 2
proc{
View
12 bootstraptest/test_syntax.rb
@@ -110,7 +110,7 @@ def test(arg)
end
return arg
end
-
+
test(100)
}
assert_equal %q{ok}, %q{
@@ -169,7 +169,7 @@ def make_perm ary, num
res
end
end
-
+
def each_test
conds = make_perm(['fv', 'tv'], 3)
bangs = make_perm(['', '!'], 3)
@@ -184,10 +184,10 @@ def each_test
}
}
end
-
+
fv = false
tv = true
-
+
$ans = []
each_test{|syn, conds, bangs, exprs|
c1, c2, c3 = conds
@@ -695,7 +695,7 @@ def foo
while true
counter -= 1
break if counter == 0
- next
+ next
redo
end
:ok
@@ -706,7 +706,7 @@ def foo
while true
counter -= 1
break if counter == 0
- next
+ next
"#{ redo }"
end
:ok
View
4 doc/rake/jamis.rb
@@ -183,7 +183,7 @@ module Page
CSS
XHTML_PREAMBLE = %{<?xml version="1.0" encoding="%charset%"?>
-<!DOCTYPE html
+<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
}
@@ -510,7 +510,7 @@ module Page
<!--
body {
background-color: #EEE;
- font-family: #{FONTS};
+ font-family: #{FONTS};
color: #000;
margin: 0px;
}
View
6 enc/big5.c
@@ -107,7 +107,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
},
{ /* S1 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -125,7 +125,7 @@ static const signed char trans[][0x100] = {
/* c */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* d */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* e */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
- /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
+ /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
},
{ /* S2 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
@@ -260,7 +260,7 @@ big5_left_adjust_char_head(const UChar* start, const UChar* s, const UChar* end,
p++;
break;
}
- }
+ }
}
len = enclen(enc, p, end);
if (p + len > s) return (UChar* )p;
View
6 enc/cp949.c
@@ -90,7 +90,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
},
{ /* S1 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -108,7 +108,7 @@ static const signed char trans[][0x100] = {
/* c */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* d */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* e */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
- /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
+ /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
}
};
#undef A
@@ -179,7 +179,7 @@ cp949_left_adjust_char_head(const UChar* start, const UChar* s, const UChar* end
p++;
break;
}
- }
+ }
}
len = enclen(enc, p, end);
if (p + len > s) return (UChar* )p;
View
4 enc/emacs_mule.c
@@ -103,7 +103,7 @@ static const signed char trans[][0x100] = {
/* c */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* d */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* e */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
- /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A
+ /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A
},
{ /* S2 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -121,7 +121,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
},
{ /* S3 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
View
8 enc/euc_jp.c
@@ -71,7 +71,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
},
{ /* S1 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -89,7 +89,7 @@ static const signed char trans[][0x100] = {
/* c */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* d */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* e */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
- /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
+ /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
},
{ /* S2 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -107,7 +107,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
},
};
@@ -192,7 +192,7 @@ code_to_mbc(OnigCodePoint code, UChar *buf, OnigEncoding enc)
#if 1
if (enclen(enc, buf, p) != (p - buf))
return ONIGERR_INVALID_CODE_POINT_VALUE;
-#endif
+#endif
return (int)(p - buf);
}
View
4 enc/euc_kr.c
@@ -68,7 +68,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
},
{ /* S1 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -86,7 +86,7 @@ static const signed char trans[][0x100] = {
/* c */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* d */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* e */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
- /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
+ /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
}
};
#undef A
View
8 enc/euc_tw.c
@@ -68,7 +68,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
},
{ /* S1 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -86,7 +86,7 @@ static const signed char trans[][0x100] = {
/* c */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* d */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* e */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
- /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
+ /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
},
{ /* S2 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -104,7 +104,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* d */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* e */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
- /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
},
{ /* S3 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -122,7 +122,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
}
};
#undef A
View
8 enc/gb18030.c
@@ -82,7 +82,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
},
{ /* S1 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -100,7 +100,7 @@ static const signed char trans[][0x100] = {
/* c */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* d */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* e */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
- /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
+ /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
},
{ /* S2 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -118,7 +118,7 @@ static const signed char trans[][0x100] = {
/* c */ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
/* d */ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
/* e */ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- /* f */ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, F
+ /* f */ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, F
},
{ /* S3 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -136,7 +136,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* d */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* e */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
- /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
}
};
#undef A
View
6 enc/gbk.c
@@ -90,7 +90,7 @@ static const signed char trans[][0x100] = {
/* c */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
+ /* f */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, F
},
{ /* S1 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -108,7 +108,7 @@ static const signed char trans[][0x100] = {
/* c */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* d */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
/* e */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A,
- /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
+ /* f */ A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, F
}
};
#undef A
@@ -179,7 +179,7 @@ gbk_left_adjust_char_head(const UChar* start, const UChar* s, const UChar* end,
p++;
break;
}
- }
+ }
}
len = enclen(enc, p, end);
if (p + len > s) return (UChar* )p;
View
4 enc/shift_jis.c
@@ -208,7 +208,7 @@ is_mbc_ambiguous(OnigCaseFoldType flag,
const UChar** pp, const UChar* end)
{
return onigenc_mbn_is_mbc_ambiguous(enc, flag, pp, end);
-
+
}
#endif
@@ -243,7 +243,7 @@ left_adjust_char_head(const UChar* start, const UChar* s, const UChar* end, Onig
p++;
break;
}
- }
+ }
}
len = enclen(enc, p, end);
if (p + len > s) return (UChar* )p;
View
8 enc/unicode.c
@@ -2244,7 +2244,7 @@ onigenc_unicode_mbc_case_fold(OnigEncoding enc,
if (onig_st_lookup(FoldTable, (st_data_t )code, (void* )&to) != 0) {
if (to->n == 1) {
- return ONIGENC_CODE_TO_MBC(enc, to->code[0], fold);
+ return ONIGENC_CODE_TO_MBC(enc, to->code[0], fold);
}
#if 0
/* NO NEEDS TO CHECK */
@@ -2350,7 +2350,7 @@ onigenc_unicode_apply_all_case_fold(OnigCaseFoldType flag,
for (j = 0; j < CaseUnfold_12[i].to.n; j++) {
r = (*f)(CaseUnfold_12[i].to.code[j],
(OnigCodePoint* )CaseUnfold_12[i].from, 2, arg);
- if (r != 0) return r;
+ if (r != 0) return r;
for (k = 0; k < CaseUnfold_12[i].to.n; k++) {
if (k == j) continue;
@@ -2369,7 +2369,7 @@ onigenc_unicode_apply_all_case_fold(OnigCaseFoldType flag,
for (j = 0; j < CaseUnfold_12_Locale[i].to.n; j++) {
r = (*f)(CaseUnfold_12_Locale[i].to.code[j],
(OnigCodePoint* )CaseUnfold_12_Locale[i].from, 2, arg);
- if (r != 0) return r;
+ if (r != 0) return r;
for (k = 0; k < CaseUnfold_12_Locale[i].to.n; k++) {
if (k == j) continue;
@@ -2389,7 +2389,7 @@ onigenc_unicode_apply_all_case_fold(OnigCaseFoldType flag,
for (j = 0; j < CaseUnfold_13[i].to.n; j++) {
r = (*f)(CaseUnfold_13[i].to.code[j],
(OnigCodePoint* )CaseUnfold_13[i].from, 3, arg);
- if (r != 0) return r;
+ if (r != 0) return r;
for (k = 0; k < CaseUnfold_13[i].to.n; k++) {
if (k == j) continue;
View
16 enc/utf_8.c
@@ -84,7 +84,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* d */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
/* e */ 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3,
- /* f */ 5, 6, 6, 6, 7, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ 5, 6, 6, 6, 7, F, F, F, F, F, F, F, F, F, F, F
},
{ /* S1 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -102,7 +102,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* d */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* e */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
- /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
},
{ /* S2 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -120,7 +120,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* d */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* e */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
- /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
},
{ /* S3 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -138,7 +138,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* d */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* e */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
- /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
},
{ /* S4 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -156,7 +156,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* d */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* e */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
- /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
},
{ /* S5 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -174,7 +174,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* d */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* e */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
- /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
},
{ /* S6 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -192,7 +192,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* d */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* e */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
- /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
},
{ /* S7 0 1 2 3 4 5 6 7 8 9 a b c d e f */
/* 0 */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
@@ -210,7 +210,7 @@ static const signed char trans[][0x100] = {
/* c */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* d */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
/* e */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F,
- /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
+ /* f */ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F
},
};
#undef A
View
2  enum.c
@@ -1668,7 +1668,7 @@ enum_each_with_index(int argc, VALUE *argv, VALUE obj)
* (1..3).reverse_each {|v| p v }
*
* produces:
- *
+ *
* 3
* 2
* 1
View
10 ext/bigdecimal/bigdecimal.c
@@ -4645,9 +4645,9 @@ VpMidRound(Real *y, unsigned short f, ssize_t nf)
/* so the representation used (in y->frac) is an array of BDIGIT, where
each BDIGIT contains a value between 0 and BASE-1, consisting of BASE_FIG
decimal places.
-
+
(that numbers of decimal places are typed as ssize_t is somewhat confusing)
-
+
nf is now position (in decimal places) of the digit from the start of
the array.
ix is the position (in BDIGITS) of the BDIGIT containing the decimal digit,
@@ -4666,7 +4666,7 @@ VpMidRound(Real *y, unsigned short f, ssize_t nf)
fracf = (v % (shifter * 10) > 0);
fracf_1further = ((v % shifter) > 0);
-
+
v /= shifter;
div = v / 10;
v = v - div*10;
@@ -4687,12 +4687,12 @@ VpMidRound(Real *y, unsigned short f, ssize_t nf)
break;
}
}
-
+
/* now fracf = does any positive digit exist under the rounding position?
now fracf_1further = does any positive digit exist under one further than the
rounding position?
now v = the first digit under the rounding position */
-
+
/* drop digits after pointed digit */
memset(y->frac+ix+1, 0, (y->Prec - (ix+1)) * sizeof(BDIGIT));
View
2  ext/date/date_parse.c
@@ -905,7 +905,7 @@ n2i(const char *s, long f, long w)
{
long e, i;
int v;
-
+
e = f + w;
v = 0;
for (i = f; i < e; i++) {
View
14 ext/json/generator/generator.c
@@ -18,9 +18,9 @@ static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,
/*
* Copyright 2001-2004 Unicode, Inc.
- *
+ *
* Disclaimer
- *
+ *
* This source code is provided as is by Unicode, Inc. No claims are
* made as to fitness for any particular purpose. No warranties of any
* kind are expressed or implied. The recipient agrees to determine
@@ -28,9 +28,9 @@ static ID i_to_s, i_to_json, i_new, i_indent, i_space, i_space_before,
* purchased on magnetic or optical media from Unicode, Inc., the
* sole remedy for any claim will be exchange of defective media
* within 90 days of receipt.
- *
+ *
* Limitations on Rights to Redistribute This Code
- *
+ *
* Unicode, Inc. hereby grants the right to freely use the information
* supplied in this file in the creation of products supporting the
* Unicode Standard, and to make copies of this file in any form
@@ -61,7 +61,7 @@ static const char trailingBytesForUTF8[256] = {
* This table contains as many values as there might be trailing bytes
* in a UTF-8 sequence.
*/
-static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL,
+static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL,
0x03C82080UL, 0xFA082080UL, 0x82082080UL };
/*
@@ -399,7 +399,7 @@ static FBuffer *fbuffer_dup(FBuffer *fb)
return result;
}
-/*
+/*
* Document-module: JSON::Ext::Generator
*
* This is the JSON generator implemented as a C extension. It can be
@@ -979,7 +979,7 @@ static VALUE cState_generate(VALUE self, VALUE obj)
* * *indent*: a string used to indent levels (default: ''),
* * *space*: a string that is put after, a : or , delimiter (default: ''),
* * *space_before*: a string that is put before a : pair delimiter (default: ''),
- * * *object_nl*: a string that is put at the end of a JSON object (default: ''),
+ * * *object_nl*: a string that is put at the end of a JSON object (default: ''),
* * *array_nl*: a string that is put at the end of a JSON array (default: ''),
* * *allow_nan*: true if NaN, Infinity, and -Infinity should be
* generated, otherwise an exception is thrown, if these values are
View
2  ext/json/lib/json/common.rb
@@ -185,7 +185,7 @@ def parse!(source, opts = {})
# * *indent*: a string used to indent levels (default: ''),
# * *space*: a string that is put after, a : or , delimiter (default: ''),
# * *space_before*: a string that is put before a : pair delimiter (default: ''),
- # * *object_nl*: a string that is put at the end of a JSON object (default: ''),
+ # * *object_nl*: a string that is put at the end of a JSON object (default: ''),
# * *array_nl*: a string that is put at the end of a JSON array (default: ''),
# * *allow_nan*: true if NaN, Infinity, and -Infinity should be
# generated, otherwise an exception is thrown, if these values are
View
212 ext/json/parser/parser.c
@@ -109,14 +109,14 @@ static char *JSON_parse_object(JSON_Parser *json, char *p, char *pe, VALUE *resu
*result = NIL_P(object_class) ? rb_hash_new() : rb_class_new_instance(0, 0, object_class);
-
+
#line 114 "parser.c"
{
cs = JSON_object_start;
}
#line 159 "parser.rl"
-
+
#line 121 "parser.c"
{
if ( p == pe )
@@ -404,32 +404,32 @@ case 26:
goto st2;
goto st26;
}
- _test_eof2: cs = 2; goto _test_eof;
- _test_eof3: cs = 3; goto _test_eof;
- _test_eof4: cs = 4; goto _test_eof;
- _test_eof5: cs = 5; goto _test_eof;
- _test_eof6: cs = 6; goto _test_eof;
- _test_eof7: cs = 7; goto _test_eof;
- _test_eof8: cs = 8; goto _test_eof;
- _test_eof9: cs = 9; goto _test_eof;
- _test_eof10: cs = 10; goto _test_eof;
- _test_eof11: cs = 11; goto _test_eof;
- _test_eof12: cs = 12; goto _test_eof;
- _test_eof13: cs = 13; goto _test_eof;
- _test_eof14: cs = 14; goto _test_eof;
- _test_eof15: cs = 15; goto _test_eof;
- _test_eof16: cs = 16; goto _test_eof;
- _test_eof17: cs = 17; goto _test_eof;
- _test_eof18: cs = 18; goto _test_eof;
- _test_eof27: cs = 27; goto _test_eof;
- _test_eof19: cs = 19; goto _test_eof;
- _test_eof20: cs = 20; goto _test_eof;
- _test_eof21: cs = 21; goto _test_eof;
- _test_eof22: cs = 22; goto _test_eof;
- _test_eof23: cs = 23; goto _test_eof;
- _test_eof24: cs = 24; goto _test_eof;
- _test_eof25: cs = 25; goto _test_eof;
- _test_eof26: cs = 26; goto _test_eof;
+ _test_eof2: cs = 2; goto _test_eof;
+ _test_eof3: cs = 3; goto _test_eof;
+ _test_eof4: cs = 4; goto _test_eof;
+ _test_eof5: cs = 5; goto _test_eof;
+ _test_eof6: cs = 6; goto _test_eof;
+ _test_eof7: cs = 7; goto _test_eof;
+ _test_eof8: cs = 8; goto _test_eof;
+ _test_eof9: cs = 9; goto _test_eof;
+ _test_eof10: cs = 10; goto _test_eof;
+ _test_eof11: cs = 11; goto _test_eof;
+ _test_eof12: cs = 12; goto _test_eof;
+ _test_eof13: cs = 13; goto _test_eof;
+ _test_eof14: cs = 14; goto _test_eof;
+ _test_eof15: cs = 15; goto _test_eof;
+ _test_eof16: cs = 16; goto _test_eof;
+ _test_eof17: cs = 17; goto _test_eof;
+ _test_eof18: cs = 18; goto _test_eof;
+ _test_eof27: cs = 27; goto _test_eof;
+ _test_eof19: cs = 19; goto _test_eof;
+ _test_eof20: cs = 20; goto _test_eof;
+ _test_eof21: cs = 21; goto _test_eof;
+ _test_eof22: cs = 22; goto _test_eof;
+ _test_eof23: cs = 23; goto _test_eof;
+ _test_eof24: cs = 24; goto _test_eof;
+ _test_eof25: cs = 25; goto _test_eof;
+ _test_eof26: cs = 26; goto _test_eof;
_test_eof: {}
_out: {}
@@ -469,14 +469,14 @@ static char *JSON_parse_value(JSON_Parser *json, char *p, char *pe, VALUE *resul
{
int cs = EVIL;
-
+
#line 474 "parser.c"
{
cs = JSON_value_start;
}
#line 265 "parser.rl"
-
+
#line 481 "parser.c"
{
if ( p == pe )
@@ -728,26 +728,26 @@ case 20:
goto tr28;
goto st0;
}
- _test_eof21: cs = 21; goto _test_eof;
- _test_eof2: cs = 2; goto _test_eof;
- _test_eof3: cs = 3; goto _test_eof;
- _test_eof4: cs = 4; goto _test_eof;
- _test_eof5: cs = 5; goto _test_eof;
- _test_eof6: cs = 6; goto _test_eof;
- _test_eof7: cs = 7; goto _test_eof;
- _test_eof8: cs = 8; goto _test_eof;
- _test_eof9: cs = 9; goto _test_eof;
- _test_eof10: cs = 10; goto _test_eof;
- _test_eof11: cs = 11; goto _test_eof;
- _test_eof12: cs = 12; goto _test_eof;
- _test_eof13: cs = 13; goto _test_eof;
- _test_eof14: cs = 14; goto _test_eof;
- _test_eof15: cs = 15; goto _test_eof;
- _test_eof16: cs = 16; goto _test_eof;
- _test_eof17: cs = 17; goto _test_eof;
- _test_eof18: cs = 18; goto _test_eof;
- _test_eof19: cs = 19; goto _test_eof;
- _test_eof20: cs = 20; goto _test_eof;
+ _test_eof21: cs = 21; goto _test_eof;
+ _test_eof2: cs = 2; goto _test_eof;
+ _test_eof3: cs = 3; goto _test_eof;
+ _test_eof4: cs = 4; goto _test_eof;
+ _test_eof5: cs = 5; goto _test_eof;
+ _test_eof6: cs = 6; goto _test_eof;
+ _test_eof7: cs = 7; goto _test_eof;
+ _test_eof8: cs = 8; goto _test_eof;
+ _test_eof9: cs = 9; goto _test_eof;
+ _test_eof10: cs = 10; goto _test_eof;
+ _test_eof11: cs = 11; goto _test_eof;
+ _test_eof12: cs = 12; goto _test_eof;
+ _test_eof13: cs = 13; goto _test_eof;
+ _test_eof14: cs = 14; goto _test_eof;
+ _test_eof15: cs = 15; goto _test_eof;
+ _test_eof16: cs = 16; goto _test_eof;
+ _test_eof17: cs = 17; goto _test_eof;
+ _test_eof18: cs = 18; goto _test_eof;
+ _test_eof19: cs = 19; goto _test_eof;
+ _test_eof20: cs = 20; goto _test_eof;
_test_eof: {}
_out: {}
@@ -778,7 +778,7 @@ static char *JSON_parse_integer(JSON_Parser *json, char *p, char *pe, VALUE *res
{
int cs = EVIL;
-
+
#line 783 "parser.c"
{
cs = JSON_integer_start;
@@ -786,7 +786,7 @@ static char *JSON_parse_integer(JSON_Parser *json, char *p, char *pe, VALUE *res
#line 289 "parser.rl"
json->memo = p;
-
+
#line 791 "parser.c"
{
if ( p == pe )
@@ -838,10 +838,10 @@ case 4:
goto st4;
goto tr4;
}
- _test_eof2: cs = 2; goto _test_eof;
- _test_eof3: cs = 3; goto _test_eof;
- _test_eof5: cs = 5; goto _test_eof;
- _test_eof4: cs = 4; goto _test_eof;
+ _test_eof2: cs = 2; goto _test_eof;
+ _test_eof3: cs = 3; goto _test_eof;
+ _test_eof5: cs = 5; goto _test_eof;
+ _test_eof4: cs = 4; goto _test_eof;
_test_eof: {}
_out: {}
@@ -874,7 +874,7 @@ static char *JSON_parse_float(JSON_Parser *json, char *p, char *pe, VALUE *resul
{
int cs = EVIL;
-
+
#line 879 "parser.c"
{
cs = JSON_float_start;
@@ -882,7 +882,7 @@ static char *JSON_parse_float(JSON_Parser *json, char *p, char *pe, VALUE *resul
#line 320 "parser.rl"
json->memo = p;
-
+
#line 887 "parser.c"
{
if ( p == pe )
@@ -995,15 +995,15 @@ case 9:
goto st9;
goto st0;
}
- _test_eof2: cs = 2; goto _test_eof;
- _test_eof3: cs = 3; goto _test_eof;
- _test_eof4: cs = 4; goto _test_eof;
- _test_eof5: cs = 5; goto _test_eof;
- _test_eof10: cs = 10; goto _test_eof;
- _test_eof6: cs = 6; goto _test_eof;
- _test_eof7: cs = 7; goto _test_eof;
- _test_eof8: cs = 8; goto _test_eof;
- _test_eof9: cs = 9; goto _test_eof;
+ _test_eof2: cs = 2; goto _test_eof;
+ _test_eof3: cs = 3; goto _test_eof;
+ _test_eof4: cs = 4; goto _test_eof;
+ _test_eof5: cs = 5; goto _test_eof;
+ _test_eof10: cs = 10; goto _test_eof;
+ _test_eof6: cs = 6; goto _test_eof;
+ _test_eof7: cs = 7; goto _test_eof;
+ _test_eof8: cs = 8; goto _test_eof;
+ _test_eof9: cs = 9; goto _test_eof;
_test_eof: {}
_out: {}
@@ -1043,14 +1043,14 @@ static char *JSON_parse_array(JSON_Parser *json, char *p, char *pe, VALUE *resul
}
*result = NIL_P(array_class) ? rb_ary_new() : rb_class_new_instance(0, 0, array_class);
-
+
#line 1048 "parser.c"
{
cs = JSON_array_start;
}
#line 371 "parser.rl"
-
+
#line 1055 "parser.c"
{
if ( p == pe )
@@ -1248,22 +1248,22 @@ case 16:
goto st2;
goto st16;
}
- _test_eof2: cs = 2; goto _test_eof;
- _test_eof3: cs = 3; goto _test_eof;
- _test_eof4: cs = 4; goto _test_eof;
- _test_eof5: cs = 5; goto _test_eof;
- _test_eof6: cs = 6; goto _test_eof;
- _test_eof7: cs = 7; goto _test_eof;
- _test_eof8: cs = 8; goto _test_eof;
- _test_eof9: cs = 9; goto _test_eof;
- _test_eof10: cs = 10; goto _test_eof;
- _test_eof11: cs = 11; goto _test_eof;
- _test_eof12: cs = 12; goto _test_eof;
- _test_eof17: cs = 17; goto _test_eof;
- _test_eof13: cs = 13; goto _test_eof;
- _test_eof14: cs = 14; goto _test_eof;
- _test_eof15: cs = 15; goto _test_eof;
- _test_eof16: cs = 16; goto _test_eof;
+ _test_eof2: cs = 2; goto _test_eof;
+ _test_eof3: cs = 3; goto _test_eof;
+ _test_eof4: cs = 4; goto _test_eof;
+ _test_eof5: cs = 5; goto _test_eof;
+ _test_eof6: cs = 6; goto _test_eof;
+ _test_eof7: cs = 7; goto _test_eof;
+ _test_eof8: cs = 8; goto _test_eof;
+ _test_eof9: cs = 9; goto _test_eof;
+ _test_eof10: cs = 10; goto _test_eof;
+ _test_eof11: cs = 11; goto _test_eof;
+ _test_eof12: cs = 12; goto _test_eof;
+ _test_eof17: cs = 17; goto _test_eof;
+ _test_eof13: cs = 13; goto _test_eof;
+ _test_eof14: cs = 14; goto _test_eof;
+ _test_eof15: cs = 15; goto _test_eof;
+ _test_eof16: cs = 16; goto _test_eof;
_test_eof: {}
_out: {}
@@ -1366,7 +1366,7 @@ static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *resu
int cs = EVIL;
*result = rb_str_buf_new(0);
-
+
#line 1371 "parser.c"
{
cs = JSON_string_start;
@@ -1374,7 +1374,7 @@ static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *resu
#line 479 "parser.rl"
json->memo = p;
-
+
#line 1379 "parser.c"
{
if ( p == pe )
@@ -1482,13 +1482,13 @@ case 7:
goto st2;
goto st0;
}
- _test_eof2: cs = 2; goto _test_eof;
- _test_eof8: cs = 8; goto _test_eof;
- _test_eof3: cs = 3; goto _test_eof;
- _test_eof4: cs = 4; goto _test_eof;
- _test_eof5: cs = 5; goto _test_eof;
- _test_eof6: cs = 6; goto _test_eof;
- _test_eof7: cs = 7; goto _test_eof;
+ _test_eof2: cs = 2; goto _test_eof;
+ _test_eof8: cs = 8; goto _test_eof;
+ _test_eof3: cs = 3; goto _test_eof;
+ _test_eof4: cs = 4; goto _test_eof;
+ _test_eof5: cs = 5; goto _test_eof;
+ _test_eof6: cs = 6; goto _test_eof;
+ _test_eof7: cs = 7; goto _test_eof;
_test_eof: {}
_out: {}
@@ -1701,7 +1701,7 @@ static VALUE cParser_parse(VALUE self)
VALUE result = Qnil;
GET_PARSER;
-
+
#line 1706 "parser.c"
{
cs = JSON_start;
@@ -1710,7 +1710,7 @@ static VALUE cParser_parse(VALUE self)
#line 703 "parser.rl"
p = json->source;
pe = p + json->len;
-
+
#line 1715 "parser.c"
{
if ( p == pe )
@@ -1830,16 +1830,16 @@ case 9:
goto st10;
goto st9;
}
- _test_eof1: cs = 1; goto _test_eof;
- _test_eof2: cs = 2; goto _test_eof;
- _test_eof3: cs = 3; goto _test_eof;
- _test_eof4: cs = 4; goto _test_eof;
- _test_eof5: cs = 5; goto _test_eof;
- _test_eof10: cs = 10; goto _test_eof;
- _test_eof6: cs = 6; goto _test_eof;
- _test_eof7: cs = 7; goto _test_eof;
- _test_eof8: cs = 8; goto _test_eof;
- _test_eof9: cs = 9; goto _test_eof;
+ _test_eof1: cs = 1; goto _test_eof;
+ _test_eof2: cs = 2; goto _test_eof;
+ _test_eof3: cs = 3; goto _test_eof;
+ _test_eof4: cs = 4; goto _test_eof;
+ _test_eof5: cs = 5; goto _test_eof;
+ _test_eof10: cs = 10; goto _test_eof;
+ _test_eof6: cs = 6; goto _test_eof;
+ _test_eof7: cs = 7; goto _test_eof;
+ _test_eof8: cs = 8; goto _test_eof;
+ _test_eof9: cs = 9; goto _test_eof;
_test_eof: {}
_out: {}
View
4 ext/nkf/nkf-utf8/nkf.c
@@ -821,7 +821,7 @@ nkf_buf_new(int length)
buf->capa = length;
buf->len = 0;
return buf;
-}
+}
#if 0
static void
@@ -5874,7 +5874,7 @@ kanji_convert(FILE *f)
/*
* int options(unsigned char *cp)
- *
+ *
* return values:
* 0: success
* -1: ArgumentError
View
2  ext/openssl/ossl_asn1.c
@@ -845,7 +845,7 @@ ossl_asn1_decode0(unsigned char **pp, long length, long *offset, long depth,
ossl_asn1_set_infinite_length(asn1data, Qtrue);
else
ossl_asn1_set_infinite_length(asn1data, Qfalse);
-
+
rb_ary_push(ary, asn1data);
length -= len;
if(once) break;
View
2  ext/openssl/ossl_ssl.c
@@ -108,7 +108,7 @@ struct {
OSSL_SSL_METHOD_ENTRY(TLSv1_server),
OSSL_SSL_METHOD_ENTRY(TLSv1_client),
#if defined(HAVE_SSLV2_METHOD) && defined(HAVE_SSLV2_SERVER_METHOD) && \
- defined(HAVE_SSLV2_CLIENT_METHOD)
+ defined(HAVE_SSLV2_CLIENT_METHOD)
OSSL_SSL_METHOD_ENTRY(SSLv2),
OSSL_SSL_METHOD_ENTRY(SSLv2_server),
OSSL_SSL_METHOD_ENTRY(SSLv2_client),
View
18 ext/pathname/pathname.c
@@ -170,7 +170,7 @@ path_sub(int argc, VALUE *argv, VALUE self)
/*
* Return a pathname which the extension of the basename is substituted by
* <i>repl</i>.
- *
+ *
* If self has no extension part, <i>repl</i> is appended.
*/
static VALUE
@@ -220,7 +220,7 @@ path_realpath(int argc, VALUE *argv, VALUE self)
/*
* Returns the real (absolute) pathname of +self+ in the actual filesystem.
* The real pathname doesn't contain symlinks or useless dots.
- *
+ *
* The last component of the real pathname can be nonexistent.
*/
static VALUE
@@ -239,10 +239,10 @@ path_realdirpath(int argc, VALUE *argv, VALUE self)
* pathname.each_line(limit [, open_args]) {|line| block } -> nil
* pathname.each_line(sep, limit [, open_args]) {|line| block } -> nil
* pathname.each_line(...) -> an_enumerator
- *
+ *
* #each_line iterates over the line in the file. It yields a String object
* for each line.
- *
+ *
* This method is availabel since 1.8.1.
*/
static VALUE
@@ -265,7 +265,7 @@ path_each_line(int argc, VALUE *argv, VALUE self)
* call-seq:
* pathname.read([length [, offset]]) -> string
* pathname.read([length [, offset]], open_args) -> string
- *
+ *
* See <tt>IO.read</tt>. Returns all data from the file, or the first +N+ bytes
* if specified.
*
@@ -284,7 +284,7 @@ path_read(int argc, VALUE *argv, VALUE self)
/*
* call-seq:
* pathname.binread([length [, offset]]) -> string
- *
+ *
* See <tt>IO.binread</tt>. Returns all the bytes from the file, or the first +N+
* if specified.
*
@@ -305,7 +305,7 @@ path_binread(int argc, VALUE *argv, VALUE self)
* pathname.readlines(sep=$/ [, open_args]) -> array
* pathname.readlines(limit [, open_args]) -> array
* pathname.readlines(sep, limit [, open_args]) -> array
- *
+ *
* See <tt>IO.readlines</tt>. Returns all the lines from the file.
*
*/
@@ -323,7 +323,7 @@ path_readlines(int argc, VALUE *argv, VALUE self)
/*
* call-seq:
* pathname.sysopen([mode, [perm]]) -> fixnum
- *
+ *
* See <tt>IO.sysopen</tt>.
*
*/
@@ -405,7 +405,7 @@ path_lchown(VALUE self, VALUE owner, VALUE group)
* call-seq:
* pathname.fnmatch(pattern, [flags]) -> string
* pathname.fnmatch?(pattern, [flags]) -> string
- *
+ *
* See <tt>File.fnmatch</tt>. Return +true+ if the receiver matches the given
* pattern.
*/
View
2  ext/psych/lib/psych/nodes.rb
@@ -31,7 +31,7 @@ module Psych
# doc = Psych::Nodes::Document.new
# seq = Psych::Nodes::Sequence.new
# scalar = Psych::Nodes::Scalar.new('foo')
- #
+ #
# # Build up our tree
# stream.children << doc
# doc.children << seq
View
2  ext/pty/lib/expect.rb
@@ -4,7 +4,7 @@ class IO
# Reads ios until pattern matches or the timeout is over. It returns
# an array with the read buffer, followed by the matches. If a block is given,
# the result is yielded to the block and returns nil. The optional timeout parameter defines,
- # in seconds, the total time to wait for pattern. If it is over of eof is found, it
+ # in seconds, the total time to wait for pattern. If it is over of eof is found, it
# returns/yields nil. However, the buffer in a timeout session is kept for the next expect call.
# The default timeout is 9999999 seconds.
def expect(pat,timeout=9999999)
View
2  ext/socket/option.c
@@ -529,7 +529,7 @@ inspect_ipv4_add_drop_membership(int level, int optname, VALUE data, VALUE ret)
if (RSTRING_LEN(data) == sizeof(struct ip_mreq))
return inspect_ipv4_mreq(level, optname, data, ret);
# if defined(HAVE_TYPE_STRUCT_IP_MREQN)
- else if (RSTRING_LEN(data) == sizeof(struct ip_mreqn))
+ else if (RSTRING_LEN(data) == sizeof(struct ip_mreqn))
return inspect_ipv4_mreqn(level, optname, data, ret);
# endif
else
View
82 ext/tk/extconf.rb
@@ -5,7 +5,7 @@
require 'mkmf'
TkLib_Config = {}
-TkLib_Config['search_versions'] =
+TkLib_Config['search_versions'] =
# %w[8.9 8.8 8.7 8.6 8.5 8.4 8.3 8.2 8.1 8.0 7.6 4.2]
# %w[8.7 8.6 8.5 8.4 8.3 8.2 8.1 8.0]
%w[8.7 8.6 8.5 8.4 8.0] # to shorten search steps
@@ -26,7 +26,7 @@
$cleanfiles << 'config_list'
config_list_file = 'config_list'
config_list_file_source = File.join(File.dirname(__FILE__),'config_list.in')