Changeset b2a49b in git
- Timestamp:
- Sep 27, 1999, 7:54:57 PM (25 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- a6312edfb1f70ae85db1956e81afaabf54b79df1
- Parents:
- 793a4da836b9a776100b320e7295d47093670104
- Location:
- Singular
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/general.lib
r793a4d rb2a49b 1 // $Id: general.lib,v 1.2 0 1999-09-23 12:13:38Singular Exp $1 // $Id: general.lib,v 1.21 1999-09-27 17:54:57 Singular Exp $ 2 2 //GMG, last modified 18.6.99 3 3 /////////////////////////////////////////////////////////////////////////////// 4 4 5 version="$Id: general.lib,v 1.2 0 1999-09-23 12:13:38Singular Exp $";5 version="$Id: general.lib,v 1.21 1999-09-27 17:54:57 Singular Exp $"; 6 6 info=" 7 7 LIBRARY: general.lib PROCEDURES OF GENERAL TYPE … … 434 434 for ( joni=size(L); joni>0; joni-- ) 435 435 { 436 if( L[joni]=="LIB" or typeof(`L[joni]`)=="proc")436 if((L[joni]!="killall") and (L[joni]=="LIB" or typeof(`L[joni]`)=="proc")) 437 437 { kill `L[joni]`; } 438 438 } -
Singular/ipid.cc
r793a4d rb2a49b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipid.cc,v 1.3 3 1999-07-06 13:35:32Singular Exp $ */4 /* $Id: ipid.cc,v 1.34 1999-09-27 17:54:55 Singular Exp $ */ 5 5 6 6 /* … … 210 210 tmp.name=IDID(this); 211 211 return tmp.String(); 212 } 213 212 } 214 213 215 214 //#define KAI … … 479 478 else if (IDTYP(h) == PROC_CMD) 480 479 { 481 piKill(IDPROC(h));480 if (piKill(IDPROC(h))) return; 482 481 } 483 482 // number ------------------------------------------------------------- … … 722 721 } 723 722 724 void piKill(procinfov pi) 725 { 723 BOOLEAN piKill(procinfov pi) 724 { 725 Voice *p=currentVoice; 726 while (p!=NULL) 727 { 728 if (p->pi==pi) 729 { 730 Warn("`%s` in use, can not be killed",pi->procname); 731 return TRUE; 732 } 733 p=p->next; 734 } 726 735 piCleanUp(pi); 727 736 if (pi->ref <= 0) 728 737 Free((ADDRESS)pi, sizeof(procinfo)); 738 return FALSE; 729 739 } 730 740 -
Singular/subexpr.h
r793a4d rb2a49b 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: subexpr.h,v 1.2 1 1999-09-17 11:42:26 Singular Exp $ */6 /* $Id: subexpr.h,v 1.22 1999-09-27 17:54:56 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT: handling of leftv … … 155 155 return pi; 156 156 } 157 voidpiKill(procinfov l);157 BOOLEAN piKill(procinfov l); 158 158 char *piProcinfo(procinfov pi, char *request); 159 159 void piShowProcinfo(procinfov pi, char *txt);
Note: See TracChangeset
for help on using the changeset viewer.