diff options
author | Moritz Schulte <[email protected]> | 2007-01-06 23:03:45 +0000 |
---|---|---|
committer | Moritz Schulte <[email protected]> | 2007-01-06 23:03:45 +0000 |
commit | 823a8510fe53dd6890fa2a58ca6c4306c843ac86 (patch) | |
tree | 46bad8bdd0065ea74206799ab9f55f5de148cb06 | |
parent | 2007-01-02 Moritz Schulte <[email protected]> (diff) | |
download | gnupg-823a8510fe53dd6890fa2a58ca6c4306c843ac86.tar.gz gnupg-823a8510fe53dd6890fa2a58ca6c4306c843ac86.zip |
Added just a single comment.gnupg-2.0.0
-rw-r--r-- | common/estream.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/estream.c b/common/estream.c index e056cb7b4..4157058c6 100644 --- a/common/estream.c +++ b/common/estream.c @@ -1649,7 +1649,11 @@ doreadline (estream_t ES__RESTRICT stream, size_t max_length, } -/* 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) |