[svn] GnuPG - r4398 - tags/gnupg-2.0.0/common
svn author mo
cvs at cvs.gnupg.org
Sun Jan 7 00:03:45 CET 2007
Author: mo
Date: 2007-01-07 00:03:45 +0100 (Sun, 07 Jan 2007)
New Revision: 4398
Modified:
tags/gnupg-2.0.0/common/estream.c
Log:
Added just a single comment.
Modified: tags/gnupg-2.0.0/common/estream.c
===================================================================
--- tags/gnupg-2.0.0/common/estream.c 2007-01-06 01:20:11 UTC (rev 4397)
+++ tags/gnupg-2.0.0/common/estream.c 2007-01-06 23:03:45 UTC (rev 4398)
@@ -1649,7 +1649,11 @@
}
-/* Helper for esprint. */
+/* Helper for es_print. This allows for an optimization for formatted
+ output on estreams: no tempfile is required; instead the formatted
+ output is sent to a special fopencookie/funopen (system) stream,
+ which then passes the data to this writer function, which then
+ writes the data to the original estream. */
#if defined(HAVE_FOPENCOOKIE) || defined(HAVE_FUNOPEN)
static int
print_fun_writer (void *cookie_arg, const char *buffer, size_t size)
More information about the Gnupg-commits
mailing list