ruby-debug-base19x 0.11.30.pre7 → 0.11.30.pre8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/ruby_debug/ruby_debug.c +5 -2
  2. metadata +10 -10
@@ -9,7 +9,7 @@
9
9
  #include <insns_info.inc>
10
10
  #include "ruby_debug.h"
11
11
 
12
- #define DEBUG_VERSION "0.11.30.pre7"
12
+ #define DEBUG_VERSION "0.11.30.pre8"
13
13
 
14
14
  #define FRAME_N(n) (&debug_context->frames[debug_context->stack_size-(n)-1])
15
15
  #define GET_FRAME (FRAME_N(check_frame_number(debug_context, frame)))
@@ -516,6 +516,9 @@ save_call_frame(rb_event_flag_t _event, debug_context_t *debug_context, VALUE se
516
516
  #define isdirsep(x) ((x) == '/')
517
517
  #endif
518
518
 
519
+ int
520
+ filename_cmp_impl(VALUE source, char *file);
521
+
519
522
  int
520
523
  filename_cmp(VALUE source, char *file) {
521
524
  if (!RTEST(resolve_symlinks)) {
@@ -527,7 +530,7 @@ filename_cmp(VALUE source, char *file) {
527
530
  char path[PATH_MAX + 1];
528
531
  path[PATH_MAX] = 0;
529
532
 
530
- if (realpath(source, path) != NULL)
533
+ if (realpath(RSTRING_PTR(source), path) != NULL)
531
534
  return filename_cmp_impl(source, path);
532
535
  else
533
536
  return filename_cmp_impl(source, file);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-debug-base19x
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.30.pre7
4
+ version: 0.11.30.pre8
5
5
  prerelease: 8
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-30 00:00:00.000000000Z
12
+ date: 2012-02-01 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: columnize
16
- requirement: &70115379866100 !ruby/object:Gem::Requirement
16
+ requirement: &70211685453940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.3.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70115379866100
24
+ version_requirements: *70211685453940
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: ruby_core_source
27
- requirement: &70115379865620 !ruby/object:Gem::Requirement
27
+ requirement: &70211685453460 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.1.4
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70115379865620
35
+ version_requirements: *70211685453460
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: linecache19
38
- requirement: &70115379865140 !ruby/object:Gem::Requirement
38
+ requirement: &70211685452980 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.5.11
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70115379865140
46
+ version_requirements: *70211685452980
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &70115379864680 !ruby/object:Gem::Requirement
49
+ requirement: &70211685452520 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 0.8.1
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70115379864680
57
+ version_requirements: *70211685452520
58
58
  description: ! 'ruby-debug is a fast implementation of the standard Ruby debugger
59
59
  debug.rb.
60
60