[torquedev] make distcheck
Ken Nielson
knielson at adaptivecomputing.com
Fri Jul 16 11:23:50 MDT 2010
Garrick,
Thanks for checking that change in.
Ken
----- Original Message -----
From: "Brett Pemberton" <brett at vpac.org>
To: "Torque Developers mailing list" <torquedev at supercluster.org>
Sent: Thursday, July 15, 2010 11:50:25 PM
Subject: Re: [torquedev] make distcheck
----- "Garrick Staples" <garrick at usc.edu> wrote:
> Bump.
>
> We need 'make distcheck' run on every possible linux distro and
> platform.
>
Failed for me on SLES9, until I applied this patch:
--- src/server/stat_job.c.bak 2010-07-16 15:43:38.638700872 +1000
+++ src/server/stat_job.c 2010-07-16 15:43:49.291787044 +1000
@@ -299,7 +299,7 @@
resource *pres;
int found = 0;
- unsigned long remaining;
+ unsigned long remaining = 0;
unsigned long upperBound;
if (((pattr + JOB_ATR_resource)->at_val.at_list.ll_next != NULL) &&
Just to quiet a warning.
There is a check to make sure that variable is assigned before use, but gcc doesn't notice that.
cheers,
/ Brett
--
Brett Pemberton - VPAC HPC Team Leader
http://www.vpac.org/ - (03) 9925 4899
_______________________________________________
torquedev mailing list
torquedev at supercluster.org
http://www.supercluster.org/mailman/listinfo/torquedev
More information about the torquedev
mailing list