Now correctly using `(1 << GLIBTOP_SYSDEPS_*)' instead of
1998-07-17 Martin Baulig <baulig@Stud.Informatik.uni-trier.de> * lib/lib.awk (glibtop_get_*): Now correctly using `(1 << GLIBTOP_SYSDEPS_*)' instead of `GLIBTOP_SYSDEPS_*'.
This commit is contained in:
committed by
Martin Baulig
parent
c41d6e5a77
commit
540cd68691
@@ -1,5 +1,8 @@
|
||||
1998-07-17 Martin Baulig <baulig@Stud.Informatik.uni-trier.de>
|
||||
|
||||
* lib/lib.awk (glibtop_get_*): Now correctly using
|
||||
`(1 << GLIBTOP_SYSDEPS_*)' instead of `GLIBTOP_SYSDEPS_*'.
|
||||
|
||||
* sysdeps/sun4/proclist.c (glibtop_get_proclist_p): Added
|
||||
implementation of that feature.
|
||||
|
||||
|
@@ -31,7 +31,7 @@ function output(feature) {
|
||||
print "\tglibtop_init_r (&server, GLIBTOP_SYSDEPS_"toupper(feature)", 0);";
|
||||
print "";
|
||||
print "\tif ((server->flags & _GLIBTOP_INIT_STATE_SERVER) &&";
|
||||
print "\t (server->features & GLIBTOP_SYSDEPS_"toupper(feature)"))";
|
||||
print "\t (server->features & (1 << GLIBTOP_SYSDEPS_"toupper(feature)")))";
|
||||
print "\t{";
|
||||
|
||||
if (feature ~ /^proc_/) {
|
||||
|
Reference in New Issue
Block a user