Changeset 5489:63efed810906
- Timestamp:
- 2008-08-23 15:21:42 (3 months ago)
- Author:
- Brendan Cully <brendan@…>
- Branch:
- HEAD
- Message:
-
Fix infinite loop with "mutt -", introduced in [31c9e9727d42].
Treats - as a non-option argument. It would be reasonable to treat it
as an error instead.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5487
|
r5489
|
|
| | 1 | 2008-08-19 16:44 -0400 Aron Griffis <agriffis@n01se.net> (31c9e9727d42) |
| | 2 | |
| | 3 | * main.c: Handle -- correctly with or without -a, closes #3097 |
| | 4 | |
| | 5 | Prefix optstring with "+" to force POSIX behavior on GNU getopt, and |
| | 6 | thereby prevent reordering argv. This allows us to correctly handle |
| | 7 | mixed addresses, attachments, options and the double-dash to signal |
| | 8 | end-of-options. |
| | 9 | |
| | 10 | Signed-off-by: Aron Griffis <agriffis@n01se.net> |
| | 11 | |
| | 12 | 2008-08-22 17:49 +0200 Rocco Rutte <pdmef@gmx.net> (6fd1fa2d98bc) |
| | 13 | |
| | 14 | * doc/manual.xml.head: Manual: fix/improve markup/content, see |
| | 15 | #3109 |
| | 16 | |
| 1 | 17 | 2008-08-21 10:42 +0200 Rocco Rutte <pdmef@gmx.net> (15d93fe50e62) |
| 2 | 18 | |
| 3 | 19 | * init.h: Clarify documentation for $config_charset. Closes #2021. |
| 4 | 20 | |
| 5 | | 2008-08-21 10:30 +0200 Rocco Rutte <pdmef@gmx.net> (bc8b07e9e95b) |
| 6 | | |
| 7 | | * ChangeLog, doc/manual.xml.head: Improve color/mono command synopsis. |
| | 21 | * doc/manual.xml.head: Improve color/mono command synopsis. |
| 8 | 22 | Closes #2630. |
| 9 | | |
| 10 | | 2008-08-21 09:36 +0200 Rocco Rutte <pdmef@gmx.net> (4139ac196ca8) |
| 11 | 23 | |
| 12 | 24 | * init.h: Better document the effect of $thorough_search being unset. |
| 13 | 25 | Closes #3104. |
| 14 | 26 | |
| 15 | | 2008-08-21 07:33 +0200 Rocco Rutte <pdmef@gmx.net> (9373afa9278f) |
| 16 | | |
| 17 | | * ChangeLog, mutt_ssl.c: Port certificate host checking from msmtp to |
| | 27 | * mutt_ssl.c: Port certificate host checking from msmtp to |
| 18 | 28 | mutt. It supports IDN, wildcards and extracting the hostname from |
| 19 | | subject alternative field as well as common name which should be the |
| 20 | | same gnutls supports. Closes #3087. |
| | 29 | subject alternative field as well as common name which should be |
| | 30 | the same gnutls supports. Closes #3087. |
| 21 | 31 | |
| 22 | 32 | 2008-08-19 13:17 -0700 Brendan Cully <brendan@kublai.com> (573d1aab3c89) |
| … |
… |
|
| 24 | 34 | * init.c: Silence an incorrect uninitialized variable warning. |
| 25 | 35 | |
| 26 | | 2008-08-19 13:14 -0700 Brendan Cully <brendan@kublai.com> (6b4f25cd9dac) |
| 27 | | |
| 28 | | * ChangeLog, init.h: Better documentation for how quote_regexp |
| 29 | | determines quote level. Closes #1463. |
| | 36 | * init.h: Better documentation for how quote_regexp determines |
| | 37 | quote level. Closes #1463. |
| 30 | 38 | |
| 31 | 39 | 2008-08-19 09:39 +0200 Rocco Rutte <pdmef@gmx.net> (3e850c6e43fd) |
-
|
r5488
|
r5489
|
|
| 583 | 583 | for (; optind < argc; optind++) |
| 584 | 584 | { |
| 585 | | if (argv[optind][0] == '-') |
| | 585 | if (argv[optind][0] == '-' && argv[optind][1] != '\0') |
| 586 | 586 | { |
| 587 | 587 | if (argv[optind][1] == '-' && argv[optind][2] == '\0') |