debase-ruby_core_source 3.3.5 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/.idea/vcs.xml +28 -0
  4. data/.ruby-version +1 -0
  5. data/CHANGELOG.md +14 -0
  6. data/Rakefile +3 -1
  7. data/debase-ruby_core_source.gemspec +1 -0
  8. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/builtin.h +7 -1
  9. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/darray.h +22 -6
  10. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/debug_counter.h +1 -1
  11. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/dln.h +0 -2
  12. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/id.h +9 -0
  13. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/insns.inc +10 -2
  14. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/insns_info.inc +819 -312
  15. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/array.h +1 -0
  16. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/basic_operators.h +2 -0
  17. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/bits.h +82 -0
  18. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/class.h +1 -1
  19. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/encoding.h +2 -0
  20. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/error.h +28 -0
  21. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/fixnum.h +1 -0
  22. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/gc.h +24 -28
  23. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/hash.h +1 -0
  24. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/imemo.h +7 -1
  25. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/io.h +4 -1
  26. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/parse.h +16 -3
  27. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/proc.h +1 -0
  28. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/ractor.h +4 -0
  29. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/sanitizers.h +60 -39
  30. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/string.h +34 -18
  31. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/thread.h +29 -0
  32. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/vm.h +3 -3
  33. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/known_errors.inc +103 -103
  34. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/method.h +1 -0
  35. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/optunifs.inc +1 -1
  36. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/parse.h +5 -4
  37. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/ast.h +2156 -453
  38. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/defines.h +44 -7
  39. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/diagnostic.h +24 -6
  40. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/extension.h +2 -2
  41. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/node.h +0 -21
  42. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/options.h +94 -3
  43. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/parser.h +82 -40
  44. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/prism.h +47 -11
  45. data/lib/debase/ruby_core_source/ruby-3.4.0-p-1/prism/regexp.h +43 -0
  46. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/static_literals.h +3 -2
  47. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_char.h +1 -2
  48. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_constant_pool.h +0 -8
  49. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_integer.h +22 -15
  50. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_newline_list.h +11 -0
  51. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_string.h +28 -12
  52. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/version.h +3 -3
  53. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism_compile.h +23 -12
  54. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/ractor_core.h +9 -20
  55. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/regint.h +0 -4
  56. data/lib/debase/ruby_core_source/ruby-3.4.0-p-1/revision.h +5 -0
  57. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/rubyparser.h +171 -250
  58. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/shape.h +2 -1
  59. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/symbol.h +6 -1
  60. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/thread_pthread.h +26 -25
  61. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/version.h +1 -1
  62. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vm.inc +467 -207
  63. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vm_callinfo.h +24 -2
  64. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vm_core.h +62 -48
  65. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vm_insnhelper.h +7 -2
  66. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vm_sync.h +3 -3
  67. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vmtc.inc +10 -2
  68. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/yjit.h +1 -0
  69. data/lib/debase/ruby_core_source/version.rb +1 -1
  70. data/lib/debase/ruby_core_source.rb +4 -2
  71. data/test/deduce_source_dir_test.rb +31 -0
  72. metadata +163 -150
  73. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/regexp.h +0 -33
  74. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_string_list.h +0 -44
  75. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/revision.h +0 -5
  76. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/addr2line.h +0 -0
  77. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/ccan/build_assert/build_assert.h +0 -0
  78. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/ccan/check_type/check_type.h +0 -0
  79. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/ccan/container_of/container_of.h +0 -0
  80. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/ccan/list/list.h +0 -0
  81. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/ccan/str/str.h +0 -0
  82. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/constant.h +0 -0
  83. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/encindex.h +0 -0
  84. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/eval_intern.h +0 -0
  85. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/hrtime.h +0 -0
  86. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/id_table.h +0 -0
  87. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/bignum.h +0 -0
  88. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/cmdlineopt.h +0 -0
  89. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/compar.h +0 -0
  90. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/compile.h +0 -0
  91. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/compilers.h +0 -0
  92. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/complex.h +0 -0
  93. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/cont.h +0 -0
  94. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/dir.h +0 -0
  95. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/enc.h +0 -0
  96. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/enum.h +0 -0
  97. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/enumerator.h +0 -0
  98. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/eval.h +0 -0
  99. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/file.h +0 -0
  100. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/inits.h +0 -0
  101. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/load.h +0 -0
  102. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/loadpath.h +0 -0
  103. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/math.h +0 -0
  104. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/missing.h +0 -0
  105. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/numeric.h +0 -0
  106. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/object.h +0 -0
  107. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/process.h +0 -0
  108. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/random.h +0 -0
  109. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/range.h +0 -0
  110. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/rational.h +0 -0
  111. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/re.h +0 -0
  112. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/ruby_parser.h +0 -0
  113. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/serial.h +0 -0
  114. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/signal.h +0 -0
  115. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/st.h +0 -0
  116. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/static_assert.h +0 -0
  117. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/struct.h +0 -0
  118. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/symbol.h +0 -0
  119. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/time.h +0 -0
  120. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/transcode.h +0 -0
  121. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/util.h +0 -0
  122. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/variable.h +0 -0
  123. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal/warnings.h +0 -0
  124. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/internal.h +0 -0
  125. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/iseq.h +0 -0
  126. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/node.h +0 -0
  127. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/node_name.inc +0 -0
  128. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/optinsn.inc +0 -0
  129. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/parser_bits.h +0 -0
  130. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/parser_node.h +0 -0
  131. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/parser_st.h +0 -0
  132. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/parser_value.h +0 -0
  133. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/encoding.h +0 -0
  134. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/pack.h +0 -0
  135. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/prettyprint.h +0 -0
  136. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_buffer.h +0 -0
  137. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_list.h +0 -0
  138. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_memchr.h +0 -0
  139. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_strncasecmp.h +0 -0
  140. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/prism/util/pm_strpbrk.h +0 -0
  141. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/probes_helper.h +0 -0
  142. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/regenc.h +0 -0
  143. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/regparse.h +0 -0
  144. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/rjit.h +0 -0
  145. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/rjit_c.h +0 -0
  146. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/ruby_assert.h +0 -0
  147. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/ruby_atomic.h +0 -0
  148. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/siphash.h +0 -0
  149. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/thread_none.h +0 -0
  150. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/thread_win32.h +0 -0
  151. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/timev.h +0 -0
  152. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/transcode_data.h +0 -0
  153. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/variable.h +0 -0
  154. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vm_call_iseq_optimized.inc +0 -0
  155. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vm_debug.h +0 -0
  156. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vm_exec.h +0 -0
  157. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-p-1}/vm_opts.h +0 -0
