Changeset 8d8cd94 in git for Singular


Ignore:
Timestamp:
Feb 28, 2012, 6:59:58 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
f93c5e9d617ac7c7445a38a6607c400467d15ef7
Parents:
f323dd1d5224b28e86385dbae25bbc736620b24c
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-02-28 18:59:58+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-02-29 17:39:24+01:00
Message:
fix: return value of enterid for packages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipid.cc

    rf323dd1 r8d8cd94  
    238238  s=omStrDup(s);
    239239  idhdl *save_root=root;
    240   BOOLEAN to_reset=FALSE;
    241240  if (t==PACKAGE_CMD)
    242241  {
     
    244243    {
    245244      root=&(basePack->idroot);
    246       to_reset=TRUE;
    247245    }
    248246  }
     
    310308  checkall();
    311309#endif
    312   if (to_reset) root=save_root;
    313310  return *root;
    314311
     
    318315    //listall();
    319316    omFree((ADDRESS)s);
    320     if (to_reset) root=save_root;
    321317    return NULL;
    322318}
Note: See TracChangeset for help on using the changeset viewer.