diff options
Diffstat (limited to 'japanese/ruby-ming/files/patch-ext-ming-ming-util.c')
-rw-r--r-- | japanese/ruby-ming/files/patch-ext-ming-ming-util.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/japanese/ruby-ming/files/patch-ext-ming-ming-util.c b/japanese/ruby-ming/files/patch-ext-ming-ming-util.c deleted file mode 100644 index ae5d3161fc36..000000000000 --- a/japanese/ruby-ming/files/patch-ext-ming-ming-util.c +++ /dev/null @@ -1,17 +0,0 @@ ---- ext/ming/ming/util.c.orig 2003-09-28 13:30:20.000000000 +0900 -+++ ext/ming/ming/util.c 2014-01-29 17:11:17.000000000 +0900 -@@ -83,10 +83,10 @@ - if (fp != NULL) - return fp; - -- for(i = 0; i < RARRAY(path)->len; i++) { -- item = RARRAY(path)->ptr[i]; -- dir = STR2CSTR(item); -- dir_len = RSTRING(item)->len; -+ for(i = 0; i < RARRAY_LEN(path); i++) { -+ item = RARRAY_PTR(path)[i]; -+ dir = StringValuePtr(item); -+ dir_len = RSTRING_LEN(item); - - if(strncmp(&dir[dir_len - 1], delimiter, 1) != 0) { - total_len = dir_len + len + 2; |