mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* thread.c (rb_thread_priority_set): get rid of C99 feature.
* transcode.c (transcode_search_path): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0c18a4b0f0
commit
914969a040
3 changed files with 8 additions and 4 deletions
|
@ -205,7 +205,7 @@ transcode_search_path(const char *from, const char *to,
|
|||
}
|
||||
found = 0;
|
||||
|
||||
cleanup:
|
||||
cleanup:
|
||||
while (bfs.queue) {
|
||||
q = bfs.queue;
|
||||
bfs.queue = q->next;
|
||||
|
@ -214,8 +214,8 @@ cleanup:
|
|||
|
||||
if (found) {
|
||||
const char *enc = to;
|
||||
pathlen = 0;
|
||||
int depth;
|
||||
pathlen = 0;
|
||||
while (1) {
|
||||
st_lookup(bfs.visited, (st_data_t)enc, &val);
|
||||
if (!val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue