[torqueusers] 64 bit issues.

Roy Dragseth Roy.Dragseth at cc.uit.no
Fri Aug 26 01:09:48 MDT 2005


On Thursday 25 August 2005 19:17, Garrick Staples wrote:
> This is very lightly tested, but seems to work fine with a 32bit server
> and mixed moms.

Thanks for the patch, I've got something similar in test mode.

But it seems to be a lot of implicit assumptions about u_long to be 32bit 
throughout the code.  For instance in mom_server.c, the tlist, tfind etc use 
a node structure where the key is u_long:

typedef struct node_t {
  u_long         key;
  struct node_t	*left, *right;
  } node;

node *okclients = NULL;	/* tree of ip addrs */

I have a suspicion that this might be the cause of the problem I've reported 
in the bugzilla:

http://www.clusterresources.com/bugzilla/show_bug.cgi?id=91

r.

-- 

  The Computer Center, University of Tromsø, N-9037 TROMSØ Norway.
	      phone:+47 77 64 41 07, fax:+47 77 64 41 00
     Roy Dragseth, High Performance Computing System Administrator
	 Direct call: +47 77 64 62 56. email: royd at cc.uit.no


More information about the torqueusers mailing list