From 2c71257b2b95e737088726ffc963b4e72f1b5455 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 9 Jan 2010 22:49:49 +0000 Subject: MRI 1.8 does not have rb_str_flush It's Rubinius-specific and we use rb_str_resize there anyways... --- ext/posix_mq/posix_mq.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/posix_mq/posix_mq.c') 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 */ -- cgit v1.2.3-24-ge0c7