summaryrefslogtreecommitdiff
path: root/dyn_load.c
diff options
context:
space:
mode:
authorivmai <ivmai>2010-12-26 16:50:53 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:55 +0200
commit1c76fc46d5d0894a34a8c31dced57087cca90611 (patch)
tree3c3a36650d8c2293e5f326ecf2f5efa53edb667d /dyn_load.c
parent7b66e36f08dd096bc6df1ebc362d2689264f7825 (diff)
2010-12-26 Ivan Maidanski <ivmai@mail.ru>
* alloc.c (GC_collect_or_expand): Replace NIL with NULL in message. * dbg_mlc.c (GC_debug_malloc, GC_debug_malloc_ignore_off_page, GC_debug_malloc_atomic_ignore_off_page, GC_debug_generic_malloc_inner, GC_generic_malloc_inner_ignore_off_page, GC_debug_malloc_stubborn, GC_debug_malloc_atomic, GC_debug_malloc_uncollectable, GC_debug_malloc_atomic_uncollectable): Ditto. * gcj_mlc.c (GC_debug_gcj_malloc): Ditto. * dbg_mlc.c (GC_check_annotated_obj): Replace NIL with NULL in a comment. * dyn_load.c (GC_FirstDLOpenedLinkMap): Ditto. * mark_rts.c (GC_roots_present): Ditto. * doc/README: Ditto. * include/private/gc_hdrs.h (IS_FORWARDING_ADDR_OR_NIL): Ditto. * include/private/gc_priv.h (_GC_arrays): Ditto.
Diffstat (limited to 'dyn_load.c')
-rw-r--r--dyn_load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dyn_load.c b/dyn_load.c
index 37dd75a..128be6e 100644
--- a/dyn_load.c
+++ b/dyn_load.c
@@ -162,7 +162,7 @@ GC_FirstDLOpenedLinkMap(void)
if( tag == DT_DEBUG ) {
struct link_map *lm
= ((struct r_debug *)(dp->d_un.d_ptr))->r_map;
- if( lm != 0 ) cachedResult = lm->l_next; /* might be NIL */
+ if( lm != 0 ) cachedResult = lm->l_next; /* might be NULL */
break;
}
}
@@ -628,7 +628,7 @@ GC_FirstDLOpenedLinkMap(void)
if( tag == DT_DEBUG ) {
struct link_map *lm
= ((struct r_debug *)(dp->d_un.d_ptr))->r_map;
- if( lm != 0 ) cachedResult = lm->l_next; /* might be NIL */
+ if( lm != 0 ) cachedResult = lm->l_next; /* might be NULL */
break;
}
}