Changeset 27783
- Timestamp:
- Apr 27, 2010, 11:37:45 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (3 diffs)
-
PS-IPP-PStamp/lib/PS/IPP/PStamp/RequestFile.pm (modified) (2 diffs)
-
pstamp/scripts/pstampparse.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r27751 r27783 32 32 use POSIX; 33 33 34 my $dvo_verbose = 0; 34 35 my $save_temps = 0; 35 36 … … 693 694 my $command = "$dvoImagesAtCoords -astrom $astrom_resolved $ra $dec"; 694 695 # run the tool and parse the output 695 my $dvo_verbose = 0;696 696 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 697 697 run(command => $command, verbose => $dvo_verbose); … … 1073 1073 } 1074 1074 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 1075 run(command => $command, verbose => $ verbose);1075 run(command => $command, verbose => $dvo_verbose); 1076 1076 unless ($success) { 1077 1077 # don't fail if the program exited normally and exit status was PSTAMP_NO_OVERLAP -
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/RequestFile.pm
r27589 r27783 29 29 $PSTAMP_SELECT_UNCONV 30 30 $PSTAMP_USE_IMFILE_ID 31 $PSTAMP_ WAIT_FOR_UPDATE31 $PSTAMP_NO_WAIT_FOR_UPDATE 32 32 $PSTAMP_SUCCESS 33 33 $PSTAMP_SYSTEM_ERROR … … 63 63 our $PSTAMP_USE_IMFILE_ID = 16384; 64 64 65 our $PSTAMP_ WAIT_FOR_UPDATE = 32768;65 our $PSTAMP_NO_WAIT_FOR_UPDATE = 32768; 66 66 67 67 # job and result codes -
trunk/pstamp/scripts/pstampparse.pl
r27751 r27783 558 558 } 559 559 if (!$fault) { 560 # don't wait for update unless the caller asks usto561 if ( !($option_mask & $PSTAMP_WAIT_FOR_UPDATE)) {560 # wait for update unless the customer asks us not to 561 if (($option_mask & $PSTAMP_NO_WAIT_FOR_UPDATE)) { 562 562 $newState = 'stop'; 563 563 $fault = $PSTAMP_NOT_AVAILABLE; … … 724 724 $fault = $PSTAMP_GONE; 725 725 } elsif (($data_state ne 'full') or ($need_magic and ($image->{magicked} < 0))) { 726 # don't wait for update unless the caller asks usto727 if ( !($option_mask & $PSTAMP_WAIT_FOR_UPDATE)) {726 # wait for update unless the customer asks us to not to 727 if ($option_mask & $PSTAMP_NO_WAIT_FOR_UPDATE) { 728 728 $newState = 'stop'; 729 729 $fault = $PSTAMP_NOT_AVAILABLE;
Note:
See TracChangeset
for help on using the changeset viewer.
