diff options
author | krion <krion@FreeBSD.org> | 2009-08-21 22:32:46 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2009-08-21 22:32:46 +0800 |
commit | 1778010674d931b25d27676cbd5121a382f57d9a (patch) | |
tree | 663bf966920c2e996bf8dbebb92433dc1ca79840 /mail/exim | |
parent | 95500ca43d7467f349cb78da1d79189a23aaa755 (diff) | |
download | freebsd-ports-gnome-1778010674d931b25d27676cbd5121a382f57d9a.tar.gz freebsd-ports-gnome-1778010674d931b25d27676cbd5121a382f57d9a.tar.zst freebsd-ports-gnome-1778010674d931b25d27676cbd5121a382f57d9a.zip |
Fix dbm->seq loop.
Details: http://lists.exim.org/lurker/message/20090729.134711.ef8c803e.en.html
PR: ports/137257
Submitted by: Artis Caune <Artis.Caune@gmail.com>
Diffstat (limited to 'mail/exim')
-rw-r--r-- | mail/exim/files/patch-src_dbstuff.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/exim/files/patch-src_dbstuff.h b/mail/exim/files/patch-src_dbstuff.h new file mode 100644 index 000000000000..f17c509120e4 --- /dev/null +++ b/mail/exim/files/patch-src_dbstuff.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/dbstuff.h.orig ++++ src/dbstuff.h +@@ -331,7 +331,7 @@ + + /* EXIM_DBSCAN - returns TRUE if data is returned, FALSE at end */ + #define EXIM_DBSCAN(db, key, data, first, cursor) \ +- ((db)->seq(db, &key, &data, (first? R_FIRST : 0)) == 0) ++ ((db)->seq(db, &key, &data, (first? R_FIRST : R_NEXT)) == 0) + + /* EXIM_DBDELETE_CURSOR - terminate scanning operation (null). Make it + refer to cursor, to keep picky compilers happy. */ |