IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 19, 2006, 5:20:04 PM (20 years ago)
Author:
Paul Price
Message:

Adding string.h where required

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src

    • Property svn:ignore
      •  

        old new  
        1010*.lo
        1111p0tool
        12 p1search
        13 p2search
         12p1tool
         13p2tool
        1414pxadmin
        1515pzgetexp
        1616pzgetimfiles
        17 pzsearch
         17pztool
        1818dettool
        1919pxinject
  • trunk/ippTools/src/chiptool.c

    r8667 r8849  
    33#endif
    44
     5#include <stdio.h>
     6#include <string.h>
    57#include <stdlib.h>
    68
     
    8183    }
    8284    psArray *pendingFrames = p2PendingFrameSearch(config);
    83     // XXX compare raw frames to pending frames and remove duplicate 
     85    // XXX compare raw frames to pending frames and remove duplicate
    8486    // frames from the raw set.  This may not be quiet right as it's
    8587    // possible (likely?) that a rawScienceExp is inserted into the
     
    9799                    i--;
    98100                    break;
    99                 } 
     101                }
    100102            }
    101103        }
     
    116118                        i--;
    117119                        break;
    118                     } 
     120                    }
    119121                }
    120122            }
     
    181183    // the p2ProcessedeImfile tables
    182184    // remove corresponding entries from the
    183     // p2PendingImfile table 
     185    // p2PendingImfile table
    184186    // check to see if any p2PendingExps have no
    185     // associated p2PendingImfiles 
     187    // associated p2PendingImfiles
    186188    // if so move the p2PendingExp(s) to p2ProcessedExp
    187    
     189
    188190    psString query = psStringCopy(
    189191        "SELECT DISTINCT"
     
    198200    {
    199201        psMetadata *where = psMetadataAlloc();
    200         bool status = false;       
     202        bool status = false;
    201203        psString exp_id = psMetadataLookupStr(&status, config->args, "-exp_id");        if (!status) {
    202204            psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -exp_id");
     
    319321    }
    320322
    321     // point of no return for p2PendingImfile -> p2ProcessedImfile 
     323    // point of no return for p2PendingImfile -> p2ProcessedImfile
    322324    // point of no return for p2PendingExp -> p2ProcessedExp
    323325    if (!psDBCommit(config->dbh)) {
     
    333335    PS_ASSERT_PTR_NON_NULL(config, false);
    334336
    335     // look for completed p2PendingExp 
     337    // look for completed p2PendingExp
    336338    // migrate them to p2ProccessedExp & p3PendingExp
    337339
    338340    // select * from p2PendingExp
    339     // where exp_id is not in p2ProcessedExp 
     341    // where exp_id is not in p2ProcessedExp
    340342    // where exp_id is not in p2PendingImfile
    341343    // where the number of entries in p2ProccessedImfile matches the .imfiles
Note: See TracChangeset for help on using the changeset viewer.