diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2006-11-27 22:37:42 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2006-11-27 22:37:42 +0000 |
commit | 36515a4465046971ad0541b5b052039dd2b43ad1 (patch) | |
tree | 5eb6c9fa5609541557ca8039de86e6a208e91e20 /security/gnupg1/files | |
parent | 196be3803f6275544e6e69c80c888fd71f207720 (diff) | |
download | ports-36515a4465046971ad0541b5b052039dd2b43ad1.tar.gz ports-36515a4465046971ad0541b5b052039dd2b43ad1.zip |
Notes
Diffstat (limited to 'security/gnupg1/files')
-rw-r--r-- | security/gnupg1/files/patch-openfile.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/security/gnupg1/files/patch-openfile.c b/security/gnupg1/files/patch-openfile.c new file mode 100644 index 000000000000..833b06cdafbf --- /dev/null +++ b/security/gnupg1/files/patch-openfile.c @@ -0,0 +1,12 @@ +--- g10/openfile.c.orig Tue Nov 28 07:13:53 2006 ++++ g10/openfile.c Tue Nov 28 07:18:30 2006 +@@ -144,8 +144,8 @@ + + s = _("Enter new filename"); + +- n = strlen(s) + namelen + 10; + defname = name && namelen? make_printable_string( name, namelen, 0): NULL; ++ n = strlen(s) + (defname?strlen (defname):0) + 10; + prompt = xmalloc(n); + if( defname ) + sprintf(prompt, "%s [%s]: ", s, defname ); |