[torquedev] PBS Server not closing inherited files

Garrick Staples garrick at usc.edu
Wed Dec 5 14:59:55 MST 2007


On Wed, Dec 05, 2007 at 10:42:18AM -0700, Steve Snelgrove alleged:
> 
> I found a small bug in the PBS Server code in pbsd_init where
> the sense of a compare was backwards.  The effect was that
> the close inherited files loop never ran.  This is probably not
> a big deal but should probably still be fixed.
> 
> In trying to correct this, I noticed that just changing the compare
> did not work because prior to calling pbsd_init, main had already
> opened the log file.  So this loop needs to be moved out to main.
> 
> The changes are shown below.  Should I go ahead and make this
> correction?
> 
> 
> 
> ssnelgrove at makua:~/torque/2.2-fixes/src/server$ svn diff

Be sure you are working in 'trunk' and backport fixes from trunk to the *-fixes
branches.

I think a freebsd4 fix on 2.2-fixes that wasn't in trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20071205/14468dec/attachment.bin


More information about the torquedev mailing list