Browse files

Fixed bug, thanks to syonbori for spotting it

  • Loading branch information...
1 parent afc8554 commit 9c7f1486218c8401685e6893737e3f78a9e5742c @duairc committed Jan 27, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 ext/fusefs_lib.c
  2. +1 −1 fusefs.gemspec
View
2 ext/fusefs_lib.c
@@ -1253,7 +1253,7 @@ rf_read(const char *path, char *buf, size_t size, off_t offset,
return 0;
if (TYPE(ret) != T_STRING)
return 0;
- memcpy(buf, RSTRING_LEN(ret), RSTRING_LEN(ret));
+ memcpy(buf, RSTRING_PTR(ret), RSTRING_LEN(ret));
return RSTRING_LEN(ret);
}
View
2 fusefs.gemspec
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = %q{fusefs}
- s.version = "0.7.0"
+ s.version = "0.7.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Shane"]

0 comments on commit 9c7f148

Please sign in to comment.