@@ -23,7 +23,7 @@
23
23
  undefined_error("EACCES")
24
24
  #endif
25
25
  #if 0
26
- /* "Address in use" error */
26
+ /* "Address already in use" error */
27
27
  rb_define_const(rb_mErrno, "EADDRINUSE", eEADDRINUSE);
28
28
  #endif
29
29
  #ifdef EADDRINUSE
@@ -41,7 +41,7 @@
41
41
  undefined_error("EADDRNOTAVAIL")
42
42
  #endif
43
43
  #if 0
44
- /* \EADV error */
44
+ /* "Advertise error" error */
45
45
  rb_define_const(rb_mErrno, "EADV", eEADV);
46
46
  #endif
47
47
  #ifdef EADV
@@ -59,7 +59,7 @@
59
59
  undefined_error("EAFNOSUPPORT")
60
60
  #endif
61
61
  #if 0
62
- /* "Resource unavailable, try again (may be the same value as [EWOULDBLOCK])" error */
62
+ /* "Resource temporarily unavailable, try again (may be the same value as EWOULDBLOCK)" error */
63
63
  rb_define_const(rb_mErrno, "EAGAIN", eEAGAIN);
64
64
  #endif
65
65
  #ifdef EAGAIN
@@ -77,7 +77,7 @@
77
77
  undefined_error("EALREADY")
78
78
  #endif
79
79
  #if 0
80
- /* \EAUTH error */
80
+ /* "Authentication error" error */
81
81
  rb_define_const(rb_mErrno, "EAUTH", eEAUTH);
82
82
  #endif
83
83
  #ifdef EAUTH
@@ -86,7 +86,7 @@
86
86
  undefined_error("EAUTH")
87
87
  #endif
88
88
  #if 0
89
- /* \EBADARCH error */
89
+ /* "Bad CPU type in executable" error */
90
90
  rb_define_const(rb_mErrno, "EBADARCH", eEBADARCH);
91
91
  #endif
92
92
  #ifdef EBADARCH
@@ -95,7 +95,7 @@
95
95
  undefined_error("EBADARCH")
96
96
  #endif
97
97
  #if 0
98
- /* \EBADE error */
98
+ /* "Bad exchange" error */
99
99
  rb_define_const(rb_mErrno, "EBADE", eEBADE);
100
100
  #endif
101
101
  #ifdef EBADE
@@ -104,7 +104,7 @@
104
104
  undefined_error("EBADE")
105
105
  #endif
106
106
  #if 0
107
- /* \EBADEXEC error */
107
+ /* "Bad executable" error */
108
108
  rb_define_const(rb_mErrno, "EBADEXEC", eEBADEXEC);
109
109
  #endif
110
110
  #ifdef EBADEXEC
@@ -122,7 +122,7 @@
122
122
  undefined_error("EBADF")
123
123
  #endif
124
124
  #if 0
125
- /* \EBADFD error */
125
+ /* "File descriptor in bad state" error */
126
126
  rb_define_const(rb_mErrno, "EBADFD", eEBADFD);
127
127
  #endif
128
128
  #ifdef EBADFD
@@ -131,7 +131,7 @@
131
131
  undefined_error("EBADFD")
132
132
  #endif
133
133
  #if 0
134
- /* \EBADMACHO error */
134
+ /* "Malformed Macho file" error */
135
135
  rb_define_const(rb_mErrno, "EBADMACHO", eEBADMACHO);
136
136
  #endif
137
137
  #ifdef EBADMACHO
@@ -149,7 +149,7 @@
149
149
  undefined_error("EBADMSG")
150
150
  #endif
151
151
  #if 0
152
- /* \EBADR error */
152
+ /* "Invalid request descriptor" error */
153
153
  rb_define_const(rb_mErrno, "EBADR", eEBADR);
154
154
  #endif
155
155
  #ifdef EBADR
@@ -158,7 +158,7 @@
158
158
  undefined_error("EBADR")
159
159
  #endif
160
160
  #if 0
161
- /* \EBADRPC error */
161
+ /* "RPC struct is bad" error */
162
162
  rb_define_const(rb_mErrno, "EBADRPC", eEBADRPC);
163
163
  #endif
164
164
  #ifdef EBADRPC
@@ -167,7 +167,7 @@
167
167
  undefined_error("EBADRPC")
168
168
  #endif
169
169
  #if 0
170
- /* \EBADRQC error */
170
+ /* "Invalid request code" error */
171
171
  rb_define_const(rb_mErrno, "EBADRQC", eEBADRQC);
172
172
  #endif
173
173
  #ifdef EBADRQC
@@ -176,7 +176,7 @@
176
176
  undefined_error("EBADRQC")
177
177
  #endif
178
178
  #if 0
179
- /* \EBADSLT error */
179
+ /* "Invalid slot" error */
180
180
  rb_define_const(rb_mErrno, "EBADSLT", eEBADSLT);
181
181
  #endif
182
182
  #ifdef EBADSLT
@@ -185,7 +185,7 @@
185
185
  undefined_error("EBADSLT")
186
186
  #endif
187
187
  #if 0
188
- /* \EBFONT error */
188
+ /* "Bad font file format" error */
189
189
  rb_define_const(rb_mErrno, "EBFONT", eEBFONT);
190
190
  #endif
191
191
  #ifdef EBFONT
@@ -212,7 +212,7 @@
212
212
  undefined_error("ECANCELED")
