Ignore:
Timestamp:
Apr 10, 2007, 5:27:38 AM (14 years ago)
Author:
Paul Smedley
Message:

Updated source to 3.0.25rc1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/lib/util_tdb.c

    r1 r26  
    2626#undef strdup
    2727
    28 /***************************************************************
    29  Allow a caller to set a "alarm" flag that tdb can check to abort
    30  a blocking lock on SIGALRM.
    31 ***************************************************************/
    32 
    33 static sig_atomic_t *palarm_fired;
    34 
    35 static void tdb_set_lock_alarm(sig_atomic_t *palarm)
    36 {
    37         palarm_fired = palarm;
    38 }
    39 
    4028/* these are little tdb utility functions that are meant to make
    4129   dealing with a tdb database a little less cumbersome in Samba */
     
    7866        int ret;
    7967        gotalarm = 0;
    80         tdb_set_lock_alarm(CONST_DISCARD(sig_atomic_t *, &gotalarm));
    8168
    8269        if (timeout) {
Note: See TracChangeset for help on using the changeset viewer.