ALT Linux Bugzilla
– Attachment 1705 Details for
Bug 10413
gpg --list-keys --with-colons - проблемы с кодировкой вывода
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч ремонтирующий вывод списка ключей в режиме --with-colons
gnupg-1.4.6-with-colons-utf8.patch (text/plain), 926 bytes, created by
Serge Polkovnikov
on 2006-12-13 17:27:32 MSK
(
hide
)
Description:
Патч ремонтирующий вывод списка ключей в режиме --with-colons
Filename:
MIME Type:
Creator:
Serge Polkovnikov
Created:
2006-12-13 17:27:32 MSK
Size:
926 bytes
patch
obsolete
>diff -urN gnupg-1.4.6.orig/g10/keylist.c gnupg-1.4.6/g10/keylist.c >--- gnupg-1.4.6.orig/g10/keylist.c 2006-12-06 23:49:28 +0200 >+++ gnupg-1.4.6/g10/keylist.c 2006-12-13 15:56:32 +0200 >@@ -1154,7 +1154,8 @@ > if(uid->attrib_data) > printf("%u %lu",uid->numattribs,uid->attrib_len); > else >- print_string(stdout,uid->name,uid->len, ':' ); >+// print_string(stdout,uid->name,uid->len, ':' ); >+ print_utf8_string(stdout,uid->name,uid->len); > putchar(':'); > if (any) > putchar('\n'); >@@ -1352,7 +1353,8 @@ > else if ( !opt.fast_list_mode ) { > size_t n; > char *p = get_user_id( sig->keyid, &n ); >- print_string( stdout, p, n, ':' ); >+// print_string( stdout, p, n, ':' ); >+ print_utf8_string( stdout, p, n ); > xfree(p); > } > printf(":%02x%c:", sig->sig_class,sig->flags.exportable?'x':'l');
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10413
: 1705