Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kosaki on github.
  • I am kosaki (https://keybase.io/kosaki) on keybase.
  • I have a public key ASDLkRbWumMwiiXdyBZztYXqRvFvb1iOSMkz7hiXDH1A3wo

To claim this, I am signing this object:

######## EXCEPTION: 0xC0000005 at address: 0x01C27CBB: ACCESS VIOLATION read attempt to address 0x0000006C
Version: Unknown Version
09/11/18 17:12:54
######## EXCEPTION: 0xC0000005 at address: 0x01F323FB: ACCESS VIOLATION read attempt to address 0x0000000D
Version: Unknown Version
09/11/18 17:25:12
main: efd=3
main: spawn worker(0)
main: spawn worker(1)
main: spawn worker(2)
main: spawn worker(3)
main: spawn worker(4)
main: spawn worker(5)
main: spawn worker(6)
main: spawn worker(7)
main: spawn worker(8)
$ dieharder -a -f securerandom.bin
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name | filename |rands/second|
mt19937| securerandom.bin| 1.21e+08 |
#=============================================================================#
test_name |ntup| tsamples |psamples| p-value |Assessment
#=============================================================================#
diehard_birthdays| 0| 100| 100|0.47983538| PASSED
$ dieharder -a -f securerandom.bin
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name | filename |rands/second|
mt19937| securerandom.bin| 1.27e+08 |
#=============================================================================#
test_name |ntup| tsamples |psamples| p-value |Assessment
#=============================================================================#
diehard_birthdays| 0| 100| 100|0.19425766| PASSED
EL7_VMWARE : build git:(trunk) ./ruby-trunk ../test.rb
GC 13 invokes.
Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms)
1 0.048 629880 1207680 30192 1.64745600000000536056
2 0.063 621080 1207680 30192 1.60094999999998988116
3 0.077 781240 1207680 30192 1.96487900000003046230
4 0.086 1064920 1207680 30192 1.22489999999997323243
5 0.088 1071080 1207680 30192 0.41275399999995965317
6 0.106 1758920 2154240 53856 2.38160399999991234665
7 0.135 3014600 3851520 96288 4.32847699999988
diff --git a/dir.c b/dir.c
index aed3ecaa..1bf90ee 100644
--- a/dir.c
+++ b/dir.c
@@ -1809,6 +1809,13 @@ glob_helper(
new_pathtype = path_noent;
#else
new_pathtype = dp->d_type;
+ #ifdef DT_UNKNOWN
+ if (new_pathtype == DT_UNKNOWN) {
1) Failure:
TestDir#test_symlink [/home/kosaki/src/ruby/test/ruby/test_dir.rb:234]:
<["/tmp/__test_dir__20150915-60718-diqxrp/",
"/tmp/__test_dir__20150915-60718-diqxrp/a/",
"/tmp/__test_dir__20150915-60718-diqxrp/c/",
"/tmp/__test_dir__20150915-60718-diqxrp/e/",
"/tmp/__test_dir__20150915-60718-diqxrp/g/",
"/tmp/__test_dir__20150915-60718-diqxrp/i/",
"/tmp/__test_dir__20150915-60718-diqxrp/k/",
"/tmp/__test_dir__20150915-60718-diqxrp/m/",
14/08/06-06:09:27 [NDK] Exception Errno::ETIMEDOUT - Connection timed out
14/08/06-06:09:27 [NDK] Exception Errno::EPIPE - Broken pipe
14/08/06-06:09:27 [NDK] -- backtrace --
14/08/06-06:09:27 [NDK] -- backtrace --
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:81:in `gets'
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:188:in `write'
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:81:in `recv_from_clie\
nt'
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:188:in `send_msg'
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:56:in `start'
#!/usr/bin/ruby
require 'date'
changelog = nil
# find out ChangeLog file
diff = `git diff --stat HEAD`
diff.scan(/^ (ChangeLog) +\|/) { |ary|
changelog = ary[0]