+2008-05-09 Werner Koch <wk@g10code.com>
+
+ * engine-gpgconf.c (gpgconf_read): Do not pass empty lines to the
+ callback.
+
2008-05-07 Werner Koch <wk@g10code.com>
* engine-gpgconf.c (gpgconf_write): Change argv[0] to a
mark--;
*mark = '\0';
- /* Got a full line. */
- err = (*cb) (hook, line);
+ /* Got a full line. Due to the CR removal code (which
+ occurs only on Windows) we might be one-off and thus
+ would see empty lines. Don't pass them to the
+ callback. */
+ err = *line? (*cb) (hook, line) : NULL;
if (err)
goto leave;
}
AM_PATH_GPGME macro) check that this header matches the installed
library. Warning: Do not edit the next line. configure will do
that for you! */
-#define GPGME_VERSION "1.1.7-svn1311"
+#define GPGME_VERSION "1.1.7-svn1312"
\f