~ubuntu-branches/ubuntu/quantal/nss/quantal

« back to all changes in this revision

Viewing changes to mozilla/dbm/src/db.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2007-12-16 11:06:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20071216110603-zs50itx4krxe1egt
Tags: 3.12.0~1.9b2+nobinonly-0ubuntu1
* New upstream snapshot, picked from FIREFOX_3_0b2_RELEASE cvs tag.
* ubuntify maintainer field
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 * 2. Redistributions in binary form must reproduce the above copyright
11
11
 *    notice, this list of conditions and the following disclaimer in the
12
12
 *    documentation and/or other materials provided with the distribution.
13
 
 * 3. All advertising materials mentioning features or use of this software
14
 
 *    must display the following acknowledgement:
15
 
 *      This product includes software developed by the University of
16
 
 *      California, Berkeley and its contributors.
 
13
 * 3. ***REMOVED*** - see 
 
14
 *    ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
17
15
 * 4. Neither the name of the University nor the names of its contributors
18
16
 *    may be used to endorse or promote products derived from this software
19
17
 *    without specific prior written permission.
87
85
#define DB_FLAGS        (DB_LOCK | DB_SHMEM | DB_TXN)
88
86
 
89
87
 
90
 
#if 0  /* most systems dont have EXLOCK and SHLOCK */
 
88
#if 0  /* most systems don't have EXLOCK and SHLOCK */
91
89
#define USE_OPEN_FLAGS                                                  \
92
90
        (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY |          \
93
91
         O_RDWR | O_SHLOCK | O_TRUNC)