about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-01-09 22:49:49 +0000
committerEric Wong <normalperson@yhbt.net>2010-01-09 22:49:49 +0000
commit2c71257b2b95e737088726ffc963b4e72f1b5455 (patch)
treedf47df4aaffe4226ca7e748b60acafc26bd6d02d
parent531106e51e519458d37bed3721da4eff2f163206 (diff)
downloadruby_posix_mq-2c71257b2b95e737088726ffc963b4e72f1b5455.tar.gz
It's Rubinius-specific and we use rb_str_resize
there anyways...
-rw-r--r--ext/posix_mq/posix_mq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c
index 6480645..5368368 100644
--- a/ext/posix_mq/posix_mq.c
+++ b/ext/posix_mq/posix_mq.c
@@ -71,7 +71,6 @@ static void rb_18_str_set_len(VALUE str, long len)
 {
         RSTRING(str)->len = len;
         RSTRING(str)->ptr[len] = '\0';
-        rb_str_flush(str);
 }
 #    define rb_str_set_len(str,len) rb_18_str_set_len(str,len)
 #  endif /* ! RUBINIUS */