Changeset 9e79fc in git
- Timestamp:
- Jan 11, 2008, 11:56:45 AM (15 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 9c6f160523432eef41813f0d4f8f9a8aafb16b12
- Parents:
- 1d4fb86f60448d39f742d75967367631c7b45ee5
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipid.cc
r1d4fb8 r9e79fc 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipid.cc,v 1.8 1 2007-04-19 12:05:39Singular Exp $ */4 /* $Id: ipid.cc,v 1.82 2008-01-11 10:56:45 Singular Exp $ */ 5 5 6 6 /* … … 551 551 if ((IDTYP(h) == RING_CMD) || (IDTYP(h) == QRING_CMD)) 552 552 { 553 // any objects defined for this ring ? 554 // Hmm ... why only for rings and not for qrings?? 555 // if (((IDTYP(h)==RING_CMD) && (IDRING(h)->ref<=0)) 556 if ((IDRING(h)->ref<=0) && (IDRING(h)->idroot!=NULL)) 557 { 558 idhdl * hd = &IDRING(h)->idroot; 559 idhdl hdh = IDNEXT(*hd); 560 idhdl temp; 561 if (IDRING(h)==currRing) //we are not killing the base ring, so switch 562 { 563 // we are killing the basering, so: make sure that 564 // sLastPrinted is killed before this ring is destroyed 565 if (((sLastPrinted.rtyp>BEGIN_RING) && (sLastPrinted.rtyp<END_RING)) 566 || ((sLastPrinted.rtyp==LIST_CMD)&&(lRingDependend((lists)sLastPrinted.data)))) 567 { 568 sLastPrinted.CleanUp(); 569 } 570 } 571 while (hdh!=NULL) 572 { 573 temp = IDNEXT(hdh); 574 killhdl2(hdh,&(IDRING(h)->idroot),IDRING(h)); 575 hdh = temp; 576 } 577 killhdl2(*hd,hd,IDRING(h)); 578 } 553 // any objects defined for this ring ? -> done by rKill 554 579 555 rKill(h); 580 556 } -
Singular/ipshell.cc
r1d4fb8 r9e79fc 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipshell.cc,v 1.17 1 2007-11-16 18:37:30Singular Exp $ */4 /* $Id: ipshell.cc,v 1.172 2008-01-11 10:56:45 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 4734 4734 } 4735 4735 #endif /* USE_IILOCALRING */ 4736 // any variables depending on r ? 4737 while (r->idroot!=NULL) 4738 { 4739 killhdl2(r->idroot,&(r->idroot),r); 4740 } 4736 4741 4737 4742 /* nKillChar(r); will be called from inside of rDelete */
Note: See TracChangeset
for help on using the changeset viewer.