git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 44f62de)
Add missing 3rd parameter to open().
Thu, 8 Jun 2006 03:28:01 +0000 (03:28 +0000)
Thu, 8 Jun 2006 03:28:01 +0000 (03:28 +0000)

diff --git a/contrib/dbase/dbf.c b/contrib/dbase/dbf.c
index ba1c99bc4b4c1e54b26e95a1021e039b72dd7f91..f202213b11a0085dc8b95df90ed2e6e9820a67e0 100644 (file)
--- a/contrib/dbase/dbf.c
+++ b/contrib/dbase/dbf.c
@@ -1,4 +1,4 @@
-/* $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 $ */
/* Routines to read and write xBase-files (.dbf)
@@ -47,7 +47,7 @@ dbf_open(char *file, int flags)
return (dbhead *) DBF_ERROR;
}
- if ((file_no = open(file, flags)) == -1)
+ if ((file_no = open(file, flags, 0)) == -1)
{
free(fieldc);
free(head);
@@ -250,7 +250,7 @@ dbf_open_new(char *name, int flags)
}
else
{
- if ((dbh->db_fd = open(name, flags)) == -1)
+ if ((dbh->db_fd = open(name, flags, 0)) == -1)
{
free(dbh);
return (dbhead *) DBF_ERROR;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /