Changeset 7b0376 in git for Singular/links/sing_dbm.cc


Ignore:
Timestamp:
Aug 1, 2016, 10:55:54 AM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
36d61f07ab133fd386896763b697a66e352e67ba
Parents:
f9b0bddbfb9793b47a94a5d2aace6da9918e3c70cd79608c61d713b22b8e9ae861168cbd02e4fab9
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2016-08-01 10:55:54+02:00
git-committer:
GitHub <noreply@github.com>2016-08-01 10:55:54+02:00
Message:
Merge pull request #774 from surface-smoothers/fix.brnoeth.bug.770

fix variable declaration before minpoly is defined in 'brnoeth.lib'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/links/sing_dbm.cc

    rcd7960 r7b0376  
    123123      if (!SI_LINK_CLOSE_P(l))
    124124      {
    125         if (!dbClose(l)) {Print("cannot close link!\n");}
     125        if (!dbClose(l)) {PrintS("cannot close link!\n");}
    126126      }
    127127      //(SI_LINK_CLOSE_P(l)) automatically
    128128      if (dbOpen(l, SI_LINK_READ)) return NULL;
    129129    }
    130   if (SI_LINK_RW_OPEN_P(l)) {Print("I/O Error!\n");}
     130  if (SI_LINK_RW_OPEN_P(l)) {PrintS("I/O Error!\n");}
    131131
    132132  if(key!=NULL)
     
    210210  if (strcmp(l->mode,"rw")!=0) // r-mode
    211211    {
    212       Print("Write error on readonly source\n");
     212      PrintS("Write error on readonly source\n");
    213213    }
    214214  else //rw-mode
     
    218218        if (!SI_LINK_CLOSE_P(l))
    219219        {
    220           if (!dbClose(l)) {Print("close error\n");};
     220          if (!dbClose(l)) {PrintS("close error\n");};
    221221        }
    222         if (!dbOpen(l,SI_LINK_WRITE)) {Print("open_for_write error\n");}
     222        if (!dbOpen(l,SI_LINK_WRITE)) {PrintS("open_for_write error\n");}
    223223      }
    224224    }
     
    238238        ret  = gdbm_store(db->db, d_key, d_value, GDBM_REPLACE);
    239239//         db->actual=d_key;
    240         if (ret==-1) {Print("reader calls gdbm_store!");}
     240        if (ret==-1) {PrintS("reader calls gdbm_store!");}
    241241        if (ret==0)
    242242          { b=FALSE; }
Note: See TracChangeset for help on using the changeset viewer.