diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-03 06:35:22 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-03 06:35:22 +0000 |
commit | ba63be234fc0a34f68501f205f34b05b3511949d (patch) | |
tree | dd7ca9e02fb315119f8f8a9489f269df8c23a80f /databases | |
parent | db024caf95f64245075402feefa2b927c53af30e (diff) | |
download | ports-ba63be234fc0a34f68501f205f34b05b3511949d.tar.gz ports-ba63be234fc0a34f68501f205f34b05b3511949d.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/dbf/files/patch-dbf.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/databases/dbf/files/patch-dbf.c b/databases/dbf/files/patch-dbf.c index cf2ce4073bc5..4a9c1f003094 100644 --- a/databases/dbf/files/patch-dbf.c +++ b/databases/dbf/files/patch-dbf.c @@ -1,6 +1,15 @@ ---- dbf.c.orig Tue Nov 11 16:48:07 2003 -+++ dbf.c Tue Nov 11 16:48:19 2003 -@@ -315,6 +315,7 @@ +--- dbf.c.orig Thu Nov 20 05:22:03 2003 ++++ dbf.c Fri Apr 2 17:01:43 2004 +@@ -341,7 +341,7 @@ + if (verbosity > 0) + banner(); + +- if(0 == strcmp(export_filename, "-")) ++ if(!export_filename || (0 == strcmp(export_filename, "-"))) + output = stdout; + else + output = export_open(export_filename); +@@ -357,6 +357,7 @@ exit(1); if (writeLine) { @@ -8,7 +17,7 @@ if ((record = malloc(record_length + 1)) == NULL) { perror("malloc"); exit(1); } -@@ -327,7 +328,6 @@ +@@ -369,7 +370,6 @@ //lseek(dbfhandle, rotate2b(db->header_length) + 1, SEEK_SET); /* At this point we look if the following data set is deleted */ |