Ignore:
Timestamp:
Mar 11, 2009, 9:14:55 AM (16 years ago)
Author:
Paul Smedley
Message:

Add 'missing' 3.0.34 diffs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/lib/util.c

    r105 r165  
    19921992        SMB_STRUCT_FLOCK lock;
    19931993        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));
    19941997
    19951998        lock.l_type = type;
     
    33353338        return talloc_named_const(context, size, name);
    33363339}
     3340
     3341bool 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.