Minor fixes.
* NEWS, configure.ac: Raise version to 1.9.91 * mail/mailline.c (ml_getc): Fix indentation. * mailbox/mime.c (mu_mime_get_part): Return MU_ERR_NOENT if part is out of range.
Showing
5 changed files
with
27 additions
and
20 deletions
1 | 2008-07-19 Sergey Poznyakoff <gray@gnu.org.ua> | 1 | 2008-07-19 Sergey Poznyakoff <gray@gnu.org.ua> |
2 | 2 | ||
3 | Minor fixes. | ||
4 | |||
5 | * NEWS, configure.ac: Raise version to 1.9.91 | ||
6 | * mail/mailline.c (ml_getc): Fix indentation. | ||
7 | * mailbox/mime.c (mu_mime_get_part): Return MU_ERR_NOENT if part | ||
8 | is out of range. | ||
9 | |||
3 | Keep namespace clean | 10 | Keep namespace clean |
4 | 11 | ||
5 | * libsieve/comparator.c, libsieve/prog.c, libsieve/require.c, | 12 | * libsieve/comparator.c, libsieve/prog.c, libsieve/require.c, | ... | ... |
1 | GNU mailutils NEWS -- history of user-visible changes. 2008-03-02 | 1 | GNU mailutils NEWS -- history of user-visible changes. 2008-04-14 |
2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, | 2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, |
3 | 2008 Free Software Foundation, Inc. | 3 | 2008 Free Software Foundation, Inc. |
4 | See the end of file for copying conditions. | 4 | See the end of file for copying conditions. |
... | @@ -6,7 +6,7 @@ See the end of file for copying conditions. | ... | @@ -6,7 +6,7 @@ See the end of file for copying conditions. |
6 | Please send mailutils bug reports to <bug-mailutils@gnu.org>. | 6 | Please send mailutils bug reports to <bug-mailutils@gnu.org>. |
7 | 7 | ||
8 | 8 | ||
9 | Version 1.9.90: | 9 | Version 1.9.91: |
10 | 10 | ||
11 | * New configuration file format. | 11 | * New configuration file format. |
12 | 12 | ... | ... |
... | @@ -17,7 +17,7 @@ dnl You should have received a copy of the GNU General Public License along | ... | @@ -17,7 +17,7 @@ dnl You should have received a copy of the GNU General Public License along |
17 | dnl with GNU Mailutils; if not, write to the Free Software Foundation, | 17 | dnl with GNU Mailutils; if not, write to the Free Software Foundation, |
18 | dnl Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | dnl Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 | 19 | ||
20 | AC_INIT([GNU Mailutils], [1.9.90], [bug-mailutils@gnu.org], [mailutils]) | 20 | AC_INIT([GNU Mailutils], [1.9.91], [bug-mailutils@gnu.org], [mailutils]) |
21 | AC_CONFIG_SRCDIR([mailbox/mailbox.c]) | 21 | AC_CONFIG_SRCDIR([mailbox/mailbox.c]) |
22 | AC_CONFIG_AUX_DIR([scripts]) | 22 | AC_CONFIG_AUX_DIR([scripts]) |
23 | AM_INIT_AUTOMAKE | 23 | AM_INIT_AUTOMAKE | ... | ... |
... | @@ -69,22 +69,22 @@ ml_got_interrupt () | ... | @@ -69,22 +69,22 @@ ml_got_interrupt () |
69 | static int | 69 | static int |
70 | ml_getc (FILE *stream) | 70 | ml_getc (FILE *stream) |
71 | { | 71 | { |
72 | unsigned char c; | 72 | unsigned char c; |
73 | 73 | ||
74 | while (1) | 74 | while (1) |
75 | { | 75 | { |
76 | if (read (fileno (stream), &c, 1) == 1) | 76 | if (read (fileno (stream), &c, 1) == 1) |
77 | return c; | 77 | return c; |
78 | if (errno == EINTR) | 78 | if (errno == EINTR) |
79 | { | 79 | { |
80 | if (_interrupted) | 80 | if (_interrupted) |
81 | break; | 81 | break; |
82 | /* keep going if we handled the signal */ | 82 | /* keep going if we handled the signal */ |
83 | } | 83 | } |
84 | else | 84 | else |
85 | break; | 85 | break; |
86 | } | 86 | } |
87 | return EOF; | 87 | return EOF; |
88 | } | 88 | } |
89 | 89 | ||
90 | void | 90 | void | ... | ... |
... | @@ -903,7 +903,7 @@ mu_mime_get_part (mu_mime_t mime, size_t part, mu_message_t *msg) | ... | @@ -903,7 +903,7 @@ mu_mime_get_part (mu_mime_t mime, size_t part, mu_message_t *msg) |
903 | if ((ret = mu_mime_get_num_parts (mime, &nmtp_parts)) == 0) | 903 | if ((ret = mu_mime_get_num_parts (mime, &nmtp_parts)) == 0) |
904 | { | 904 | { |
905 | if (part < 1 || part > nmtp_parts) | 905 | if (part < 1 || part > nmtp_parts) |
906 | return EINVAL; | 906 | return MU_ERR_NOENT; |
907 | if (nmtp_parts == 1 && mime->mtp_parts == NULL) | 907 | if (nmtp_parts == 1 && mime->mtp_parts == NULL) |
908 | *msg = mime->msg; | 908 | *msg = mime->msg; |
909 | else | 909 | else | ... | ... |
-
Please register or sign in to post a comment