Ignore:
Timestamp:
04/10/01 12:20:13 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/catalog
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/catalog/SaoFile.cc

    r740 r748  
    6666{
    6767    file = new File(name, "r");
     68
     69    if (!*file)
     70        exit(0);
    6871
    6972    compressed = !strcasecmp(name+strlen(name)-4, ".cmp");
  • trunk/MagicSoft/Cosy/catalog/StarCatalog.cc

    r740 r748  
    2828    // read index file
    2929    //
    30     File idx("sao-sort.idx", "r");
     30    File idx("sao/sao-sort.idx", "r");
     31
     32    if (!idx)
     33        exit(0);
     34
    3135    while (!idx.Eof())
    3236    {
     
    5054    // open catalog
    5155    //
    52     fSao = new SaoFile("sao-sort.cmp");
     56    fSao = new SaoFile("sao/sao-sort.cmp");
    5357}
    5458
Note: See TracChangeset for help on using the changeset viewer.