Missing newline before status line

Daiki Ueno ueno at unixuser.org
Tue Mar 28 03:37:43 CEST 2006


Hello,

I found a small oddity of --status-fd output when --command-fd is
specified.

$ touch test.txt test.txt.gpg
$ gpg --status-fd 1 --command-fd 0 --symmetric test.txt
[GNUPG:] NEED_PASSPHRASE_SYM 3 3 2
[GNUPG:] GET_HIDDEN passphrase.enter
test
[GNUPG:] GOT_IT
File `test.txt.gpg' exists. [GNUPG:] GET_BOOL openfile.overwrite.okay
y

"[GNUPG:]" should appear as the prefix of the line.

The attached patch will fix this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: openfile.c.diff
Type: application/octet-stream
Size: 425 bytes
Desc: not available
Url : /pipermail/attachments/20060328/6558fc34/openfile.c.obj
-------------- next part --------------

Regards,
-- 
Daiki Ueno


More information about the Gnupg-devel mailing list