diff options
author | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2005-06-02 03:39:33 +0000 |
---|---|---|
committer | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2005-06-02 03:39:33 +0000 |
commit | 97405b2d134b52880d6dbec3eb2929e2002c2542 (patch) | |
tree | fa928e46bca2e0d25d6ee431951f6e525552d3d8 /coregrind/m_scheduler | |
parent | 8665d8e0fee10c1d1f04f15055262acc8d30f126 (diff) |
Started modularising vg_mylibc. Put all the standalone stuff -- ie. not
relying on any other modules -- in m_libcbase.
Also converted the 'size' parameters to functions like VG_(memcpy) and
VG_(strncpy) from Int to SizeT, as they should be.
Also removed VG_(atoll16) and VG_(toupper), which weren't being used.
Also made VG_(atoll36) less flexible -- it now only does base-36 numbers
instead of any base in the range 2..36, since base-36 is the only one we
need. As part of that, I fixed a horrible bug in it which caused it to
return incorrect answers for any number containing the digits 'A'..'I'!
(Eg. for "A; it would return 17 instead of 10!)
Had to disable the assertions in VG_(string_match), since this module can't
see vg_assert, which wasn't ideal but also isn't a disaster.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3838 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'coregrind/m_scheduler')
-rw-r--r-- | coregrind/m_scheduler/scheduler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coregrind/m_scheduler/scheduler.c b/coregrind/m_scheduler/scheduler.c index f907c746..11c402c0 100644 --- a/coregrind/m_scheduler/scheduler.c +++ b/coregrind/m_scheduler/scheduler.c @@ -63,6 +63,7 @@ #include "pub_core_aspacemgr.h" #include "pub_core_dispatch.h" #include "pub_core_errormgr.h" +#include "pub_core_libcbase.h" #include "pub_core_main.h" #include "pub_core_options.h" #include "pub_core_profile.h" |