Changeset 3706b2 in git for Singular/ssiLink.cc


Ignore:
Timestamp:
May 18, 2012, 1:42:21 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e5324ae0d87043f3dd2f19e754586d0028d614cc
Parents:
d0015c9c5906ccd1040927a2140a137a93d743b1
Message:
add:  add: slStatusSsiL also for ssi:connect, better handling of close
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ssiLink.cc

    rd0015c r3706b2  
    784784          //myynest=0;
    785785          fe_fgets_stdin=fe_fgets_dummy;
    786           WerrorS_callback=WerrorS_batch;
     786          WerrorS_callback=WerrorS_batch;
    787787          if ((u!=NULL)&&(u->rtyp==IDHDL))
    788788          {
     
    12071207                return ssiRead1(l);
    12081208             }
    1209     case 99: ssiClose(l); exit(0);
     1209    case 99: ssiClose(l); m2_end(0);
    12101210    case 0: if (feof(d->f_read))
    12111211            {
     
    14021402{
    14031403// input: L: a list with links of type
    1404 //           ssi-fork, ssi-tcp, MPtcp-fork or MPtcp-launch.
     1404//           ssi-connect, ssi-fork, ssi-tcp, MPtcp-fork or MPtcp-launch.
    14051405//           Note: Not every entry in L must be set.
    14061406//        timeout: timeout for select in micro-seconds
     
    14791479      if (((strcmp(l->m->type,"ssi")!=0) && (strcmp(l->m->type,"MPtcp")!=0))
    14801480      || ((strcmp(l->mode,"fork")!=0) && (strcmp(l->mode,"tcp")!=0)
    1481         && (strcmp(l->mode,"launch")!=0)))
    1482       {
    1483         WerrorS("all links must be of type ssi:fork, ssi:tcp, MPtcp:fork\n");
    1484         WerrorS("or MPtcp:launch");
     1481        && (strcmp(l->mode,"launch")!=0) && (strcmp(l->mode,"connect")!=0)))
     1482      {
     1483        WerrorS("all links must be of type ssi:fork, ssi:tcp, ssi:connect,");
     1484        WerrorS(" MPtcp:fork or MPtcp:launch");
    14851485        return -2;
    14861486      }
Note: See TracChangeset for help on using the changeset viewer.