process_tail 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3adc23055f8977b049a04d0b94ddb2f9a5740cf2
4
- data.tar.gz: 680424fb0373ed7d1e429044920ced1033151278
3
+ metadata.gz: b004b93e9fbf8b7ac0ba96cf4f575fd9e3dc859b
4
+ data.tar.gz: 63c084db42e4d379f29bb2e246a9965b4b07c9dc
5
5
  SHA512:
6
- metadata.gz: 90c7886af47819ac7ae13281bec9a157cb051569f1799dfa11d7edaa23ecdc1e3a1298febbb59ef6202fba679a32e28dbf87ecd34e0c23623c522406da51d846
7
- data.tar.gz: ed2d69a06283896f786f36aa5a960ec9fc1e1b9d059840f15686c49a88d0611eb140e256b81599c0e66669122f2f579445c55015d57613e445f2add89594cd71
6
+ metadata.gz: fc6aeab101d948a5cf95867f8d7dea3b36d6a04a9c072970e0fd76286b556b31c590841a7e4794edec34cbc29f434368b2b2e8824cc8c24595b28fecc3743ae3
7
+ data.tar.gz: 22a7ae2f2c4e6b6c7b5d052be7c9655afa01398906a5fc41471d099630976acdf829e8987d38fd25995ced555a85299d19749034de1560c34650749e417e5b96
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
+ Vagrantfile
data/bin/process_tail CHANGED
@@ -4,7 +4,7 @@ require 'process_tail'
4
4
 
5
5
  $stdout.sync = true
6
6
 
7
- ProcessTail.open Integer(ARGV[0]) do |io|
7
+ ProcessTail.open Integer(ARGV[0]), :all do |io|
8
8
  begin
9
9
  while c = io.getc
10
10
  print c
@@ -127,7 +127,7 @@ pt_read_data(pid_t pid, long addr, char *string, int length)
127
127
  static void
128
128
  pt_ptrace_syscall(pid_t pid, long signal)
129
129
  {
130
- ptrace(PTRACE_SYSCALL, pid, 0, signal);
130
+ ptrace(PTRACE_SYSCALL, pid, 0, signal == SIGTRAP ? 0 : signal);
131
131
 
132
132
  rb_thread_schedule();
133
133
  }
@@ -1,3 +1,3 @@
1
1
  module ProcessTail
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: process_tail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hika Hibariya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-11 00:00:00.000000000 Z
11
+ date: 2015-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler