ruby-changes:7088
From: nobu <ko1@a...>
Date: Thu, 14 Aug 2008 14:57:06 +0900 (JST)
Subject: [ruby-changes:7088] Ruby:r18606 (trunk): * thread.c (rb_thread_priority_set): get rid of C99 feature.
nobu 2008-08-14 14:56:51 +0900 (Thu, 14 Aug 2008) New Revision: 18606 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18606 Log: * thread.c (rb_thread_priority_set): get rid of C99 feature. * transcode.c (transcode_search_path): ditto. Modified files: trunk/ChangeLog trunk/thread.c trunk/transcode.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18605) +++ ChangeLog (revision 18606) @@ -1,5 +1,9 @@ -Thu Aug 14 14:54:55 2008 Nobuyoshi Nakada <nobu@r...> +Thu Aug 14 14:56:42 2008 Nobuyoshi Nakada <nobu@r...> + * thread.c (rb_thread_priority_set): get rid of C99 feature. + + * transcode.c (transcode_search_path): ditto. + * vm.c (REWIND_CFP): get rid of statement expressions. Thu Aug 14 14:13:39 2008 Nobuyoshi Nakada <nobu@r...> Index: thread.c =================================================================== --- thread.c (revision 18605) +++ thread.c (revision 18606) @@ -1879,8 +1879,8 @@ rb_thread_priority_set(VALUE thread, VALUE prio) { rb_thread_t *th; + int priority; GetThreadPtr(thread, th); - int priority; rb_secure(4); Index: transcode.c =================================================================== --- transcode.c (revision 18605) +++ transcode.c (revision 18606) @@ -205,7 +205,7 @@ } found = 0; -cleanup: + cleanup: while (bfs.queue) { q = bfs.queue; bfs.queue = q->next; @@ -214,8 +214,8 @@ if (found) { const char *enc = to; + int depth; pathlen = 0; - int depth; while (1) { st_lookup(bfs.visited, (st_data_t)enc, &val); if (!val) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/