- Timestamp:
- Sep 30, 2007, 11:38:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/lib/tdb/common/open.c
r81 r90 268 268 if ((tdb_flags & TDB_CLEAR_IF_FIRST) 269 269 #ifndef __OS2__ 270 && (locked = (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_WRLCK, F_SETLK, 0, 1) == 0))) { 271 #endif 270 && (locked = (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_WRLCK, F_SETLK, 0, 1) == 0)) 271 #endif 272 ) { 272 273 open_flags |= O_CREAT; 273 274 if (ftruncate(tdb->fd, 0) == -1) {
Note:
See TracChangeset
for help on using the changeset viewer.