Changeset 8fdfd50 in git


Ignore:
Timestamp:
Oct 22, 2014, 4:06:04 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
Children:
37c772cb81032a12dd0c86fe97f20d65f539d9d3
Parents:
3d996b1452759180a1ab25db0deb191a5cf79fd2
Message:
fix: tr #658
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipid.cc

    r3d996b r8fdfd50  
    174174      return (void*) omAlloc0Bin(sip_sring_bin);
    175175    case PACKAGE_CMD:
    176       return (void*) omAlloc0Bin(sip_package_bin);
     176    {
     177      package pa=(package)omAlloc0Bin(sip_package_bin);
     178      pa->language=LANG_NONE;
     179      pa->loaded = FALSE;
     180      return (void*)pa;
     181    }
    177182    case PROC_CMD:
    178       return (void *) omAlloc0Bin(procinfo_bin);
     183    {
     184      procinfov pi=(procinfov)omAlloc0Bin(procinfo_bin);
     185      pi->ref=1;
     186      pi->language=LANG_NONE;
     187      return (void*)pi;
     188    }
    179189    case RESOLUTION_CMD:
    180190      return  (void *)omAlloc0(sizeof(ssyStrategy));
     
    228238      /* QRING_CMD is ring dep => currRing !=NULL */
    229239    }
    230     else
    231240#endif
    232     if (t == PROC_CMD)
    233     {
    234       IDPROC(h)->language=LANG_NONE;
    235       IDPROC(h)->ref=1;
    236     }
    237     else if (t == PACKAGE_CMD)
    238     {
    239       IDPACKAGE(h)->language=LANG_NONE;
    240       IDPACKAGE(h)->loaded = FALSE;
    241     }
    242241  }
    243242  // --------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.