nutcracker 0.2.4.10mac → 0.2.4.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (290) hide show
  1. data/ext/nutcracker/ChangeLog +0 -0
  2. data/ext/nutcracker/LICENSE +0 -0
  3. data/ext/nutcracker/Makefile.am +0 -0
  4. data/ext/nutcracker/Makefile.in +190 -82
  5. data/ext/nutcracker/NOTICE +0 -0
  6. data/ext/nutcracker/README.md +0 -0
  7. data/ext/nutcracker/aclocal.m4 +231 -122
  8. data/ext/nutcracker/conf/nutcracker.leaf.yml +0 -0
  9. data/ext/nutcracker/conf/nutcracker.root.yml +0 -0
  10. data/ext/nutcracker/conf/nutcracker.yml +0 -0
  11. data/ext/nutcracker/config/config.guess +278 -248
  12. data/ext/nutcracker/config/config.sub +234 -77
  13. data/ext/nutcracker/config/depcomp +143 -39
  14. data/ext/nutcracker/config/install-sh +136 -116
  15. data/ext/nutcracker/config/ltmain.sh +1704 -788
  16. data/ext/nutcracker/config/missing +29 -65
  17. data/ext/nutcracker/config.h.in +0 -15
  18. data/ext/nutcracker/configure +1998 -1052
  19. data/ext/nutcracker/configure.ac +2 -34
  20. data/ext/nutcracker/contrib/Makefile.am +0 -0
  21. data/ext/nutcracker/contrib/Makefile.in +120 -47
  22. data/ext/nutcracker/contrib/yaml-0.1.4.tar.gz +0 -0
  23. data/ext/nutcracker/extconf.rb +5 -0
  24. data/ext/nutcracker/m4/libtool.m4 +960 -396
  25. data/ext/nutcracker/m4/ltoptions.m4 +17 -2
  26. data/ext/nutcracker/m4/ltversion.m4 +6 -6
  27. data/ext/nutcracker/notes/c-styleguide.txt +0 -0
  28. data/ext/nutcracker/notes/debug.txt +0 -0
  29. data/ext/nutcracker/notes/memcache.txt +0 -0
  30. data/ext/nutcracker/notes/recommendation.md +0 -0
  31. data/ext/nutcracker/notes/redis.md +0 -0
  32. data/ext/nutcracker/notes/socket.txt +0 -0
  33. data/ext/nutcracker/scripts/nutcracker.init +0 -0
  34. data/ext/nutcracker/scripts/nutcracker.spec +0 -0
  35. data/ext/nutcracker/scripts/redis-check.py +0 -0
  36. data/ext/nutcracker/src/Makefile.am +1 -1
  37. data/ext/nutcracker/src/Makefile.in +167 -81
  38. data/ext/nutcracker/src/hashkit/Makefile.am +0 -0
  39. data/ext/nutcracker/src/hashkit/Makefile.in +72 -37
  40. data/ext/nutcracker/src/hashkit/nc_crc16.c +0 -0
  41. data/ext/nutcracker/src/hashkit/nc_crc32.c +0 -0
  42. data/ext/nutcracker/src/hashkit/nc_fnv.c +0 -0
  43. data/ext/nutcracker/src/hashkit/nc_hashkit.h +0 -0
  44. data/ext/nutcracker/src/hashkit/nc_hsieh.c +0 -0
  45. data/ext/nutcracker/src/hashkit/nc_jenkins.c +0 -0
  46. data/ext/nutcracker/src/hashkit/nc_ketama.c +0 -0
  47. data/ext/nutcracker/src/hashkit/nc_md5.c +0 -0
  48. data/ext/nutcracker/src/hashkit/nc_modula.c +0 -0
  49. data/ext/nutcracker/src/hashkit/nc_murmur.c +0 -0
  50. data/ext/nutcracker/src/hashkit/nc_one_at_a_time.c +0 -0
  51. data/ext/nutcracker/src/hashkit/nc_random.c +0 -0
  52. data/ext/nutcracker/src/nc.c +0 -0
  53. data/ext/nutcracker/src/nc_array.c +0 -0
  54. data/ext/nutcracker/src/nc_array.h +0 -0
  55. data/ext/nutcracker/src/nc_client.c +0 -0
  56. data/ext/nutcracker/src/nc_client.h +0 -0
  57. data/ext/nutcracker/src/nc_conf.c +0 -0
  58. data/ext/nutcracker/src/nc_conf.h +0 -0
  59. data/ext/nutcracker/src/nc_connection.c +0 -0
  60. data/ext/nutcracker/src/nc_connection.h +0 -0
  61. data/ext/nutcracker/src/nc_core.c +26 -29
  62. data/ext/nutcracker/src/nc_core.h +5 -13
  63. data/ext/nutcracker/src/{nc_epoll.c → nc_event.c} +30 -94
  64. data/ext/nutcracker/src/nc_event.h +13 -33
  65. data/ext/nutcracker/src/nc_log.c +0 -0
  66. data/ext/nutcracker/src/nc_log.h +0 -0
  67. data/ext/nutcracker/src/nc_mbuf.c +0 -0
  68. data/ext/nutcracker/src/nc_mbuf.h +0 -0
  69. data/ext/nutcracker/src/nc_message.c +0 -0
  70. data/ext/nutcracker/src/nc_message.h +0 -0
  71. data/ext/nutcracker/src/nc_proxy.c +8 -8
  72. data/ext/nutcracker/src/nc_proxy.h +0 -0
  73. data/ext/nutcracker/src/nc_queue.h +0 -0
  74. data/ext/nutcracker/src/nc_rbtree.c +0 -0
  75. data/ext/nutcracker/src/nc_rbtree.h +0 -0
  76. data/ext/nutcracker/src/nc_request.c +3 -3
  77. data/ext/nutcracker/src/nc_response.c +6 -4
  78. data/ext/nutcracker/src/nc_server.c +5 -5
  79. data/ext/nutcracker/src/nc_server.h +0 -0
  80. data/ext/nutcracker/src/nc_signal.c +0 -0
  81. data/ext/nutcracker/src/nc_signal.h +0 -0
  82. data/ext/nutcracker/src/nc_stats.c +21 -16
  83. data/ext/nutcracker/src/nc_stats.h +4 -3
  84. data/ext/nutcracker/src/nc_string.c +0 -0
  85. data/ext/nutcracker/src/nc_string.h +0 -0
  86. data/ext/nutcracker/src/nc_util.c +0 -16
  87. data/ext/nutcracker/src/nc_util.h +0 -1
  88. data/ext/nutcracker/src/proto/Makefile.am +0 -0
  89. data/ext/nutcracker/src/proto/Makefile.in +72 -37
  90. data/ext/nutcracker/src/proto/nc_memcache.c +0 -0
  91. data/ext/nutcracker/src/proto/nc_proto.h +0 -0
  92. data/ext/nutcracker/src/proto/nc_redis.c +0 -0
  93. data/lib/nutcracker/version.rb +1 -1
  94. metadata +8 -201
  95. data/ext/nutcracker/Makefile +0 -643
  96. data/ext/nutcracker/autom4te.cache/output.0 +0 -18664
  97. data/ext/nutcracker/autom4te.cache/output.1 +0 -18664
  98. data/ext/nutcracker/autom4te.cache/output.2 +0 -18664
  99. data/ext/nutcracker/autom4te.cache/requests +0 -494
  100. data/ext/nutcracker/autom4te.cache/traces.0 +0 -2415
  101. data/ext/nutcracker/autom4te.cache/traces.1 +0 -945
  102. data/ext/nutcracker/autom4te.cache/traces.2 +0 -2415
  103. data/ext/nutcracker/config.h +0 -332
  104. data/ext/nutcracker/config.log +0 -2684
  105. data/ext/nutcracker/config.status +0 -2317
  106. data/ext/nutcracker/contrib/Makefile +0 -494
  107. data/ext/nutcracker/contrib/yaml-0.1.4/Makefile +0 -736
  108. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.0 +0 -13102
  109. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.1 +0 -13085
  110. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/output.2 +0 -13085
  111. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/requests +0 -476
  112. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.0 +0 -2339
  113. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.1 +0 -545
  114. data/ext/nutcracker/contrib/yaml-0.1.4/autom4te.cache/traces.2 +0 -2339
  115. data/ext/nutcracker/contrib/yaml-0.1.4/config.h +0 -81
  116. data/ext/nutcracker/contrib/yaml-0.1.4/config.h.in~ +0 -80
  117. data/ext/nutcracker/contrib/yaml-0.1.4/config.log +0 -688
  118. data/ext/nutcracker/contrib/yaml-0.1.4/config.status +0 -2032
  119. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/annotated.html +0 -51
  120. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/bc_s.png +0 -0
  121. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/classes.html +0 -41
  122. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/closed.png +0 -0
  123. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.css +0 -656
  124. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/doxygen.png +0 -0
  125. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/files.html +0 -40
  126. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions.html +0 -91
  127. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x62.html +0 -84
  128. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x63.html +0 -87
  129. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x64.html +0 -83
  130. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x65.html +0 -110
  131. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x66.html +0 -79
  132. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x68.html +0 -80
  133. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x69.html +0 -92
  134. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6b.html +0 -71
  135. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6c.html +0 -88
  136. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6d.html +0 -96
  137. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6e.html +0 -71
  138. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x6f.html +0 -80
  139. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x70.html +0 -100
  140. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x71.html +0 -71
  141. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x72.html +0 -87
  142. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x73.html +0 -163
  143. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x74.html +0 -115
  144. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x75.html +0 -71
  145. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x76.html +0 -80
  146. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_0x77.html +0 -77
  147. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars.html +0 -91
  148. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x62.html +0 -84
  149. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x63.html +0 -87
  150. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x64.html +0 -83
  151. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x65.html +0 -110
  152. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x66.html +0 -79
  153. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x68.html +0 -80
  154. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x69.html +0 -92
  155. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6b.html +0 -71
  156. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6c.html +0 -88
  157. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6d.html +0 -96
  158. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6e.html +0 -71
  159. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x6f.html +0 -80
  160. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x70.html +0 -100
  161. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x71.html +0 -71
  162. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x72.html +0 -87
  163. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x73.html +0 -163
  164. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x74.html +0 -115
  165. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x75.html +0 -71
  166. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x76.html +0 -80
  167. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/functions_vars_0x77.html +0 -77
  168. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals.html +0 -667
  169. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_defs.html +0 -81
  170. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_enum.html +0 -78
  171. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_eval.html +0 -373
  172. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_func.html +0 -196
  173. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/globals_type.html +0 -126
  174. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__basic.html +0 -320
  175. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__emitter.html +0 -819
  176. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__events.html +0 -664
  177. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__export.html +0 -60
  178. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__nodes.html +0 -795
  179. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__parser.html +0 -606
  180. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__styles.html +0 -222
  181. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__tokens.html +0 -246
  182. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/group__version.html +0 -106
  183. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/index.html +0 -31
  184. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/modules.html +0 -42
  185. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_f.png +0 -0
  186. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/nav_h.png +0 -0
  187. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/open.png +0 -0
  188. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__alias__data__s.html +0 -108
  189. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__document__s.html +0 -235
  190. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__emitter__s.html +0 -1300
  191. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__event__s.html +0 -496
  192. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__mark__s.html +0 -108
  193. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__pair__s.html +0 -91
  194. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__node__s.html +0 -420
  195. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__parser__s.html +0 -1229
  196. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__simple__key__s.html +0 -97
  197. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__tag__directive__s.html +0 -91
  198. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__token__s.html +0 -413
  199. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/structyaml__version__directive__s.html +0 -91
  200. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_a.png +0 -0
  201. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_b.png +0 -0
  202. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_h.png +0 -0
  203. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tab_s.png +0 -0
  204. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/tabs.css +0 -59
  205. data/ext/nutcracker/contrib/yaml-0.1.4/doc/html/yaml_8h.html +0 -525
  206. data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.am +0 -17
  207. data/ext/nutcracker/contrib/yaml-0.1.4/include/Makefile.in +0 -470
  208. data/ext/nutcracker/contrib/yaml-0.1.4/libtool +0 -8890
  209. data/ext/nutcracker/contrib/yaml-0.1.4/src/Makefile +0 -484
  210. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.lo +0 -12
  211. data/ext/nutcracker/contrib/yaml-0.1.4/src/api.o +0 -0
  212. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.lo +0 -12
  213. data/ext/nutcracker/contrib/yaml-0.1.4/src/dumper.o +0 -0
  214. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.lo +0 -12
  215. data/ext/nutcracker/contrib/yaml-0.1.4/src/emitter.o +0 -0
  216. data/ext/nutcracker/contrib/yaml-0.1.4/src/libyaml.la +0 -41
  217. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.lo +0 -12
  218. data/ext/nutcracker/contrib/yaml-0.1.4/src/loader.o +0 -0
  219. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.lo +0 -12
  220. data/ext/nutcracker/contrib/yaml-0.1.4/src/parser.o +0 -0
  221. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.lo +0 -12
  222. data/ext/nutcracker/contrib/yaml-0.1.4/src/reader.o +0 -0
  223. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.lo +0 -12
  224. data/ext/nutcracker/contrib/yaml-0.1.4/src/scanner.o +0 -0
  225. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.lo +0 -12
  226. data/ext/nutcracker/contrib/yaml-0.1.4/src/writer.o +0 -0
  227. data/ext/nutcracker/contrib/yaml-0.1.4/stamp-h1 +0 -1
  228. data/ext/nutcracker/contrib/yaml-0.1.4/tests/Makefile +0 -675
  229. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor +0 -0
  230. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt +0 -0
  231. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor-alt.o +0 -0
  232. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-deconstructor.o +0 -0
  233. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter +0 -0
  234. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt +0 -0
  235. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter-alt.o +0 -0
  236. data/ext/nutcracker/contrib/yaml-0.1.4/tests/example-reformatter.o +0 -0
  237. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper +0 -0
  238. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-dumper.o +0 -0
  239. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter +0 -0
  240. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-emitter.o +0 -0
  241. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader +0 -0
  242. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-loader.o +0 -0
  243. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser +0 -0
  244. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-parser.o +0 -0
  245. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner +0 -0
  246. data/ext/nutcracker/contrib/yaml-0.1.4/tests/run-scanner.o +0 -0
  247. data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc +0 -10
  248. data/ext/nutcracker/contrib/yaml-0.1.4/yaml-0.1.pc.in +0 -10
  249. data/ext/nutcracker/libtool +0 -9403
  250. data/ext/nutcracker/src/Makefile +0 -647
  251. data/ext/nutcracker/src/hashkit/Makefile +0 -476
  252. data/ext/nutcracker/src/hashkit/libhashkit.a +0 -0
  253. data/ext/nutcracker/src/hashkit/nc_crc16.o +0 -0
  254. data/ext/nutcracker/src/hashkit/nc_crc32.o +0 -0
  255. data/ext/nutcracker/src/hashkit/nc_fnv.o +0 -0
  256. data/ext/nutcracker/src/hashkit/nc_hsieh.o +0 -0
  257. data/ext/nutcracker/src/hashkit/nc_jenkins.o +0 -0
  258. data/ext/nutcracker/src/hashkit/nc_ketama.o +0 -0
  259. data/ext/nutcracker/src/hashkit/nc_md5.o +0 -0
  260. data/ext/nutcracker/src/hashkit/nc_modula.o +0 -0
  261. data/ext/nutcracker/src/hashkit/nc_murmur.o +0 -0
  262. data/ext/nutcracker/src/hashkit/nc_one_at_a_time.o +0 -0
  263. data/ext/nutcracker/src/hashkit/nc_random.o +0 -0
  264. data/ext/nutcracker/src/nc.o +0 -0
  265. data/ext/nutcracker/src/nc_array.o +0 -0
  266. data/ext/nutcracker/src/nc_client.o +0 -0
  267. data/ext/nutcracker/src/nc_conf.o +0 -0
  268. data/ext/nutcracker/src/nc_connection.o +0 -0
  269. data/ext/nutcracker/src/nc_core.o +0 -0
  270. data/ext/nutcracker/src/nc_epoll.o +0 -0
  271. data/ext/nutcracker/src/nc_kqueue.c +0 -296
  272. data/ext/nutcracker/src/nc_kqueue.o +0 -0
  273. data/ext/nutcracker/src/nc_log.o +0 -0
  274. data/ext/nutcracker/src/nc_mbuf.o +0 -0
  275. data/ext/nutcracker/src/nc_message.o +0 -0
  276. data/ext/nutcracker/src/nc_proxy.o +0 -0
  277. data/ext/nutcracker/src/nc_rbtree.o +0 -0
  278. data/ext/nutcracker/src/nc_request.o +0 -0
  279. data/ext/nutcracker/src/nc_response.o +0 -0
  280. data/ext/nutcracker/src/nc_server.o +0 -0
  281. data/ext/nutcracker/src/nc_signal.o +0 -0
  282. data/ext/nutcracker/src/nc_stats.o +0 -0
  283. data/ext/nutcracker/src/nc_string.o +0 -0
  284. data/ext/nutcracker/src/nc_util.o +0 -0
  285. data/ext/nutcracker/src/nutcracker +0 -0
  286. data/ext/nutcracker/src/proto/Makefile +0 -454
  287. data/ext/nutcracker/src/proto/libproto.a +0 -0
  288. data/ext/nutcracker/src/proto/nc_memcache.o +0 -0
  289. data/ext/nutcracker/src/proto/nc_redis.o +0 -0
  290. data/ext/nutcracker/stamp-h1 +0 -1
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
  # install - install a program, script, or datafile
3
3
 
4
- scriptversion=2006-10-14.15
4
+ scriptversion=2011-01-19.21; # UTC
5
5
 
6
6
  # This originates from X11R5 (mit/util/scripts/install.sh), which was
7
7
  # later released in X11R6 (xc/config/util/install.sh) with the
@@ -48,7 +48,7 @@ IFS=" "" $nl"
48
48
  # set DOITPROG to echo to test this script
49
49
 
50
50
  # Don't use :- since 4.3BSD and earlier shells don't like it.
51
- doit="${DOITPROG-}"
51
+ doit=${DOITPROG-}
52
52
  if test -z "$doit"; then
53
53
  doit_exec=exec
54
54
  else
@@ -58,34 +58,49 @@ fi
58
58
  # Put in absolute file names if you don't have them in your path;
59
59
  # or use environment vars.
60
60
 
61
- mvprog="${MVPROG-mv}"
62
- cpprog="${CPPROG-cp}"
63
- chmodprog="${CHMODPROG-chmod}"
64
- chownprog="${CHOWNPROG-chown}"
65
- chgrpprog="${CHGRPPROG-chgrp}"
66
- stripprog="${STRIPPROG-strip}"
67
- rmprog="${RMPROG-rm}"
68
- mkdirprog="${MKDIRPROG-mkdir}"
61
+ chgrpprog=${CHGRPPROG-chgrp}
62
+ chmodprog=${CHMODPROG-chmod}
63
+ chownprog=${CHOWNPROG-chown}
64
+ cmpprog=${CMPPROG-cmp}
65
+ cpprog=${CPPROG-cp}
66
+ mkdirprog=${MKDIRPROG-mkdir}
67
+ mvprog=${MVPROG-mv}
68
+ rmprog=${RMPROG-rm}
69
+ stripprog=${STRIPPROG-strip}
70
+
71
+ posix_glob='?'
72
+ initialize_posix_glob='
73
+ test "$posix_glob" != "?" || {
74
+ if (set -f) 2>/dev/null; then
75
+ posix_glob=
76
+ else
77
+ posix_glob=:
78
+ fi
79
+ }
80
+ '
69
81
 
70
- posix_glob=
71
82
  posix_mkdir=
72
83
 
73
84
  # Desired mode of installed file.
74
85
  mode=0755
75
86
 
87
+ chgrpcmd=
76
88
  chmodcmd=$chmodprog
77
89
  chowncmd=
78
- chgrpcmd=
79
- stripcmd=
90
+ mvcmd=$mvprog
80
91
  rmcmd="$rmprog -f"
81
- mvcmd="$mvprog"
92
+ stripcmd=
93
+
82
94
  src=
83
95
  dst=
84
96
  dir_arg=
85
- dstarg=
97
+ dst_arg=
98
+
99
+ copy_on_change=false
86
100
  no_target_directory=
87
101
 
88
- usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
102
+ usage="\
103
+ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
89
104
  or: $0 [OPTION]... SRCFILES... DIRECTORY
90
105
  or: $0 [OPTION]... -t DIRECTORY SRCFILES...
91
106
  or: $0 [OPTION]... -d DIRECTORIES...
@@ -95,65 +110,59 @@ In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
95
110
  In the 4th, create DIRECTORIES.
96
111
 
97
112
  Options:
98
- -c (ignored)
99
- -d create directories instead of installing files.
100
- -g GROUP $chgrpprog installed files to GROUP.
101
- -m MODE $chmodprog installed files to MODE.
102
- -o USER $chownprog installed files to USER.
103
- -s $stripprog installed files.
104
- -t DIRECTORY install into DIRECTORY.
105
- -T report an error if DSTFILE is a directory.
106
- --help display this help and exit.
107
- --version display version info and exit.
113
+ --help display this help and exit.
114
+ --version display version info and exit.
115
+
116
+ -c (ignored)
117
+ -C install only if different (preserve the last data modification time)
118
+ -d create directories instead of installing files.
119
+ -g GROUP $chgrpprog installed files to GROUP.
120
+ -m MODE $chmodprog installed files to MODE.
121
+ -o USER $chownprog installed files to USER.
122
+ -s $stripprog installed files.
123
+ -t DIRECTORY install into DIRECTORY.
124
+ -T report an error if DSTFILE is a directory.
108
125
 
