Changeset 7b0376 in git for Singular/links/sing_dbm.cc
- Timestamp:
- Aug 1, 2016, 10:55:54 AM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/links/sing_dbm.cc
rcd7960 r7b0376 123 123 if (!SI_LINK_CLOSE_P(l)) 124 124 { 125 if (!dbClose(l)) {Print ("cannot close link!\n");}125 if (!dbClose(l)) {PrintS("cannot close link!\n");} 126 126 } 127 127 //(SI_LINK_CLOSE_P(l)) automatically 128 128 if (dbOpen(l, SI_LINK_READ)) return NULL; 129 129 } 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");} 131 131 132 132 if(key!=NULL) … … 210 210 if (strcmp(l->mode,"rw")!=0) // r-mode 211 211 { 212 Print ("Write error on readonly source\n");212 PrintS("Write error on readonly source\n"); 213 213 } 214 214 else //rw-mode … … 218 218 if (!SI_LINK_CLOSE_P(l)) 219 219 { 220 if (!dbClose(l)) {Print ("close error\n");};220 if (!dbClose(l)) {PrintS("close error\n");}; 221 221 } 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");} 223 223 } 224 224 } … … 238 238 ret = gdbm_store(db->db, d_key, d_value, GDBM_REPLACE); 239 239 // db->actual=d_key; 240 if (ret==-1) {Print ("reader calls gdbm_store!");}240 if (ret==-1) {PrintS("reader calls gdbm_store!");} 241 241 if (ret==0) 242 242 { b=FALSE; }
Note: See TracChangeset
for help on using the changeset viewer.