213
213
  #endif
214
214
  #if 0
215
- /* \ECAPMODE error */
215
+ /* "Not permitted in capability mode" error */
216
216
  rb_define_const(rb_mErrno, "ECAPMODE", eECAPMODE);
217
217
  #endif
218
218
  #ifdef ECAPMODE
@@ -230,7 +230,7 @@
230
230
  undefined_error("ECHILD")
231
231
  #endif
232
232
  #if 0
233
- /* \ECHRNG error */
233
+ /* "Channel number out of range" error */
234
234
  rb_define_const(rb_mErrno, "ECHRNG", eECHRNG);
235
235
  #endif
236
236
  #ifdef ECHRNG
@@ -239,7 +239,7 @@
239
239
  undefined_error("ECHRNG")
240
240
  #endif
241
241
  #if 0
242
- /* \ECOMM error */
242
+ /* "Communication error on send" error */
243
243
  rb_define_const(rb_mErrno, "ECOMM", eECOMM);
244
244
  #endif
245
245
  #ifdef ECOMM
@@ -275,7 +275,7 @@
275
275
  undefined_error("ECONNRESET")
276
276
  #endif
277
277
  #if 0
278
- /* "Resource deadlock would occur" error */
278
+ /* "Resource deadlock avoided" error */
279
279
  rb_define_const(rb_mErrno, "EDEADLK", eEDEADLK);
280
280
  #endif
281
281
  #ifdef EDEADLK
@@ -284,7 +284,7 @@
284
284
  undefined_error("EDEADLK")
285
285
  #endif
286
286
  #if 0
287
- /* \EDEADLOCK error */
287
+ /* "File locking deadlock error" error */
288
288
  rb_define_const(rb_mErrno, "EDEADLOCK", eEDEADLOCK);
289
289
  #endif
290
290
  #ifdef EDEADLOCK
@@ -302,7 +302,7 @@
302
302
  undefined_error("EDESTADDRREQ")
303
303
  #endif
304
304
  #if 0
305
- /* \EDEVERR error */
305
+ /* "Device error; e.g., printer paper out" error */
306
306
  rb_define_const(rb_mErrno, "EDEVERR", eEDEVERR);
307
307
  #endif
308
308
  #ifdef EDEVERR
@@ -320,7 +320,7 @@
320
320
  undefined_error("EDOM")
321
321
  #endif
322
322
  #if 0
323
- /* \EDOOFUS error */
323
+ /* "Improper function use" error */
324
324
  rb_define_const(rb_mErrno, "EDOOFUS", eEDOOFUS);
325
325
  #endif
326
326
  #ifdef EDOOFUS
@@ -329,7 +329,7 @@
329
329
  undefined_error("EDOOFUS")
330
330
  #endif
331
331
  #if 0
332
- /* \EDOTDOT error */
332
+ /* "RFS specific error" error */
333
333
  rb_define_const(rb_mErrno, "EDOTDOT", eEDOTDOT);
334
334
  #endif
335
335
  #ifdef EDOTDOT
@@ -338,7 +338,7 @@
338
338
  undefined_error("EDOTDOT")
339
339
  #endif
340
340
  #if 0
341
- /* "Reserved" error */
341
+ /* "Disk quota exceeded" error */
342
342
  rb_define_const(rb_mErrno, "EDQUOT", eEDQUOT);
343
343
  #endif
344
344
  #ifdef EDQUOT
@@ -374,7 +374,7 @@
374
374
  undefined_error("EFBIG")
375
375
  #endif
376
376
  #if 0
377
- /* \EFTYPE error */
377
+ /* "Invalid file type or format" error */
378
378
  rb_define_const(rb_mErrno, "EFTYPE", eEFTYPE);
379
379
  #endif
380
380
  #ifdef EFTYPE
@@ -383,7 +383,7 @@
383
383
  undefined_error("EFTYPE")
384
384
  #endif
385
385
  #if 0
386
- /* \EHOSTDOWN error */
386
+ /* "Host is down" error */
387
387
  rb_define_const(rb_mErrno, "EHOSTDOWN", eEHOSTDOWN);
388
388
  #endif
389
389
  #ifdef EHOSTDOWN
@@ -401,7 +401,7 @@
401
401
  undefined_error("EHOSTUNREACH")
402
402
  #endif
403
403
  #if 0
404
- /* \EHWPOISON error */
404
+ /* "Memory page has hardware error" error */
405
405
  rb_define_const(rb_mErrno, "EHWPOISON", eEHWPOISON);
406
406
  #endif
407
407
  #ifdef EHWPOISON
@@ -419,7 +419,7 @@
419
419
  undefined_error("EIDRM")
420
420
  #endif
421
421
  #if 0
422
- /* "Illegal byte sequence" error */
422
+ /* "Invalid or incomplete multibyte or wide character" error */
423
423
  rb_define_const(rb_mErrno, "EILSEQ", eEILSEQ);
424
424
  #endif
425
425
  #ifdef EILSEQ
@@ -437,7 +437,7 @@
437
437
  undefined_error("EINPROGRESS")
438
438
  #endif
439
439
  #if 0
440
- /* "Interrupted function" error */
440
+ /* "Interrupted function call" error */
441
441
  rb_define_const(rb_mErrno, "EINTR", eEINTR);
442
442
  #endif
443
443
  #ifdef EINTR
@@ -455,7 +455,7 @@
455
455
  undefined_error("EINVAL")
456
456
  #endif
457
457
  #if 0
458
- /* "I/O error" error */
458
+ /* "Input/output error" error */
459
459
  rb_define_const(rb_mErrno, "EIO", eEIO);
460
460
  #endif
461
461
  #ifdef EIO
@@ -464,7 +464,7 @@
464
464
  undefined_error("EIO")
465
465
  #endif
466
466
  #if 0
467
- /* \EIPSEC error */
467
+ /* "IPsec processing failure" error */
468
468
  rb_define_const(rb_mErrno, "EIPSEC", eEIPSEC);
469
469
  #endif
470
470
  #ifdef EIPSEC
