mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-12 21:58:50 +01:00
* g10.c (main): --no-use-embedded-filename.
* plaintext.c (handle_plaintext): Accept 'u' as a plaintext mode that requires end of line conversion. This is being considered for a UTF8 text packet. If this doesn't take place, no major harm done. If it does take place, we'll get a jump on starting the changeover.
This commit is contained in:
parent
0669127b7f
commit
7ac574aeea
@ -1,3 +1,13 @@
|
|||||||
|
2004-03-31 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* g10.c (main): --no-use-embedded-filename.
|
||||||
|
|
||||||
|
* plaintext.c (handle_plaintext): Accept 'u' as a plaintext mode
|
||||||
|
that requires end of line conversion. This is being considered
|
||||||
|
for a UTF8 text packet. If this doesn't take place, no major harm
|
||||||
|
done. If it does take place, we'll get a jump on starting the
|
||||||
|
changeover.
|
||||||
|
|
||||||
2004-03-29 Werner Koch <wk@gnupg.org>
|
2004-03-29 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* g10.c: New command --gpgconf-list.
|
* g10.c: New command --gpgconf-list.
|
||||||
|
@ -221,6 +221,7 @@ enum cmd_and_opt_values
|
|||||||
oShowPolicyURL,
|
oShowPolicyURL,
|
||||||
oNoShowPolicyURL,
|
oNoShowPolicyURL,
|
||||||
oUseEmbeddedFilename,
|
oUseEmbeddedFilename,
|
||||||
|
oNoUseEmbeddedFilename,
|
||||||
oComment,
|
oComment,
|
||||||
oDefaultComment,
|
oDefaultComment,
|
||||||
oThrowKeyid,
|
oThrowKeyid,
|
||||||
@ -573,6 +574,7 @@ static ARGPARSE_OPTS opts[] = {
|
|||||||
{ oLoggerFile, "logger-file",2, "@" },
|
{ oLoggerFile, "logger-file",2, "@" },
|
||||||
#endif /* __riscos__ */
|
#endif /* __riscos__ */
|
||||||
{ oUseEmbeddedFilename, "use-embedded-filename", 0, "@" },
|
{ oUseEmbeddedFilename, "use-embedded-filename", 0, "@" },
|
||||||
|
{ oNoUseEmbeddedFilename, "no-use-embedded-filename", 0, "@" },
|
||||||
{ oUtf8Strings, "utf8-strings", 0, "@" },
|
{ oUtf8Strings, "utf8-strings", 0, "@" },
|
||||||
{ oNoUtf8Strings, "no-utf8-strings", 0, "@" },
|
{ oNoUtf8Strings, "no-utf8-strings", 0, "@" },
|
||||||
{ oWithFingerprint, "with-fingerprint", 0, "@" },
|
{ oWithFingerprint, "with-fingerprint", 0, "@" },
|
||||||
@ -1753,6 +1755,7 @@ main( int argc, char **argv )
|
|||||||
case oShowPolicyURL: opt.show_policy_url=1; break;
|
case oShowPolicyURL: opt.show_policy_url=1; break;
|
||||||
case oNoShowPolicyURL: opt.show_policy_url=0; break;
|
case oNoShowPolicyURL: opt.show_policy_url=0; break;
|
||||||
case oUseEmbeddedFilename: opt.use_embedded_filename = 1; break;
|
case oUseEmbeddedFilename: opt.use_embedded_filename = 1; break;
|
||||||
|
case oNoUseEmbeddedFilename: opt.use_embedded_filename = 0; break;
|
||||||
case oComment: opt.comment_string = pargs.r.ret_str; break;
|
case oComment: opt.comment_string = pargs.r.ret_str; break;
|
||||||
case oDefaultComment: opt.comment_string = NULL; break;
|
case oDefaultComment: opt.comment_string = NULL; break;
|
||||||
case oThrowKeyid: opt.throw_keyid = 1; break;
|
case oThrowKeyid: opt.throw_keyid = 1; break;
|
||||||
|
@ -56,7 +56,7 @@ handle_plaintext( PKT_plaintext *pt, md_filter_context_t *mfx,
|
|||||||
static off_t count=0;
|
static off_t count=0;
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
int c;
|
int c;
|
||||||
int convert = pt->mode == 't';
|
int convert = (pt->mode == 't' || pt->mode == 'u');
|
||||||
|
|
||||||
/* create the filename as C string */
|
/* create the filename as C string */
|
||||||
if( nooutput )
|
if( nooutput )
|
||||||
|
Loading…
Reference in New Issue
Block a user