8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44f62de commit 149008dCopy full SHA for 149008d
contrib/dbase/dbf.c
@@ -1,4 +1,4 @@
1
-/* $PostgreSQL: pgsql/contrib/dbase/dbf.c,v 1.10 2006/03/11 04:38:28 momjian Exp $ */
+/* $PostgreSQL: pgsql/contrib/dbase/dbf.c,v 1.11 2006/06/08 03:28:01 momjian Exp $ */
2
3
/* Routines to read and write xBase-files (.dbf)
4
@@ -47,7 +47,7 @@ dbf_open(char *file, int flags)
47
return (dbhead *) DBF_ERROR;
48
}
49
50
- if ((file_no = open(file, flags)) == -1)
+ if ((file_no = open(file, flags, 0)) == -1)
51
{
52
free(fieldc);
53
free(head);
@@ -250,7 +250,7 @@ dbf_open_new(char *name, int flags)
250
251
else
252
253
- if ((dbh->db_fd = open(name, flags)) == -1)
+ if ((dbh->db_fd = open(name, flags, 0)) == -1)
254
255
free(dbh);
256
0 commit comments