summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-28 14:56:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-28 14:56:32 +0000
commitf705c0412a2dfab1791419244a3f2ebb6e91593b (patch)
treed356686713748f52791d4ce73215747ea1c07399 /util.c
parent1e6c347488a1bf62ac2d4870d7f5de3853003c94 (diff)
* eval.c (rb_thread_select): should subtract timeofday() from
limit, not reverse. * util.c (scan_hex): x is not a hexadecimal digit. * eval.c (rb_thread_schedule): should treat the case that select(2) returns 0, if a thread is under both WAIT_SELECT and WAIT_TIME. Jakub Travnik <J.Travnik@sh.cvut.cz> actually fixed this bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 8fc543dbc0..6662829da3 100644
--- a/util.c
+++ b/util.c
@@ -47,7 +47,7 @@ const char *start;
int len;
int *retlen;
{
- static char hexdigit[] = "0123456789abcdef0123456789ABCDEFx";
+ static char hexdigit[] = "0123456789abcdef0123456789ABCDEF";
register const char *s = start;
register unsigned long retval = 0;
char *tmp;