109
126
  Environment variables override the default commands:
110
- CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
127
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
128
+ RMPROG STRIPPROG
111
129
  "
112
130
 
113
131
  while test $# -ne 0; do
114
132
  case $1 in
115
- -c) shift
116
- continue;;
133
+ -c) ;;
117
134
 
118
- -d) dir_arg=true
119
- shift
120
- continue;;
135
+ -C) copy_on_change=true;;
136
+
137
+ -d) dir_arg=true;;
121
138
 
122
139
  -g) chgrpcmd="$chgrpprog $2"
123
- shift
124
- shift
125
- continue;;
140
+ shift;;
126
141
 
127
142
  --help) echo "$usage"; exit $?;;
128
143
 
129
144
  -m) mode=$2
130
- shift
131
- shift
132
145
  case $mode in
133
146
  *' '* | *' '* | *'
134
147
  '* | *'*'* | *'?'* | *'['*)
135
148
  echo "$0: invalid mode: $mode" >&2
136
149
  exit 1;;
137
150
  esac
138
- continue;;
151
+ shift;;
139
152
 
140
153
  -o) chowncmd="$chownprog $2"
141
- shift
142
- shift
143
- continue;;
154
+ shift;;
144
155
 
145
- -s) stripcmd=$stripprog
146
- shift
147
- continue;;
156
+ -s) stripcmd=$stripprog;;
148
157
 
149
- -t) dstarg=$2
150
- shift
151
- shift
152
- continue;;
158
+ -t) dst_arg=$2
159
+ # Protect names problematic for `test' and other utilities.
160
+ case $dst_arg in
161
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
162
+ esac
163
+ shift;;
153
164
 
154
- -T) no_target_directory=true
155
- shift
156
- continue;;
165
+ -T) no_target_directory=true;;
157
166
 
158
167
  --version) echo "$0 $scriptversion"; exit $?;;
159
168
 
@@ -165,21 +174,26 @@ while test $# -ne 0; do
165
174
 
166
175
  *) break;;
167
176
  esac
177
+ shift
168
178
  done
169
179
 
170
- if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
180
+ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
171
181
  # When -d is used, all remaining arguments are directories to create.
172
182
  # When -t is used, the destination is already specified.
173
183
  # Otherwise, the last argument is the destination. Remove it from $@.
174
184
  for arg
175
185
  do
176
- if test -n "$dstarg"; then
186
+ if test -n "$dst_arg"; then
177
187
  # $@ is not empty: it contains at least $arg.
178
- set fnord "$@" "$dstarg"
188
+ set fnord "$@" "$dst_arg"
179
189
  shift # fnord
180
190
  fi
181
191
  shift # arg
182
- dstarg=$arg
192
+ dst_arg=$arg
193
+ # Protect names problematic for `test' and other utilities.
194
+ case $dst_arg in
195
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
196
+ esac
183
197
  done
184
198
  fi
185
199
 
@@ -194,7 +208,11 @@ if test $# -eq 0; then
194
208
  fi
195
209
 
196
210
  if test -z "$dir_arg"; then
197
- trap '(exit $?); exit' 1 2 13 15
211
+ do_exit='(exit $ret); exit $ret'
212
+ trap "ret=129; $do_exit" 1
213
+ trap "ret=130; $do_exit" 2
214
+ trap "ret=141; $do_exit" 13
215
+ trap "ret=143; $do_exit" 15
198
216
 
199
217
  # Set umask so as not to create temps with too-generous modes.
200
218
  # However, 'strip' requires both read and write access to temps.
@@ -222,9 +240,9 @@ fi
222
240
 
223
241
  for src
224
242
  do
225
- # Protect names starting with `-'.
243
+ # Protect names problematic for `test' and other utilities.
226
244
  case $src in
227
- -*) src=./$src ;;
245
+ -* | [=\(\)!]) src=./$src;;
228
246
  esac
229
247
 
230
248
  if test -n "$dir_arg"; then
@@ -242,22 +260,17 @@ do
242
260
  exit 1
243
261
  fi
244
262
 
245
- if test -z "$dstarg"; then
263
+ if test -z "$dst_arg"; then
246
264
  echo "$0: no destination specified." >&2
