Applied patch from Jeremy Lea; this patch is also included in the
1999-02-21 Martin Baulig <martin@home-of-linux.org> * procmap.c, procmem.c: Applied patch from Jeremy Lea; this patch is also included in the FreeBSD-current ports collection.
This commit is contained in:
committed by
Martin Baulig
parent
9ba9f4fa8f
commit
3ad9e06909
@@ -1,5 +1,8 @@
|
||||
1999-02-21 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* procmap.c, procmem.c: Applied patch from Jeremy Lea; this
|
||||
patch is also included in the FreeBSD-current ports collection.
|
||||
|
||||
* procsignal.c: Applied patch from the NetBSD-current ports
|
||||
collection.
|
||||
|
||||
|
@@ -138,7 +138,7 @@ glibtop_get_proc_map_p (glibtop *server, glibtop_proc_map *buf,
|
||||
}
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
if (entry.eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP))
|
||||
if (entry.eflags & MAP_ENTRY_IS_SUB_MAP)
|
||||
continue;
|
||||
#else
|
||||
if (entry.is_a_map || entry.is_sub_map)
|
||||
|
@@ -164,7 +164,7 @@ glibtop_get_proc_mem_p (glibtop *server, glibtop_proc_mem *buf,
|
||||
}
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
if (entry.eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP))
|
||||
if (entry.eflags & MAP_ENTRY_IS_SUB_MAP)
|
||||
continue;
|
||||
#else
|
||||
if (entry.is_a_map || entry.is_sub_map)
|
||||
|
Reference in New Issue
Block a user