diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2009-08-21 14:32:46 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2009-08-21 14:32:46 +0000 |
commit | bc64c11eb355ec85fc768289698792c357801ae7 (patch) | |
tree | cb62e48b9db8b10cde60a4dfb0bd048f60c08635 /mail/exim | |
parent | ea78b90d86c8816cc8361bbfba4fd018090c1555 (diff) | |
download | ports-bc64c11eb355ec85fc768289698792c357801ae7.tar.gz ports-bc64c11eb355ec85fc768289698792c357801ae7.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>
Notes
Notes:
svn path=/head/; revision=240034
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. */ |