aboutsummaryrefslogtreecommitdiffstats
path: root/libibex/mkindex.c
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-03-28 08:39:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-03-28 08:39:36 +0800
commit03bcc319cfa2f92e86da72d0bd9f6040f4800aa0 (patch)
treeb7d65a7a51f8261228c4e9cb31eb1b10014c2779 /libibex/mkindex.c
parent9eec5a12db8b2e53fc1e346478e320fd6efb2a70 (diff)
downloadgsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.gz
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.bz2
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.lz
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.xz
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.zst
gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.zip
Fixed call to ibex_open.
2000-03-26 NotZed <NotZed@HelixCode.com> * lookup.c (main): Fixed call to ibex_open. * mkindex.c (main): Fixed call to ibex_open. * file.c (ibex_open): Changed to accept flags and mode equivalent to open(2). svn path=/trunk/; revision=2202
Diffstat (limited to 'libibex/mkindex.c')
-rw-r--r--libibex/mkindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libibex/mkindex.c b/libibex/mkindex.c
index 9d6841e90b..151dcecb2d 100644
--- a/libibex/mkindex.c
+++ b/libibex/mkindex.c
@@ -60,7 +60,7 @@ main (int argc, char **argv)
if (argc == 0)
usage ();
- ib = ibex_open (file, TRUE);
+ ib = ibex_open (file, O_CREAT|O_RDWR, 0600);
if (!ib) {
fprintf (stderr, "Couldn't open index file %s: %s\n",
file, strerror (errno));