about summary refs log tree commit homepage
path: root/ext/posix_mq/posix_mq.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix_mq/posix_mq.c')
-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 */