* rungpg.c (build_argv): Use --no-comment, not --comment "".
2004-02-01 Marcus Brinkmann <marcus@g10code.de>
+ * rungpg.c (build_argv): Use --no-comment, not --comment "".
+
* data-compat.c (gpgme_data_new_from_filepart): Call fseeko if
available.
* data-stream.c (stream_seek): Likewise.
argc++;
if (!gpg->cmd.used)
argc++; /* --batch */
- argc += 2; /* --comment */
+ argc += 1; /* --no-comment */
argv = calloc (argc + 1, sizeof *argv);
if (!argv)
}
argc++;
}
- argv[argc] = strdup ("--comment");
- if (!argv[argc])
- {
- int saved_errno = errno;
- free (fd_data_map);
- free_argv (argv);
- return gpg_error_from_errno (saved_errno);
- }
- argc++;
- argv[argc] = strdup ("");
+ argv[argc] = strdup ("--no-comment");
if (!argv[argc])
{
int saved_errno = errno;