Changeset 165 for branches/samba-3.0/source/lib/util.c
- Timestamp:
- Mar 11, 2009, 9:14:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/lib/util.c
r105 r165 1992 1992 SMB_STRUCT_FLOCK lock; 1993 1993 int ret; 1994 1995 DEBUG(8,("fcntl_lock fd=%d op=%d offset=%.0f count=%.0f type=%d\n", 1996 fd,op,(double)offset,(double)count,type)); 1994 1997 1995 1998 lock.l_type = type; … … 3335 3338 return talloc_named_const(context, size, name); 3336 3339 } 3340 3341 bool reinit_after_fork(struct messaging_context *msg_ctx, 3342 struct event_context *ev_ctx, 3343 bool parent_longlived) 3344 { 3345 set_need_random_reseed(); 3346 if (tdb_reopen_all(parent_longlived ? 1 : 0) == -1) { 3347 DEBUG(0, ("tdb_reopen_all failed.\n")); 3348 return false; 3349 } 3350 event_context_reinit(ev_ctx); 3351 return true; 3352 }
Note:
See TracChangeset
for help on using the changeset viewer.