Bug 4198 - Bad reg-ex in condor poll script
: Bad reg-ex in condor poll script
Status: RESOLVED FIXED
: GRAM
wsrf scheduler interface
: 4.0.1
: All All
: P3 minor
: 4.0.2
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2006-02-03 16:33 by
Modified: 2006-03-21 15:32 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-02-03 16:33:59
There's a typo in the poll subroutine of GRAM's perl script for Condor. When
reading the Condor job 
log, the subroutine looks for the closing classad element with with following
line:

      } elsif (</c>) {

This should actually be:

      } elsif (/<\/c>/) {

Otherwise, it's a filehandle operation that tries to stat '/c'.

There's no incorrect behavior, but it's inefficient.
------- Comment #1 From 2006-03-21 15:32:42 -------
Fix committed to CVS