Changeset 538512 in git for Singular/links/silink.cc


Ignore:
Timestamp:
Jan 10, 2013, 12:47:19 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
80c703d0b975055386088b85c7bcdd5c7684adc0
Parents:
c2ff4132e497bb884e85e7bcb9974f183308e2bb
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-01-10 12:47:19+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-01-10 12:48:14+01:00
Message:
chg: StringAppend/StringSetS/StringEndS: use multiple times
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/links/silink.cc

    rc2ff413 r538512  
    785785      StringSetS("");
    786786      p_Write(IDRING(h)->cf->extRing->qideal->m[0],IDRING(h)->cf->extRing);
    787       rhs = StringAppendS("");
    788       if (fprintf(fd, "; minpoly = %s", rhs) == EOF) return EOF;
     787      rhs = StringEndS();
     788      if (fprintf(fd, "; minpoly = %s", rhs) == EOF) { omFree(rhs); return EOF;}
     789      omFree(rhs);
    789790    }
    790791    else if (type_id == INTVEC_CMD) fprintf(fd, ")");
Note: See TracChangeset for help on using the changeset viewer.