Reworked the estream memory buffer allocation.
[gnupg.git] / common / ChangeLog
index 5066961..bd4be4f 100644 (file)
@@ -1,3 +1,29 @@
+2009-06-29  Werner Koch  <wk@g10code.com>
+
+       * estream.c (BUFFER_ROUND_TO_BLOCK): Remove unused macro.
+       (es_func_mem_write): Rewrite reallocation part.
+
+       * estream.c (es_write_sanitized_utf8_buffer): Typo typo fix.
+
+2009-06-25  Werner Koch  <wk@g10code.com>
+
+       * estream.c (es_write_sanitized_utf8_buffer): Typo fix.
+
+2009-06-24  Werner Koch  <wk@g10code.com>
+
+       * estream.c (es_read_line): In the malloc error case, set
+       MAX_LENGTH to 0 only if requested.
+       * xreadline.c (read_line): Ditto.
+       * estream.c (es_write_sanitized_utf8_buffer): Pass on error from
+       es_fputs.
+       * sexputil.c (get_rsa_pk_from_canon_sexp): Check for error after
+       the loop.  Reported by Fabian Keil.
+
+2009-06-22  Werner Koch  <wk@g10code.com>
+
+       * estream.c (es_pth_read, es_pth_write) [W32]: New.
+       (ESTREAM_SYS_READ, ESTREAM_SYS_WRITE) [HAVE_PTH]: Use them.
+
 2009-06-03  Werner Koch  <wk@g10code.com>
 
        * estream.c (es_convert_mode): Rewrite and support the "x" flag.