~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/os_vxworks/os_vx_config.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.10.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 128.
  • Revision ID: james.westby@ubuntu.com-20100517170206-xu1wmjuy40nt2sk0
Tags: upstream-2.30.1
ImportĀ upstreamĀ versionĀ 2.30.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*-
2
 
 * See the file LICENSE for redistribution information.
3
 
 *
4
 
 * Copyright (c) 1999-2002
5
 
 *      Sleepycat Software.  All rights reserved.
6
 
 */
7
 
 
8
 
#include "db_config.h"
9
 
 
10
 
#ifndef lint
11
 
static const char revid[] = "$Id$";
12
 
#endif /* not lint */
13
 
 
14
 
#include "db_int.h"
15
 
 
16
 
/*
17
 
 * __os_fs_notzero --
18
 
 *      Return 1 if allocated filesystem blocks are not zeroed.
19
 
 *
20
 
 * PUBLIC: int __os_fs_notzero __P((void));
21
 
 */
22
 
int
23
 
__os_fs_notzero()
24
 
{
25
 
        /*
26
 
         * Some VxWorks FS drivers do not zero-fill pages that were never
27
 
         * explicitly written to the file, they give you random garbage,
28
 
         * and that breaks Berkeley DB.
29
 
         */
30
 
        return (1);
31
 
}