diff options
author | NotZed <NotZed@HelixCode.com> | 2000-03-28 08:39:36 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-03-28 08:39:36 +0800 |
commit | 03bcc319cfa2f92e86da72d0bd9f6040f4800aa0 (patch) | |
tree | b7d65a7a51f8261228c4e9cb31eb1b10014c2779 /libibex/lookup.c | |
parent | 9eec5a12db8b2e53fc1e346478e320fd6efb2a70 (diff) | |
download | gsoc2013-evolution-03bcc319cfa2f92e86da72d0bd9f6040f4800aa0.tar.gz 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/lookup.c')
-rw-r--r-- | libibex/lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libibex/lookup.c b/libibex/lookup.c index aa09fc6557..2d01dbf850 100644 --- a/libibex/lookup.c +++ b/libibex/lookup.c @@ -61,7 +61,7 @@ main (int argc, char **argv) if (argc == 0) usage (); - ib = ibex_open (file, FALSE); + ib = ibex_open (file, O_RDWR|O_CREAT, 0600); if (!ib) { printf ("Couldn't open %s: %s\n", file, strerror (errno)); exit (1); |