From 03bcc319cfa2f92e86da72d0bd9f6040f4800aa0 Mon Sep 17 00:00:00 2001 From: NotZed Date: Tue, 28 Mar 2000 00:39:36 +0000 Subject: Fixed call to ibex_open. 2000-03-26 NotZed * 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 --- libibex/mkindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libibex/mkindex.c') 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)); -- cgit v1.2.3