Changeset 74fced0 in git
- Timestamp:
- Aug 15, 1997, 11:49:13 AM (26 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- bd003130ba3f37eafd59ba2ce081bb2186feda75
- Parents:
- 680ccf2566216386e4aaed823b32324d0a290de9
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ChangeLog
r680ccf2 r74fced0 1 Fri Aug 15 11:44:13 MESZ 1997 Kai Krueger <krueger@mathematik.uni-kl.de> 2 * ndbm.cc: fix open-bug for dos 3 default mode of open is ascii, we need binary mode. 4 1 5 Thu Aug 14 18:04:04 1997 Olaf Bachmann <obachman@mathematik.uni-kl.de> 2 6 and anne -
Singular/ndbm.cc
r680ccf2 r74fced0 5 5 //**************************************************************************/ 6 6 // 7 // $Id: ndbm.cc,v 1. 3 1997-08-12 17:14:41 Singular Exp $7 // $Id: ndbm.cc,v 1.4 1997-08-15 09:49:13 krueger Exp $ 8 8 // 9 9 //**************************************************************************/ … … 84 84 flags = O_RDWR | O_CREAT; 85 85 #endif /* macintosh */ 86 86 #ifdef MSDOS 87 // default mode of open is ascii, we need binary mode. 88 flags |= O_BINARY; 89 #endif 87 90 db->dbm_flags = (flags & 03) == O_RDONLY ? _DBM_RDONLY : 0; 88 91 if ((flags & 03) == O_WRONLY)
Note: See TracChangeset
for help on using the changeset viewer.