diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-27 13:10:26 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-27 13:10:26 +0000 |
commit | 3639736d5d4ae60dad6e2221d2b95bb73d6b3576 (patch) | |
tree | 3d5e1dc04eb786301e7a274a45d3b75fae3b5f48 /thread_pthread.c | |
parent | f8cc7796801c48be0a31c892ec7e39b79b4f08ed (diff) |
* thread_pthread.c (consume_communication_pipe): don't use C99
style variable length array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index cd1631261d..0a4208adb8 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1022,7 +1022,7 @@ static void consume_communication_pipe(void) { const size_t buff_size = 1024; - char buff[buff_size]; + char buff[1024]; ssize_t result; retry: result = read(timer_thread_pipe[0], buff, buff_size); |