247
265
  exit 1
248
266
  fi
249
-
250
- dst=$dstarg
251
- # Protect names starting with `-'.
252
- case $dst in
253
- -*) dst=./$dst ;;
254
- esac
267
+ dst=$dst_arg
255
268
 
256
269
  # If destination is a directory, append the input filename; won't work
257
270
  # if double slashes aren't ignored.
258
271
  if test -d "$dst"; then
259
272
  if test -n "$no_target_directory"; then
260
- echo "$0: $dstarg: Is a directory" >&2
273
+ echo "$0: $dst_arg: Is a directory" >&2
261
274
  exit 1
262
275
  fi
263
276
  dstdir=$dst
@@ -378,33 +391,26 @@ do
378
391
  # directory the slow way, step by step, checking for races as we go.
379
392
 
380
393
  case $dstdir in
381
- /*) prefix=/ ;;
382
- -*) prefix=./ ;;
383
- *) prefix= ;;
394
+ /*) prefix='/';;
395
+ [-=\(\)!]*) prefix='./';;
396
+ *) prefix='';;
384
397
  esac
385
398
 
386
- case $posix_glob in
387
- '')
388
- if (set -f) 2>/dev/null; then
389
- posix_glob=true
390
- else
391
- posix_glob=false
392
- fi ;;
393
- esac
399
+ eval "$initialize_posix_glob"
394
400
 
395
401
  oIFS=$IFS
396
402
  IFS=/
397
- $posix_glob && set -f
403
+ $posix_glob set -f
398
404
  set fnord $dstdir
399
405
  shift
400
- $posix_glob && set +f
406
+ $posix_glob set +f
401
407
  IFS=$oIFS
402
408
 
403
409
  prefixes=
404
410
 
405
411
  for d
406
412
  do
407
- test -z "$d" && continue
413
+ test X"$d" = X && continue
408
414
 
409
415
  prefix=$prefix$d
410
416
  if test -d "$prefix"; then
@@ -459,41 +465,54 @@ do
459
465
  # ignore errors from any of these, just make sure not to ignore
460
466
  # errors from the above "$doit $cpprog $src $dsttmp" command.
461
467
  #
462
- { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
463
- && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
464
- && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
465
- && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
466
-
467
- # Now rename the file to the real destination.
468
- { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
469
- || {
470
- # The rename failed, perhaps because mv can't rename something else
471
- # to itself, or perhaps because mv is so ancient that it does not
472
- # support -f.
473
-
474
- # Now remove or move aside any old file at destination location.
475
- # We try this two ways since rm can't unlink itself on some
476
- # systems and the destination file might be busy for other
477
- # reasons. In this case, the final cleanup might fail but the new
478
- # file should still install successfully.
479
- {
480
- if test -f "$dst"; then
481
- $doit $rmcmd -f "$dst" 2>/dev/null \
482
- || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
483
- && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
484
- || {
485
- echo "$0: cannot unlink or rename $dst" >&2
486
- (exit 1); exit 1
487
- }
488
- else
489
- :
490
- fi
491
- } &&
492
-
493
- # Now rename the file to the real destination.
494
- $doit $mvcmd "$dsttmp" "$dst"
495
- }
496
- } || exit 1
468
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
469
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
470
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
471
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
472
+
473
+ # If -C, don't bother to copy if it wouldn't change the file.
474
+ if $copy_on_change &&
475
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
476
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
477
+
478
+ eval "$initialize_posix_glob" &&
479
+ $posix_glob set -f &&
480
+ set X $old && old=:$2:$4:$5:$6 &&
481
+ set X $new && new=:$2:$4:$5:$6 &&
482
+ $posix_glob set +f &&
483
+
484
+ test "$old" = "$new" &&
485
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
486
+ then
487
+ rm -f "$dsttmp"
488
+ else
489
+ # Rename the file to the real destination.
490
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
491
+
492
+ # The rename failed, perhaps because mv can't rename something else
493
+ # to itself, or perhaps because mv is so ancient that it does not
494
+ # support -f.
495
+ {
496
+ # Now remove or move aside any old file at destination location.
497
+ # We try this two ways since rm can't unlink itself on some
498
+ # systems and the destination file might be busy for other
499
+ # reasons. In this case, the final cleanup might fail but the new
500
+ # file should still install successfully.
501
+ {
502
+ test ! -f "$dst" ||
503
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
504
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
505
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
506
+ } ||
507
+ { echo "$0: cannot unlink or rename $dst" >&2
508
+ (exit 1); exit 1
509
+ }
510
+ } &&
511
+
512
+ # Now rename the file to the real destination.
513
+ $doit $mvcmd "$dsttmp" "$dst"
514
+ }
515
+ fi || exit 1
497
516
 
498
517
  trap '' 0
499
518
  fi
@@ -503,5 +522,6 @@ done
503
522
  # eval: (add-hook 'write-file-hooks 'time-stamp)
504
523
  # time-stamp-start: "scriptversion="
505
524
  # time-stamp-format: "%:y-%02m-%02d.%02H"
506
- # time-stamp-end: "$"
525
+ # time-stamp-time-zone: "UTC"
526
+ # time-stamp-end: "; # UTC"
507
527
  # End: