use StringValueCStr for paths
commit5f1578c0d17b05f5158e467bd3abf18565fe1b4b
authorEric Wong <normalperson@yhbt.net>
Tue, 22 Feb 2011 23:32:40 +0000 (22 15:32 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 22 Feb 2011 23:39:42 +0000 (22 15:39 -0800)
treeb210653369612e3e5360a31eaa42501a8181de2c
parenta5491670078b045ced2641649a6cfceee2cade10
use StringValueCStr for paths

RSTRING_PTR may contain '\0' bytes which makes it unsuitable
for mq_unlink() and mq_open()
ext/posix_mq/posix_mq.c
test/test_posix_mq.rb