Changeset d302d0 in git


Ignore:
Timestamp:
Oct 29, 2013, 10:17:34 AM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
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.