Navigation Menu

Skip to content

Commit

Permalink
Update fusefs Ruby/C extensions to be Ruby 1.9 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
mbbx6spp committed Jul 10, 2013
1 parent 9c7f148 commit 44814c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/fusefs_lib.c
Expand Up @@ -452,7 +452,7 @@ rf_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
if (TYPE(cur_entry) != T_STRING)
continue;

filler(buf,STR2CSTR(cur_entry),NULL,0);
filler(buf,StringValuePtr(cur_entry),NULL,0);
}
return 0;
}
Expand Down Expand Up @@ -1390,7 +1390,7 @@ rf_mount_to(int argc, VALUE *argv, VALUE self) {
}

rb_iv_set(cFuseFS,"@mountpoint",mountpoint);
fusefs_setup(STR2CSTR(mountpoint), &rf_oper, opts);
fusefs_setup(StringValuePtr(mountpoint), &rf_oper, opts);
return Qtrue;
}

Expand Down

0 comments on commit 44814c7

Please sign in to comment.