@@ -491,7 +491,7 @@
491
491
  undefined_error("EISDIR")
492
492
  #endif
493
493
  #if 0
494
- /* \EISNAM error */
494
+ /* "Is a named file type" error */
495
495
  rb_define_const(rb_mErrno, "EISNAM", eEISNAM);
496
496
  #endif
497
497
  #ifdef EISNAM
@@ -500,7 +500,7 @@
500
500
  undefined_error("EISNAM")
501
501
  #endif
502
502
  #if 0
503
- /* \EKEYEXPIRED error */
503
+ /* "Key has expired" error */
504
504
  rb_define_const(rb_mErrno, "EKEYEXPIRED", eEKEYEXPIRED);
505
505
  #endif
506
506
  #ifdef EKEYEXPIRED
@@ -509,7 +509,7 @@
509
509
  undefined_error("EKEYEXPIRED")
510
510
  #endif
511
511
  #if 0
512
- /* \EKEYREJECTED error */
512
+ /* "Key was rejected by service" error */
513
513
  rb_define_const(rb_mErrno, "EKEYREJECTED", eEKEYREJECTED);
514
514
  #endif
515
515
  #ifdef EKEYREJECTED
@@ -518,7 +518,7 @@
518
518
  undefined_error("EKEYREJECTED")
519
519
  #endif
520
520
  #if 0
521
- /* \EKEYREVOKED error */
521
+ /* "Key has been revoked" error */
522
522
  rb_define_const(rb_mErrno, "EKEYREVOKED", eEKEYREVOKED);
523
523
  #endif
524
524
  #ifdef EKEYREVOKED
@@ -527,7 +527,7 @@
527
527
  undefined_error("EKEYREVOKED")
528
528
  #endif
529
529
  #if 0
530
- /* \EL2HLT error */
530
+ /* "Level 2 halted" error */
531
531
  rb_define_const(rb_mErrno, "EL2HLT", eEL2HLT);
532
532
  #endif
533
533
  #ifdef EL2HLT
@@ -536,7 +536,7 @@
536
536
  undefined_error("EL2HLT")
537
537
  #endif
538
538
  #if 0
539
- /* \EL2NSYNC error */
539
+ /* "Level 2 not synchronized" error */
540
540
  rb_define_const(rb_mErrno, "EL2NSYNC", eEL2NSYNC);
541
541
  #endif
542
542
  #ifdef EL2NSYNC
@@ -545,7 +545,7 @@
545
545
  undefined_error("EL2NSYNC")
546
546
  #endif
547
547
  #if 0
548
- /* \EL3HLT error */
548
+ /* "Level 3 halted" error */
549
549
  rb_define_const(rb_mErrno, "EL3HLT", eEL3HLT);
550
550
  #endif
551
551
  #ifdef EL3HLT
@@ -554,7 +554,7 @@
554
554
  undefined_error("EL3HLT")
555
555
  #endif
556
556
  #if 0
557
- /* \EL3RST error */
557
+ /* "Level 3 reset" error */
558
558
  rb_define_const(rb_mErrno, "EL3RST", eEL3RST);
559
559
  #endif
560
560
  #ifdef EL3RST
@@ -563,7 +563,7 @@
563
563
  undefined_error("EL3RST")
564
564
  #endif
565
565
  #if 0
566
- /* \ELIBACC error */
566
+ /* "Cannot access a needed shared library" error */
567
567
  rb_define_const(rb_mErrno, "ELIBACC", eELIBACC);
568
568
  #endif
569
569
  #ifdef ELIBACC
@@ -572,7 +572,7 @@
572
572
  undefined_error("ELIBACC")
573
573
  #endif
574
574
  #if 0
575
- /* \ELIBBAD error */
575
+ /* "Accessing a corrupted shared library" error */
576
576
  rb_define_const(rb_mErrno, "ELIBBAD", eELIBBAD);
577
577
  #endif
578
578
  #ifdef ELIBBAD
@@ -581,7 +581,7 @@
581
581
  undefined_error("ELIBBAD")
582
582
  #endif
583
583
  #if 0
584
- /* \ELIBEXEC error */
584
+ /* "Cannot exec a shared library directly" error */
585
585
  rb_define_const(rb_mErrno, "ELIBEXEC", eELIBEXEC);
586
586
  #endif
587
587
  #ifdef ELIBEXEC
@@ -590,7 +590,7 @@
590
590
  undefined_error("ELIBEXEC")
591
591
  #endif
592
592
  #if 0
593
- /* \ELIBMAX error */
593
+ /* "Attempting to link in too many shared libraries" error */
594
594
  rb_define_const(rb_mErrno, "ELIBMAX", eELIBMAX);
595
595
  #endif
596
596
  #ifdef ELIBMAX
@@ -599,7 +599,7 @@
599
599
  undefined_error("ELIBMAX")
600
600
  #endif
601
601
  #if 0
602
- /* \ELIBSCN error */
602
+ /* ".lib section in a.out corrupted" error */
603
603
  rb_define_const(rb_mErrno, "ELIBSCN", eELIBSCN);
604
604
  #endif
605
605
  #ifdef ELIBSCN
@@ -608,7 +608,7 @@
608
608
  undefined_error("ELIBSCN")
609
609
  #endif
610
610
  #if 0
611
- /* \ELNRNG error */
611
+ /* "Link number out of range" error */
612
612
  rb_define_const(rb_mErrno, "ELNRNG", eELNRNG);
613
613
  #endif
614
614
  #ifdef ELNRNG
@@ -626,7 +626,7 @@
626
626
  undefined_error("ELOOP")
627
627
  #endif
628
628
  #if 0
629
- /* \EMEDIUMTYPE error */
629
+ /* "Wrong medium type" error */
630
630
  rb_define_const(rb_mErrno, "EMEDIUMTYPE", eEMEDIUMTYPE);
631
631
  #endif
632
632
  #ifdef EMEDIUMTYPE
@@ -635,7 +635,7 @@
635
635
  undefined_error("EMEDIUMTYPE")
636
636
  #endif
637
637
  #if 0
638
- /* "File descriptor value too large" error */
638
+ /* "Too many open files" error */
639
639
  rb_define_const(rb_mErrno, "EMFILE", eEMFILE);
640
640
  #endif
641
641
  #ifdef EMFILE
@@ -653,7 +653,7 @@
653
653
  undefined_error("EMLINK")
654
654
  #endif
655
655
  #if 0
656
- /* "Message too large" error */
656
+ /* "Message too long" error */
657
657
  rb_define_const(rb_mErrno, "EMSGSIZE", eEMSGSIZE);
658
658
  #endif
659
659
  #ifdef EMSGSIZE
@@ -662,7 +662,7 @@
662
662
  undefined_error("EMSGSIZE")
663
663
  #endif
664
664
  #if 0
665
- /* "Reserved" error */
665
+ /* "Multihop attempted" error */
666
666
  rb_define_const(rb_mErrno, "EMULTIHOP", eEMULTIHOP);
667
667
  #endif
668
668
  #ifdef EMULTIHOP
@@ -680,7 +680,7 @@
680
680
  undefined_error("ENAMETOOLONG")
681
681
  #endif
682
682
  #if 0
683
- /* \ENAVAIL error */
683
+ /* "No XENIX semaphores available" error */
684
684
  rb_define_const(rb_mErrno, "ENAVAIL", eENAVAIL);
685
685
  #endif
686
686
  #ifdef ENAVAIL
@@ -689,7 +689,7 @@
689
689
  undefined_error("ENAVAIL")
690
690
  #endif
691
691
  #if 0
692
- /* \ENEEDAUTH error */
692
+ /* "Need authenticator" error */
693
693
  rb_define_const(rb_mErrno, "ENEEDAUTH", eENEEDAUTH);
694
694
  #endif
695
695
  #ifdef ENEEDAUTH
@@ -725,7 +725,7 @@
725
725
  undefined_error("ENETUNREACH")
726
726
  #endif
727
727
  #if 0
728
- /* "Too many files open in system" error */
728
+ /* "Too many open files in system" error */
729
729
  rb_define_const(rb_mErrno, "ENFILE", eENFILE);
730
730
  #endif
731
731
  #ifdef ENFILE
@@ -734,7 +734,7 @@
734
734
  undefined_error("ENFILE")
735
735
  #endif
736
736
  #if 0
737
- /* \ENOANO error */
737
+ /* "No anode" error */
738
738
  rb_define_const(rb_mErrno, "ENOANO", eENOANO);
739
739
  #endif
740
740
  #ifdef ENOANO
@@ -743,7 +743,7 @@
743
743
  undefined_error("ENOANO")
744
744
  #endif
745
745
  #if 0
746
- /* \ENOATTR error */
746
+ /* "Attribute not found" error */
747
747
  rb_define_const(rb_mErrno, "ENOATTR", eENOATTR);
748
748
  #endif
749
749
  #ifdef ENOATTR
@@ -761,7 +761,7 @@
761
761
  undefined_error("ENOBUFS")
762
762
  #endif
763
763
  #if 0
764
- /* \ENOCSI error */
764
+ /* "No CSI structure available" error */
765
765
  rb_define_const(rb_mErrno, "ENOCSI", eENOCSI);
766
766
  #endif
767
767
  #ifdef ENOCSI
@@ -770,7 +770,7 @@
770
770
  undefined_error("ENOCSI")
771
771
  #endif
772
772
  #if 0
773
- /* "[OB XSR] [Option Start] No message is available on the STREAM head read queue [Option End]" error */
773
+ /* "No data available" error */
774
774
  rb_define_const(rb_mErrno, "ENODATA", eENODATA);
775
775
  #endif
776
776
  #ifdef ENODATA
@@ -797,7 +797,7 @@
797
797
  undefined_error("ENOENT")
798
798
  #endif
799
799
  #if 0
800
- /* "Executable file format error" error */
800
+ /* "Exec format error" error */
801
801
  rb_define_const(rb_mErrno, "ENOEXEC", eENOEXEC);
802
802
  #endif
803
803
  #ifdef ENOEXEC
@@ -806,7 +806,7 @@
806
806
  undefined_error("ENOEXEC")
807
807
  #endif
808
808
  #if 0
809
- /* \ENOKEY error */
809
+ /* "Required key not available" error */
810
810
  rb_define_const(rb_mErrno, "ENOKEY", eENOKEY);
811
811
  #endif
812
812
  #ifdef ENOKEY
@@ -824,7 +824,7 @@
824
824
  undefined_error("ENOLCK")
825
825
  #endif
826
826
  #if 0
827
- /* "Reserved" error */
827
+ /* "Link has been severed" error */
828
828
  rb_define_const(rb_mErrno, "ENOLINK", eENOLINK);
829
829
  #endif
830
830
  #ifdef ENOLINK
@@ -833,7 +833,7 @@
833
833
  undefined_error("ENOLINK")
834
834
  #endif
835
835
  #if 0
836
- /* \ENOMEDIUM error */
836
+ /* "No medium found" error */
837
837
  rb_define_const(rb_mErrno, "ENOMEDIUM", eENOMEDIUM);
838
838
  #endif
839
839
  #ifdef ENOMEDIUM
@@ -842,7 +842,7 @@
842
842
  undefined_error("ENOMEDIUM")
843
843
  #endif
844
844
  #if 0
845
- /* "Not enough space" error */
845
+ /* "Not enough space/cannot allocate memory" error */
846
846
  rb_define_const(rb_mErrno, "ENOMEM", eENOMEM);
847
847
  #endif
848
848
  #ifdef ENOMEM
@@ -860,7 +860,7 @@
860
860
  undefined_error("ENOMSG")
861
861
  #endif
862
862
  #if 0
863
- /* \ENONET error */
863
+ /* "Machine is not on the network" error */
864
864
  rb_define_const(rb_mErrno, "ENONET", eENONET);
865
865
  #endif
866
866
  #ifdef ENONET
@@ -869,7 +869,7 @@
869
869
  undefined_error("ENONET")
870
870
  #endif
871
871
  #if 0
872
- /* \ENOPKG error */
872
+ /* "Package not installed" error */
873
873
  rb_define_const(rb_mErrno, "ENOPKG", eENOPKG);
874
874
  #endif
875
875
  #ifdef ENOPKG
@@ -878,7 +878,7 @@
878
878
  undefined_error("ENOPKG")
879
879
  #endif
880
880
  #if 0
881
- /* \ENOPOLICY error */
881
+ /* "No such policy" error */
882
882
  rb_define_const(rb_mErrno, "ENOPOLICY", eENOPOLICY);
883
883
  #endif
884
884
  #ifdef ENOPOLICY
@@ -905,7 +905,7 @@
905
905
  undefined_error("ENOSPC")
906
906
  #endif
907
907
  #if 0
908
- /* "[OB XSR] [Option Start] No STREAM resources [Option End]" error */
908
+ /* "No STREAM resources" error */
909
909
  rb_define_const(rb_mErrno, "ENOSR", eENOSR);
910
910
  #endif
911
911
  #ifdef ENOSR
@@ -914,7 +914,7 @@
914
914
  undefined_error("ENOSR")
915
915
  #endif
916
916
  #if 0
917
- /* "[OB XSR] [Option Start] Not a STREAM [Option End]" error */
917
+ /* "Not a STREAM" error */
918
918
  rb_define_const(rb_mErrno, "ENOSTR", eENOSTR);
919
919
  #endif
920
920
  #ifdef ENOSTR
@@ -923,7 +923,7 @@
923
923
  undefined_error("ENOSTR")
924
924
  #endif
925
925
  #if 0
926
- /* "Functionality not supported" error */
926
+ /* "Functionality not implemented" error */
927
927
  rb_define_const(rb_mErrno, "ENOSYS", eENOSYS);
928
928
  #endif
929
929
  #ifdef ENOSYS
@@ -932,7 +932,7 @@
932
932
  undefined_error("ENOSYS")
933
933
  #endif
934
934
  #if 0
935
- /* \ENOTBLK error */
935
+ /* "Block device required" error */
936
936
  rb_define_const(rb_mErrno, "ENOTBLK", eENOTBLK);
937
937
  #endif
938
938
  #ifdef ENOTBLK
@@ -941,7 +941,7 @@
941
941
  undefined_error("ENOTBLK")
942
942
  #endif
943
943
  #if 0
944
- /* \ENOTCAPABLE error */
944
+ /* "Capabilities insufficient" error */
945
945
  rb_define_const(rb_mErrno, "ENOTCAPABLE", eENOTCAPABLE);
946
946
  #endif
947
947
  #ifdef ENOTCAPABLE
@@ -959,7 +959,7 @@
959
959
  undefined_error("ENOTCONN")
960
960
  #endif
961
961
  #if 0
962
- /* "Not a directory or a symbolic link to a directory" error */
962
+ /* "Not a directory" error */
963
963
  rb_define_const(rb_mErrno, "ENOTDIR", eENOTDIR);
964
964
  #endif
965
965
  #ifdef ENOTDIR
@@ -977,7 +977,7 @@
977
977
  undefined_error("ENOTEMPTY")
978
978
  #endif
979
979
  #if 0
980
- /* \ENOTNAM error */
980
+ /* "Not a XENIX named type file" error */
981
981
  rb_define_const(rb_mErrno, "ENOTNAM", eENOTNAM);
982
982
  #endif
983
983
  #ifdef ENOTNAM
@@ -1004,7 +1004,7 @@
1004
1004
  undefined_error("ENOTSOCK")
1005
1005
  #endif
1006
1006
  #if 0
1007
- /* "Not supported (may be the same value as [EOPNOTSUPP])" error */
1007
+ /* "Operation not supported" error */
1008
1008
  rb_define_const(rb_mErrno, "ENOTSUP", eENOTSUP);
1009
1009
  #endif
1010
1010
  #ifdef ENOTSUP
@@ -1022,7 +1022,7 @@
1022
1022
  undefined_error("ENOTTY")
1023
1023
  #endif
1024
1024
  #if 0
1025
- /* \ENOTUNIQ error */
1025
+ /* "Name not unique on network" error */
1026
1026
  rb_define_const(rb_mErrno, "ENOTUNIQ", eENOTUNIQ);
1027
1027
  #endif
1028
1028
  #ifdef ENOTUNIQ
@@ -1040,7 +1040,7 @@
1040
1040
  undefined_error("ENXIO")
1041
1041
  #endif
1042
1042
  #if 0
1043
- /* "Operation not supported on socket (may be the same value as [ENOTSUP])" error */
1043
+ /* "Operation not supported on socket" error */
1044
1044
  rb_define_const(rb_mErrno, "EOPNOTSUPP", eEOPNOTSUPP);
1045
1045
  #endif
1046
1046
  #ifdef EOPNOTSUPP
@@ -1058,7 +1058,7 @@
1058
1058
  undefined_error("EOVERFLOW")
1059
1059
  #endif
1060
1060
  #if 0
1061
- /* "Previous owner died" error */
1061
+ /* "Owner died" error */
1062
1062
  rb_define_const(rb_mErrno, "EOWNERDEAD", eEOWNERDEAD);
1063
1063
  #endif
1064
1064
  #ifdef EOWNERDEAD
@@ -1076,7 +1076,7 @@
1076
1076
  undefined_error("EPERM")
1077
1077
  #endif
1078
1078
  #if 0
1079
- /* \EPFNOSUPPORT error */
1079
+ /* "Protocol family not supported" error */
1080
1080
  rb_define_const(rb_mErrno, "EPFNOSUPPORT", eEPFNOSUPPORT);
1081
1081
  #endif
1082
1082
  #ifdef EPFNOSUPPORT
@@ -1094,7 +1094,7 @@
1094
1094
  undefined_error("EPIPE")
1095
1095
  #endif
1096
1096
  #if 0
1097
- /* \EPROCLIM error */
1097
+ /* "Too many processes" error */
1098
1098
  rb_define_const(rb_mErrno, "EPROCLIM", eEPROCLIM);
1099
1099
  #endif
1100
1100
  #ifdef EPROCLIM
@@ -1103,7 +1103,7 @@
1103
1103
  undefined_error("EPROCLIM")
1104
1104
  #endif
1105
1105
  #if 0
1106
- /* \EPROCUNAVAIL error */
1106
+ /* "Bad procedure for program" error */
1107
1107
  rb_define_const(rb_mErrno, "EPROCUNAVAIL", eEPROCUNAVAIL);
1108
1108
  #endif
1109
1109
  #ifdef EPROCUNAVAIL
@@ -1112,7 +1112,7 @@
1112
1112
  undefined_error("EPROCUNAVAIL")
1113
1113
  #endif
1114
1114
  #if 0
1115
- /* \EPROGMISMATCH error */
1115
+ /* "Program version wrong" error */
1116
1116
  rb_define_const(rb_mErrno, "EPROGMISMATCH", eEPROGMISMATCH);
1117
1117
  #endif
1118
1118
  #ifdef EPROGMISMATCH
@@ -1121,7 +1121,7 @@
1121
1121
  undefined_error("EPROGMISMATCH")
1122
1122
  #endif
1123
1123
  #if 0
1124
- /* \EPROGUNAVAIL error */
1124
+ /* "RPC program isn't available" error */
1125
1125
  rb_define_const(rb_mErrno, "EPROGUNAVAIL", eEPROGUNAVAIL);
1126
1126
  #endif
1127
1127
  #ifdef EPROGUNAVAIL
@@ -1157,7 +1157,7 @@
1157
1157
  undefined_error("EPROTOTYPE")
1158
1158
  #endif
1159
1159
  #if 0
1160
- /* \EPWROFF error */
1160
+ /* "Device power is off" error */
1161
1161
  rb_define_const(rb_mErrno, "EPWROFF", eEPWROFF);
1162
1162
  #endif
1163
1163
  #ifdef EPWROFF
@@ -1166,7 +1166,7 @@
1166
1166
  undefined_error("EPWROFF")
1167
1167
  #endif
1168
1168
  #if 0
1169
- /* \EQFULL error */
1169
+ /* "Interface output queue is full" error */
1170
1170
  rb_define_const(rb_mErrno, "EQFULL", eEQFULL);
1171
1171
  #endif
1172
1172
  #ifdef EQFULL
@@ -1184,7 +1184,7 @@
1184
1184
  undefined_error("ERANGE")
1185
1185
  #endif
1186
1186
  #if 0
1187
- /* \EREMCHG error */
1187
+ /* "Remote address changed" error */
1188
1188
  rb_define_const(rb_mErrno, "EREMCHG", eEREMCHG);
1189
1189
  #endif
1190
1190
  #ifdef EREMCHG
@@ -1193,7 +1193,7 @@
1193
1193
  undefined_error("EREMCHG")
1194
1194
  #endif
1195
1195
  #if 0
1196
- /* \EREMOTE error */
1196
+ /* "Object is remote" error */
1197
1197
  rb_define_const(rb_mErrno, "EREMOTE", eEREMOTE);
1198
1198
  #endif
1199
1199
  #ifdef EREMOTE
@@ -1202,7 +1202,7 @@
1202
1202
  undefined_error("EREMOTE")
1203
1203
  #endif
1204
1204
  #if 0
1205
- /* \EREMOTEIO error */
1205
+ /* "Remote I/O error" error */
1206
1206
  rb_define_const(rb_mErrno, "EREMOTEIO", eEREMOTEIO);
1207
1207
  #endif
1208
1208
  #ifdef EREMOTEIO
@@ -1211,7 +1211,7 @@
1211
1211
  undefined_error("EREMOTEIO")
1212
1212
  #endif
1213
1213
  #if 0
1214
- /* \ERESTART error */
1214
+ /* "Interrupted system call should be restarted" error */
1215
1215
  rb_define_const(rb_mErrno, "ERESTART", eERESTART);
1216
1216
  #endif
1217
1217
  #ifdef ERESTART
@@ -1220,7 +1220,7 @@
1220
1220
  undefined_error("ERESTART")
1221
1221
  #endif
1222
1222
  #if 0
1223
- /* \ERFKILL error */
1223
+ /* "Operation not possible due to RF-kill" error */
1224
1224
  rb_define_const(rb_mErrno, "ERFKILL", eERFKILL);
1225
1225
  #endif
1226
1226
  #ifdef ERFKILL
@@ -1238,7 +1238,7 @@
1238
1238
  undefined_error("EROFS")
1239
1239
  #endif
1240
1240
  #if 0
1241
- /* \ERPCMISMATCH error */
1241
+ /* "RPC version wrong" error */
1242
1242
  rb_define_const(rb_mErrno, "ERPCMISMATCH", eERPCMISMATCH);
1243
1243
  #endif
1244
1244
  #ifdef ERPCMISMATCH
@@ -1247,7 +1247,7 @@
1247
1247
  undefined_error("ERPCMISMATCH")
1248
1248
  #endif
1249
1249
  #if 0
1250
- /* \ESHLIBVERS error */
1250
+ /* "Shared library version mismatch" error */
1251
1251
  rb_define_const(rb_mErrno, "ESHLIBVERS", eESHLIBVERS);
1252
1252
  #endif
1253
1253
  #ifdef ESHLIBVERS
@@ -1256,7 +1256,7 @@
1256
1256
  undefined_error("ESHLIBVERS")
1257
1257
  #endif
1258
1258
  #if 0
1259
- /* \ESHUTDOWN error */
1259
+ /* "Cannot send after transport endpoint shutdown" error */
1260
1260
  rb_define_const(rb_mErrno, "ESHUTDOWN", eESHUTDOWN);
1261
1261
  #endif
1262
1262
  #ifdef ESHUTDOWN
