~peter-pearse/ubuntu/oneiric/bogofilter/prop001

« back to all changes in this revision

Viewing changes to src/datastore_db.c

  • Committer: Bazaar Package Importer
  • Author(s): Tollef Fog Heen
  • Date: 2005-11-10 11:49:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20051110114905-xf32pbkghlwymetz
Tags: upstream-0.96.5
ImportĀ upstreamĀ versionĀ 0.96.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: datastore_db.c,v 1.218 2005/06/29 10:11:16 m-a Exp $ */
 
1
/* $Id: datastore_db.c,v 1.220 2005/08/14 14:38:24 m-a Exp $ */
2
2
 
3
3
/*****************************************************************************
4
4
 
272
272
            e = errno = EAGAIN;
273
273
    } else {
274
274
        /* have lock */
275
 
        if (handle->fd > 0)
 
275
        if (handle->fd >= 0)
276
276
            handle->locked = true;
277
277
    }
278
278
    return e;
396
396
    if (!check_path(bfp))
397
397
        exit(EX_ERROR);
398
398
 
 
399
    if (bfp->isdir)
 
400
        return NULL;
 
401
 
399
402
    dsm_init(bfp);
400
403
    
401
404
    env = dsm->dsm_env_init(bfp);