Changeset 3706b2 in git for Singular/misc_ip.cc


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

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.cc

    rd0015c r3706b2  
    77 *
    88 * For more general information, see the documentation in misc_ip.h.
    9  *
    10  * @internal @version \$Id$
    119 *
    1210 **/
     
    262260              p_ui +=add;
    263261              //add += 2; if (add == 6) add = 2;
    264               add =2+2*(add==2);
     262              add =2+2*(add==2);
    265263            }
    266264            mpz_set_ui(nn,nn_ui);
     
    679677    v=v->next;
    680678  } while (v!=NULL);
    681    
     679
    682680#ifdef OM_SINGULAR_CONFIG_H
    683681   // set global variable to show memory usage
     
    686684  else om_sing_opt_show_mem = 0;
    687685#endif
    688    
     686
    689687  return FALSE;
    690688}
     
    10321030    }
    10331031  }
    1034   if (i<=0)
    1035   {
     1032  if(!singular_in_batchmode)
     1033  {
     1034    if (i<=0)
     1035    {
    10361036      if (TEST_V_QUIET)
    10371037      {
     
    10411041          printf("\n$Bye.\n");
    10421042      }
    1043     //#ifdef sun
    1044     //  #ifndef __svr4__
    1045     //    _cleanup();
    1046     //    _exit(0);
    1047     //  #endif
    1048     //#endif
    1049     exit(0);
    1050   }
    1051   else
    1052   {
    1053       if(!singular_in_batchmode)
    1054       {
     1043      //#ifdef sun
     1044      //  #ifndef __svr4__
     1045      //    _cleanup();
     1046      //    _exit(0);
     1047      //  #endif
     1048      //#endif
     1049      i=0;
     1050    }
     1051    else
     1052    {
    10551053        printf("\nhalt %d\n",i);
    1056       }
     1054    }
    10571055  }
    10581056  #ifdef HAVE_MPSR
     
    11141112  memset(&sLastPrinted,0,sizeof(sleftv));
    11151113  sLastPrinted.rtyp=NONE;
    1116  
     1114
    11171115  extern int iiInitArithmetic(); iiInitArithmetic(); // iparith.cc
    11181116
     
    11271125
    11281126  coeffs_BIGINT = nInitChar(n_Q,NULL);
    1129  
    1130 #if 1 
     1127
     1128#if 1
    11311129   // def HAVE_POLYEXTENSIONS
    11321130  if(TRUE)
     
    11341132    n_coeffType type = nRegister(n_algExt, naInitChar);
    11351133    assume(type == n_algExt);
    1136      
     1134
    11371135    type = nRegister(n_transExt, ntInitChar);
    11381136    assume(type == n_transExt);
Note: See TracChangeset for help on using the changeset viewer.