Changeset 8a4a44 in git


Ignore:
Timestamp:
Feb 3, 2011, 5:24:41 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
01d9463e388a4fd9604cde3eeb629ba1aaa1fc38
Parents:
23b02c9a96826fd6c0769ef80d538c20067893af
Message:
fix ssi:tcp, defaults to /usr/local/bin/Singular

git-svn-id: file:///usr/local/Singular/svn/trunk@13820 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ssiLink.cc

    r23b02c9 r8a4a44  
    744744      else if(r == 1)
    745745      {
    746         strcmp(path,"Singular");
     746        strcpy(path,"/usr/local/bin/Singular");
    747747      }
    748748      char* ssh_command = (char*)omAlloc(256);
     
    859859      fprintf(d->f_write,"99\n");fflush(d->f_write);
    860860      link_list hh=ssiToBeClosed;
    861       if (hh->l==l)
    862       {
    863          ssiToBeClosed=(link_list)hh->next;
    864          omFreeSize(hh,sizeof(link_struct));
    865       }
    866       else while(hh!=NULL)
    867       {
    868         link_list hhh=(link_list)hh->next;
    869         if (hhh->l==l)
     861      if (hh!=NULL)
     862      {
     863        if (hh->l==l)
    870864        {
    871           hh->next=hhh->next;
    872           omFreeSize(hhh,sizeof(link_struct));
    873           break;
     865           ssiToBeClosed=(link_list)hh->next;
     866           omFreeSize(hh,sizeof(link_struct));
    874867        }
    875         hh=(link_list)hh->next;
     868        else while(hh!=NULL)
     869        {
     870          link_list hhh=(link_list)hh->next;
     871          if (hhh->l==l)
     872          {
     873            hh->next=hhh->next;
     874            omFreeSize(hhh,sizeof(link_struct));
     875            break;
     876          }
     877          hh=(link_list)hh->next;
     878        }
    876879      }
    877880    }
Note: See TracChangeset for help on using the changeset viewer.