A fix to a ommitted case, when nor NetBSD, nor LibGTop >= 1.1.0. This
Tue Jun 15 16:04:10 1999 Timur Bakeyev <mc@bat.ru> * procuid.c: A fix to a ommitted case, when nor NetBSD, nor LibGTop >= 1.1.0. This should be investigated closely to cover more cases....
This commit is contained in:
committed by
Timur I. Bakeyev
parent
b8cdd9e090
commit
9ef8c5739b
@@ -1,3 +1,9 @@
|
||||
Tue Jun 15 16:04:10 1999 Timur Bakeyev <mc@bat.ru>
|
||||
|
||||
* procuid.c: A fix to a ommitted case, when nor NetBSD, nor
|
||||
LibGTop >= 1.1.0. This should be investigated closely to cover
|
||||
more cases....
|
||||
|
||||
1999-05-26 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
More NetBSD 1.4 fixes.
|
||||
|
@@ -38,9 +38,11 @@ static const unsigned long _glibtop_sysdeps_proc_uid_groups =
|
||||
#if LIBGTOP_VERSION_CODE >= 1001000
|
||||
#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
|
||||
(1L << GLIBTOP_PROC_UID_NGROUPS) + (1L << GLIBTOP_PROC_UID_GROUPS);
|
||||
#endif
|
||||
#else
|
||||
0;
|
||||
0L;
|
||||
#endif
|
||||
#else /* LIBGTOP_VERSION_CODE < 1001000 */
|
||||
0L;
|
||||
#endif
|
||||
|
||||
/* Init function. */
|
||||
|
Reference in New Issue
Block a user