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:
Martin Baulig
1999-02-21 14:11:07 +00:00
committed by Martin Baulig
parent 9ba9f4fa8f
commit 3ad9e06909
3 changed files with 5 additions and 2 deletions

View File

@@ -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.

View File

@@ -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)

View File

@@ -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)