Bugfixes.
* mailbox/assoc.c (mu_assoc_count): Initialize count. * NEWS: Update.
Showing
2 changed files
with
54 additions
and
15 deletions
1 | GNU mailutils NEWS -- history of user-visible changes. 2009-08-20 | 1 | GNU mailutils NEWS -- history of user-visible changes. 2009-08-30 |
2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, | 2 | Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, |
3 | 2008, 2009 Free Software Foundation, Inc. | 3 | 2008, 2009 Free Software Foundation, Inc. |
4 | See the end of file for copying conditions. | 4 | See the end of file for copying conditions. |
... | @@ -16,7 +16,8 @@ All MU client utilities make use of the user ticket file, | ... | @@ -16,7 +16,8 @@ All MU client utilities make use of the user ticket file, |
16 | * Imap4d | 16 | * Imap4d |
17 | 17 | ||
18 | New configuration file entities allow to modify user's personal | 18 | New configuration file entities allow to modify user's personal |
19 | namespace and visible home directory. | 19 | namespace (the `personal-namespace' statement) and visible home |
20 | directory (the `homedir' statement). | ||
20 | 21 | ||
21 | * Movemail | 22 | * Movemail |
22 | 23 | ||
... | @@ -24,12 +25,12 @@ When called with the `--uidl' command line option, the utility tries | ... | @@ -24,12 +25,12 @@ When called with the `--uidl' command line option, the utility tries |
24 | to avoid copying the message if a message with the same UIDL already | 25 | to avoid copying the message if a message with the same UIDL already |
25 | exists in the destination mailbox. | 26 | exists in the destination mailbox. |
26 | 27 | ||
27 | The `--verbose' command line option enables outputting additional | 28 | The `--verbose' command line option enables additional informational |
28 | information. | 29 | output. |
29 | 30 | ||
30 | The `--owner' command line option (and the corresponding | 31 | The `--owner' command line option (and the corresponding |
31 | `mailbox-ownership' configuration file statement) copy mailbox | 32 | `mailbox-ownership' configuration file statement) instructs movemail |
32 | ownership, if the utility is run with root privileges. | 33 | to copy mailbox ownership, if the utility is run with root privileges. |
33 | 34 | ||
34 | 35 | ||
35 | 36 | ||
... | @@ -70,8 +71,8 @@ The st[ruct] command lists MIME structures of the message or messages, e.g.: | ... | @@ -70,8 +71,8 @@ The st[ruct] command lists MIME structures of the message or messages, e.g.: |
70 | 71 | ||
71 | Diagnostic messages issued while processing `source' command | 72 | Diagnostic messages issued while processing `source' command |
72 | include file locations, in compliance with the GNU standards. This | 73 | include file locations, in compliance with the GNU standards. This |
73 | also includes diagnostics issued during processing of the | 74 | also includes diagnostics issued while parsing the system or user |
74 | system or user configuration file. | 75 | configuration files. |
75 | 76 | ||
76 | ** envelope command | 77 | ** envelope command |
77 | 78 | ||
... | @@ -115,30 +116,68 @@ set an unknown variable and refuses to set read-only variables. | ... | @@ -115,30 +116,68 @@ set an unknown variable and refuses to set read-only variables. |
115 | If this variable is set, the `set' listing prints short | 116 | If this variable is set, the `set' listing prints short |
116 | descriptions before each variable. | 117 | descriptions before each variable. |
117 | 118 | ||
119 | * New interfaces | ||
120 | |||
121 | ** Pyhton interface | ||
122 | |||
123 | Mailutils now comes with the Python API. See examples/python/*, for | ||
124 | examples on how to use it. | ||
125 | |||
126 | ** C++ interface | ||
127 | |||
128 | The C++ API is built by default, if a c++ compiler is available. | ||
129 | |||
118 | * API | 130 | * API |
119 | 131 | ||
120 | * Wicket/Ticket functions | 132 | * Wicket/Ticket functions |
121 | 133 | ||
122 | [FIXME: Describe] | 134 | The wicket/ticket support is rewritten from scratch. |
135 | |||
136 | A `wicket' is an object that supplies authentication tickets. The | ||
137 | following user-level functions are available for manipulating | ||
138 | wickets: | ||
139 | |||
140 | - int mu_file_wicket_create (mu_wicket_t *pwicket, const char *filename); | ||
141 | |||
142 | Creates a wicket associated with the ticket file `filename' | ||
143 | |||
144 | - int mu_wicket_get_ticket (mu_wicket_t wicket, const char *user, | ||
145 | mu_ticket_t *pticket); | ||
146 | |||
147 | Obtains authentication ticket for the given user. | ||
148 | |||
149 | - void mu_wicket_destroy (mu_wicket_t *pwicket); | ||
150 | |||
151 | Destroys the wicket and releases any resources associated with it. | ||
152 | |||
153 | A `ticket' is used to obtain user authentication credentials: | ||
154 | |||
155 | - int mu_ticket_get_cred (mu_ticket_t ticket, | ||
156 | mu_url_t url, const char *challenge, | ||
157 | char **pplain, mu_secret_t *psec); | ||
158 | |||
159 | Obtain plaintext and secret credentials for the given URL and | ||
160 | (optional) authentication challenge. Usually, the plaintext credential | ||
161 | is a user name, and secret one is the corresponding password. | ||
123 | 162 | ||
124 | * New mailbox formats | 163 | * New mailbox formats |
125 | 164 | ||
126 | Three new append-only mailbox formats are introduced. The URL syntax of | 165 | Three new append-only mailbox formats are introduced. The URL syntax of |
127 | each of them is the same as that of the corresponding mailer. | 166 | each of them is the same as that of the corresponding mailer. |
128 | 167 | ||
129 | ** smtp | 168 | ** smtp |
130 | 169 | ||
131 | Send message using the `smtp' mailer. It is equivalent to | 170 | Send message using the `smtp' mailer. It is equivalent to |
132 | `remote+smtp', introduced in previous version. | 171 | `remote+smtp', introduced in previous version. |
133 | 172 | ||
134 | ** sendmail. | 173 | ** sendmail. |
135 | 174 | ||
136 | Send message using the `sendmail' mailer. It is equivalent to | 175 | Send message using the `sendmail' mailer. It is equivalent to |
137 | `remote+sendmail', introduced in previous version. | 176 | `remote+sendmail', introduced in previous version. |
138 | 177 | ||
139 | ** prog | 178 | ** prog |
140 | 179 | ||
141 | Send message using the `prog' mailer. It is equivalent to | 180 | Send message using the `prog' mailer. It is equivalent to |
142 | `remote+prog', introduced in previous version. | 181 | `remote+prog', introduced in previous version. |
143 | 182 | ||
144 | * Deprecated mailbox formats. | 183 | * Deprecated mailbox formats. |
... | @@ -160,7 +199,7 @@ correspondingly. | ... | @@ -160,7 +199,7 @@ correspondingly. |
160 | 199 | ||
161 | *** mu_message_save_to_mailbox: removed `ticket' argument. | 200 | *** mu_message_save_to_mailbox: removed `ticket' argument. |
162 | 201 | ||
163 | New prototype is: | 202 | The new prototype is: |
164 | 203 | ||
165 | int mu_message_save_to_mailbox (mu_message_t msg, | 204 | int mu_message_save_to_mailbox (mu_message_t msg, |
166 | mu_debug_t debug, | 205 | mu_debug_t debug, | ... | ... |
... | @@ -510,7 +510,7 @@ mu_assoc_count (mu_assoc_t assoc, size_t *pcount) | ... | @@ -510,7 +510,7 @@ mu_assoc_count (mu_assoc_t assoc, size_t *pcount) |
510 | { | 510 | { |
511 | mu_iterator_t itr; | 511 | mu_iterator_t itr; |
512 | int rc; | 512 | int rc; |
513 | size_t count; | 513 | size_t count = 0; |
514 | 514 | ||
515 | if (!assoc || !pcount) | 515 | if (!assoc || !pcount) |
516 | return EINVAL; | 516 | return EINVAL; | ... | ... |
-
Please register or sign in to post a comment