[torqueusers] 2.1.9 on BSD 6.2

Steve Snelgrove ssnelgrove at clusterresources.com
Tue Nov 20 14:26:23 MST 2007


The significant changes were that things like off_t
went to 64 bits.  This did not seem easily fixable in the printf
format strings and so that is why I made a new directory.

The significant changes are shown below.

Thanks for your help and advice.

--Steve

375c379
<               DBPRT(("%s: ses %d pid %d cputime %d\n", id,
---
 >               DBPRT(("%s: ses %d pid %d cputime %lld\n", id,
1612c1636
<       sprintf(ret_string, "%ukb", sbuf.st_size >> 10); /* in KB */
---
 >       sprintf(ret_string, "%llukb", sbuf.st_size >> 10); /* in KB */
1982c2008
<               sprintf(ret_string, "%ukb", dbtob(qi.dqb_bhardlimit) >> 10);
---
 >               sprintf(ret_string, "%llukb", dbtob(qi.dqb_bhardlimit) 
 >> 10);
1985c2011
<               sprintf(ret_string, "%ukb", dbtob(qi.dqb_bsoftlimit) >> 10);
---
 >               sprintf(ret_string, "%llukb", dbtob(qi.dqb_bsoftlimit) 
 >> 10);
1988c2014
<               sprintf(ret_string, "%ukb", dbtob(qi.dqb_curblocks) >> 10);
---
 >               sprintf(ret_string, "%llukb", dbtob(qi.dqb_curblocks) 
 >> 10);


Garrick Staples wrote:
> On Tue, Nov 20, 2007 at 12:20:07PM -0700, Steve Snelgrove alleged:
>   
>> I got this building (and apparently running) on BSD 6 last night.
>> The changes are checked in on 2.2-fixes.
>>     
>
> I'm confused because I don't see any functional differences between the
> freebsd5 and freebsd6 directories.  I just see some compile warning fixes.
>
>
>   



More information about the torqueusers mailing list