Changeset d302d0 in git


Ignore:
Timestamp:
Oct 29, 2013, 10:17:34 AM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
3c3d47c9daf70f448511e62e58d2e86f4d49ef01
Parents:
56aaaefc9ea598cd0bef8f3687618d69cdafb5a0
Message:
fix: ssiReadRing for dummy rings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/links/ssiLink.cc

    r56aaae rd302d0  
    486486  ch=s_readint(d->f_read);
    487487  N=s_readint(d->f_read);
    488   names=(char**)omalloc(N*sizeof(char*));
    489   for(i=0;i<N;i++)
    490   {
    491     names[i]=ssiReadString(d);
     488  if (N!=0)
     489  {
     490    names=(char**)omAlloc(N*sizeof(char*));
     491    for(i=0;i<N;i++)
     492    {
     493      names[i]=ssiReadString(d);
     494    }
    492495  }
    493496  // read the orderings:
Note: See TracChangeset for help on using the changeset viewer.