Changeset 862 for trunk/server/lib/tdb/common/open.c
- Timestamp:
- May 13, 2014, 11:39:04 AM (11 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 860
- Property svn:mergeinfo changed
-
trunk/server/lib/tdb/common/open.c
r857 r862 303 303 fcntl(tdb->fd, F_SETFD, v | FD_CLOEXEC); 304 304 305 #ifdef __OS2__ 306 if (os2_crtActiveLock(tdb, name, 1, mode) != 0) 307 goto fail; 308 #endif 309 305 310 /* ensure there is only one process initialising at once */ 306 311 if (tdb_nest_lock(tdb, OPEN_LOCK, F_WRLCK, TDB_LOCK_WAIT) == -1) { … … 309 314 goto fail; /* errno set by tdb_brlock */ 310 315 } 311 312 #ifdef __OS2__313 if (os2_crtActiveLock(tdb, name, 1, mode) != 0)314 goto fail;315 #endif316 316 317 317 /* we need to zero database if we are the only one with it open */
Note:
See TracChangeset
for help on using the changeset viewer.