@@ -1265,7 +1265,7 @@
1265
1265
  undefined_error("ESHUTDOWN")
1266
1266
  #endif
1267
1267
  #if 0
1268
- /* \ESOCKTNOSUPPORT error */
1268
+ /* "Socket type not supported" error */
1269
1269
  rb_define_const(rb_mErrno, "ESOCKTNOSUPPORT", eESOCKTNOSUPPORT);
1270
1270
  #endif
1271
1271
  #ifdef ESOCKTNOSUPPORT
@@ -1274,7 +1274,7 @@
1274
1274
  undefined_error("ESOCKTNOSUPPORT")
1275
1275
  #endif
1276
1276
  #if 0
1277
- /* "Invalid seek" error */
1277
+ /* "Illegal seek" error */
1278
1278
  rb_define_const(rb_mErrno, "ESPIPE", eESPIPE);
1279
1279
  #endif
1280
1280
  #ifdef ESPIPE
@@ -1292,7 +1292,7 @@
1292
1292
  undefined_error("ESRCH")
1293
1293
  #endif
1294
1294
  #if 0
1295
- /* \ESRMNT error */
1295
+ /* "Server mount error" error */
1296
1296
  rb_define_const(rb_mErrno, "ESRMNT", eESRMNT);
1297
1297
  #endif
1298
1298
  #ifdef ESRMNT
@@ -1301,7 +1301,7 @@
1301
1301
  undefined_error("ESRMNT")
1302
1302
  #endif
1303
1303
  #if 0
1304
- /* "Reserved" error */
1304
+ /* "Stale file handle" error */
1305
1305
  rb_define_const(rb_mErrno, "ESTALE", eESTALE);
1306
1306
  #endif
1307
1307
  #ifdef ESTALE
@@ -1310,7 +1310,7 @@
1310
1310
  undefined_error("ESTALE")
1311
1311
  #endif
1312
1312
  #if 0
1313
- /* \ESTRPIPE error */
1313
+ /* "Streams pipe error" error */
1314
1314
  rb_define_const(rb_mErrno, "ESTRPIPE", eESTRPIPE);
1315
1315
  #endif
1316
1316
  #ifdef ESTRPIPE
@@ -1319,7 +1319,7 @@
1319
1319
  undefined_error("ESTRPIPE")
1320
1320
  #endif
1321
1321
  #if 0
1322
- /* "[OB XSR] [Option Start] Stream ioctl() timeout [Option End]" error */
1322
+ /* "Timer expired" error */
1323
1323
  rb_define_const(rb_mErrno, "ETIME", eETIME);
1324
1324
  #endif
1325
1325
  #ifdef ETIME
@@ -1337,7 +1337,7 @@
1337
1337
  undefined_error("ETIMEDOUT")
1338
1338
  #endif
1339
1339
  #if 0
1340
- /* \ETOOMANYREFS error */
1340
+ /* "Too many references: cannot splice" error */
1341
1341
  rb_define_const(rb_mErrno, "ETOOMANYREFS", eETOOMANYREFS);
1342
1342
  #endif
1343
1343
  #ifdef ETOOMANYREFS
@@ -1355,7 +1355,7 @@
1355
1355
  undefined_error("ETXTBSY")
1356
1356
  #endif
1357
1357
  #if 0
1358
- /* \EUCLEAN error */
1358
+ /* "Structure needs cleaning" error */
1359
1359
  rb_define_const(rb_mErrno, "EUCLEAN", eEUCLEAN);
1360
1360
  #endif
1361
1361
  #ifdef EUCLEAN
@@ -1364,7 +1364,7 @@
1364
1364
  undefined_error("EUCLEAN")
1365
1365
  #endif
1366
1366
  #if 0
1367
- /* \EUNATCH error */
1367
+ /* "Protocol driver not attached" error */
1368
1368
  rb_define_const(rb_mErrno, "EUNATCH", eEUNATCH);
1369
1369
  #endif
1370
1370
  #ifdef EUNATCH
@@ -1373,7 +1373,7 @@
1373
1373
  undefined_error("EUNATCH")
1374
1374
  #endif
1375
1375
  #if 0
1376
- /* \EUSERS error */
1376
+ /* "Too many users" error */
1377
1377
  rb_define_const(rb_mErrno, "EUSERS", eEUSERS);
1378
1378
  #endif
1379
1379
  #ifdef EUSERS
@@ -1382,7 +1382,7 @@
1382
1382
  undefined_error("EUSERS")
1383
1383
  #endif
1384
1384
  #if 0
1385
- /* "Operation would block (may be the same value as [EAGAIN])" error */
1385
+ /* "Operation would block" error */
1386
1386
  rb_define_const(rb_mErrno, "EWOULDBLOCK", eEWOULDBLOCK);
1387
1387
  #endif
1388
1388
  #ifdef EWOULDBLOCK
@@ -1391,7 +1391,7 @@
1391
1391
  undefined_error("EWOULDBLOCK")
1392
1392
  #endif
1393
1393
  #if 0
1394
- /* "Cross-device link" error */
1394
+ /* "Invalid cross-device link" error */
1395
1395
  rb_define_const(rb_mErrno, "EXDEV", eEXDEV);
1396
1396
  #endif
1397
1397
  #ifdef EXDEV
@@ -1400,7 +1400,7 @@
1400
1400
  undefined_error("EXDEV")
1401
1401
  #endif
1402
1402
  #if 0
1403
- /* \EXFULL error */
1403
+ /* "Exchange full" error */
1404
1404
  rb_define_const(rb_mErrno, "EXFULL", eEXFULL);
1405
1405
  #endif
1406
1406
  #ifdef EXFULL
@@ -1409,7 +1409,7 @@
1409
1409
  undefined_error("EXFULL")
1410
1410
  #endif
1411
1411
  #if 0
1412
- /* "Largest errno" error */
1412
+ /* "Largest errno value" error */
1413
1413
  rb_define_const(rb_mErrno, "ELAST", eELAST);
1414
1414
  #endif
1415
1415
  #ifdef ELAST