Mercurial > emacs
annotate oldXMenu/XDestAssoc.c @ 110428:6060b86fc551
Merge changes made in Gnus trunk.
nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the nntp buffer so the agent can save it.
nnimap.el (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so that CRLF doesn't get translated to \n; (nnimap-open-connection): Don't make 'shell commands only send \n.
nnimap.el (nnimap-request-group): Don't make `M-g' bug out on group with no marks.
gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file doesn't exist.
nnimap.el (nnimap-finish-retrieve-group-infos): Protect against groups that have no articles.
nnimap.el (nnimap-request-article): Check that we really got an article when we requested one.
gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors from url-retrieve, for instance about invalid URLs.
gnus-agent.el: Change default of gnus-agent-auto-agentize-methods to nil.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Sun, 19 Sep 2010 10:45:51 +0000 |
parents | 5cc91198ffb2 |
children | ef719132ddfa |
rev | line source |
---|---|
25858 | 1 /* Copyright Massachusetts Institute of Technology 1985 */ |
2 | |
76133
995b45abe69d
Remove license text in favour of including copyright.h, as was done in
Glenn Morris <rgm@gnu.org>
parents:
75348
diff
changeset
|
3 #include "copyright.h" |
995b45abe69d
Remove license text in favour of including copyright.h, as was done in
Glenn Morris <rgm@gnu.org>
parents:
75348
diff
changeset
|
4 |
25858 | 5 |
6 #include <X11/Xlib.h> | |
7 #include "X10.h" | |
8 | |
9 /* | |
10 * XDestroyAssocTable - Destroy (free the memory associated with) | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
25858
diff
changeset
|
11 * an XAssocTable. |
25858 | 12 */ |
109124
5cc91198ffb2
Convert function definitions in oldXMenu to standard C.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
76174
diff
changeset
|
13 XDestroyAssocTable(register XAssocTable *table) |
25858 | 14 { |
15 register int i; | |
16 register XAssoc *bucket; | |
17 register XAssoc *Entry, *entry_next; | |
18 | |
19 /* Free the buckets. */ | |
20 for (i = 0; i < table->size; i++) { | |
21 bucket = &table->buckets[i]; | |
22 for ( | |
23 Entry = bucket->next; | |
24 Entry != bucket; | |
25 Entry = entry_next | |
26 ) { | |
27 entry_next = Entry->next; | |
28 free((char *)Entry); | |
29 } | |
30 } | |
31 | |
32 /* Free the bucket array. */ | |
33 free((char *)table->buckets); | |
34 | |
35 /* Free the table. */ | |
36 free((char *)table); | |
37 } | |
38 | |
52401 | 39 /* arch-tag: a536bf02-8d63-45f2-8c1a-c7f9fd4da2cf |
40 (do not change this comment) */ |