OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2002-01-30 David O'Brien <obrien@FreeBSD.org>
[pf3gnuchains/gcc-fork.git]
/
libobjc
/
sendmsg.c
diff --git
a/libobjc/sendmsg.c
b/libobjc/sendmsg.c
index
b743829
..
61fa288
100644
(file)
--- a/
libobjc/sendmsg.c
+++ b/
libobjc/sendmsg.c
@@
-1,5
+1,6
@@
/* GNU Objective C Runtime message lookup
/* GNU Objective C Runtime message lookup
- Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1996, 1997, 1998,
+ 2001 Free Software Foundation, Inc.
Contributed by Kresten Krab Thorup
This file is part of GNU CC.
Contributed by Kresten Krab Thorup
This file is part of GNU CC.
@@
-596,7
+597,6
@@
__objc_forward (id object, SEL sel, arglist_t args)
/* The object doesn't recognize the method. Check for responding to
error:. If it does then sent it. */
{
/* The object doesn't recognize the method. Check for responding to
error:. If it does then sent it. */
{
- size_t strlen (const char*);
char msg[256 + strlen ((const char*)sel_get_name (sel))
+ strlen ((const char*)object->class_pointer->name)];
char msg[256 + strlen ((const char*)sel_get_name (sel))
+ strlen ((const char*)object->class_pointer->name)];
@@
-628,13
+628,11
@@
__objc_print_dtable_stats()
objc_mutex_lock(__objc_runtime_mutex);
objc_mutex_lock(__objc_runtime_mutex);
- printf("memory usage: (%s)\n",
#ifdef OBJC_SPARSE2
#ifdef OBJC_SPARSE2
- "2-level sparse arrays"
+ printf("memory usage: (%s)\n", "2-level sparse arrays");
#else
#else
- "3-level sparse arrays"
+ printf("memory usage: (%s)\n", "3-level sparse arrays");
#endif
#endif
- );
printf("arrays: %d = %ld bytes\n", narrays,
(long)narrays*sizeof(struct sarray));
printf("arrays: %d = %ld bytes\n", narrays,
(long)narrays*sizeof(struct sarray));