Hi,
here's a small patch to get pptop working again on the Hurd.
Don't really know why the ihash code is there, it feels a
bit redundant. Since it not used to any further extent than
indicated by the below "patch" it could just as easily be
removed altogether. It works fine without it.
Regards
/Jocke
--- pptop.c 25 Aug 2002 19:17:31 -0000 1.10
+++ pptop.c 23 Apr 2005 23:33:31 -0000
@@ -261,7 +261,7 @@
struct ps_context *context;
struct proc_stat_list *procset;
error_t err;
- ihash_t offsets;
+ hurd_ihash_t offsets;
char *tty_names = 0;
unsigned num_tty_names = 0;
@@ -325,7 +325,7 @@
if (err)
return err;
- ihash_create (&offsets);
+ hurd_ihash_create (&offsets, HURD_IHASH_NO_LOCP);
/* Lets try to run proc_stat_list_fmt on a proc_stat_list
pointer (here it is procset).
_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd