1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* thread.c (DEBUG_OUT): leave pointer size to runtime.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-02-24 09:54:49 +00:00
parent 8ac59769bc
commit b1b44331de

View file

@ -153,7 +153,7 @@ rb_thread_s_debug_set(VALUE self, VALUE val)
#define DEBUG_OUT() \
pthread_mutex_lock(&debug_mutex); \
printf("%8p - %s", pthread_self(), buf); \
printf("%p - %s", pthread_self(), buf); \
fflush(stdout); \
pthread_mutex_unlock(&debug_mutex);