summaryrefslogtreecommitdiffstats
path: root/kbx/keybox-update.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-03-08 18:05:37 +0100
committerWerner Koch <wk@gnupg.org>2010-03-08 18:05:37 +0100
commit40a78fab0c224bfb92097a6d7f93c0893740d190 (patch)
tree3d8b2bb9ad0346fa80f04cf7bab3181d55bff31e /kbx/keybox-update.c
parentMore cleanups (diff)
downloadgnupg2-40a78fab0c224bfb92097a6d7f93c0893740d190.tar.xz
gnupg2-40a78fab0c224bfb92097a6d7f93c0893740d190.zip
Use macros for iobuf ioctls.
Diffstat (limited to 'kbx/keybox-update.c')
-rw-r--r--kbx/keybox-update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kbx/keybox-update.c b/kbx/keybox-update.c
index dfa7af346..e524292d5 100644
--- a/kbx/keybox-update.c
+++ b/kbx/keybox-update.c
@@ -166,9 +166,9 @@ rename_tmp_file (const char *bakfname, const char *tmpfname,
#endif
/* fixme: invalidate close caches (not used with stdio)*/
-/* iobuf_ioctl (NULL, 2, 0, (char*)tmpfname ); */
-/* iobuf_ioctl (NULL, 2, 0, (char*)bakfname ); */
-/* iobuf_ioctl (NULL, 2, 0, (char*)fname ); */
+/* iobuf_ioctl (NULL, IOBUF_IOCTL_INVALIDATE_CACHE, 0, (char*)tmpfname ); */
+/* iobuf_ioctl (NULL, IOBUF_IOCTL_INVALIDATE_CACHE, 0, (char*)bakfname ); */
+/* iobuf_ioctl (NULL, IOBUF_IOCTL_INVALIDATE_CACHE, 0, (char*)fname ); */
/* First make a backup file except for secret keyboxes. */
if (!secret)