]>
Commit | Line | Data |
---|---|---|
a51752b6 UD |
1 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
2 | ||
5d3fd1f6 UD |
3 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
4 | ||
08cfb839 UD |
5 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
6 | ||
4b481a15 UD |
7 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
8 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
9 | ||
10 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
11 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
12 | ||
13 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
14 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
15 | xdr_cback_data. | |
16 | ||
17 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
18 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
19 | xdr_ypupdate_args. | |
20 | ||
21 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
22 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
23 | ||
24 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
25 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
26 | ||
27 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
28 | * include/rpcsvc/nis_callback.h: New file. | |
29 | ||
30 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
31 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
32 | ||
33 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
34 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
35 | ||
36 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
37 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
38 | ||
39 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
40 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
41 | ||
b1ad49c6 UD |
42 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
43 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
44 | xdr_ypdelete_args. | |
45 | ||
cd5f7829 UD |
46 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
47 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
48 | ||
a51752b6 UD |
49 | * nis/nis_error.c: Remove table of strings. Use position |
50 | independent mechanism. | |
51 | * nis/nis_error.h: New file. | |
52 | ||
3d237e42 UD |
53 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
54 | ||
55 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
56 | format aren't provided, set both wname and wformat to L"". | |
57 | ||
d6c159fe UD |
58 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
59 | ||
0088b04e UD |
60 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
61 | results if the call was succesful. | |
62 | ||
d6c159fe UD |
63 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
64 | ||
65 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
66 | as hidden. | |
67 | ||
5c5acdf0 UD |
68 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
69 | ||
70 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
71 | ||
16d620db UD |
72 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
73 | ||
74 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
75 | caller makes sure this is not the case. | |
76 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
77 | ||
e7c8359e UD |
78 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
79 | ||
ecf359c6 UD |
80 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
81 | calls. | |
82 | ||
400cc70a UD |
83 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
84 | [Coverity CID 229, 230] | |
85 | ||
86 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
87 | DGETTEXT calls. | |
88 | (hol_help): Likewise. [Coverity CID 226, 227] | |
89 | ||
90 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
91 | free on SRC. [Coverity CID 225] | |
92 | ||
93 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
94 | the return value of __nis_default_owner and __nis_default_group, | |
95 | it has been especially allocated. [Coverity CID 224] | |
96 | ||
51e59260 UD |
97 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
98 | searchgroup and searchowner. Significantly simplified. | |
99 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
100 | string before duplicating it. | |
101 | (__nis_default_group): Likewise. | |
102 | ||
103 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
104 | we must clear the variable before calling __nisfind_server. | |
105 | ||
106 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
107 | nis_getnames. [Coverity CID 223] | |
108 | ||
109 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
110 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
111 | ||
112 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
113 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
114 | ||
e7c8359e | 115 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 116 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
117 | |
118 | * posix/getconf.c (print_all): Free confstr data after printing. | |
119 | [Coverity CID 218] | |
120 | ||
121 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
122 | list allocation fails. [Coverity CID 215] | |
123 | ||
124 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
125 | [Coverity CID 213] | |
126 | ||
127 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
128 | string is NULL. [Coverity CID 212] | |
129 | * argp/Makefile: Add rules to build and run bug-argp1. | |
130 | * argp/bug-argp1.c: New file. | |
131 | ||
132 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
133 | end of string. | |
134 | * stdlib/canonicalize.c (__realpath): Likewise. | |
135 | ||
136 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
137 | pointer. [Coverity CID 206] | |
138 | ||
139 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
140 | in statically linked code. | |
141 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
142 | statically built code, be prepared to have no link map. | |
143 | [Coverity CID 205] | |
144 | ||
145 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
146 | dgettext calls. [Coverity CID 204] | |
147 | ||
148 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
149 | the one user. | |
150 | (uparam_names): Reduce size. Avoid relative relocations. | |
151 | Moved to read-only segment. | |
152 | (fill_in_uparams): Update for new layout. | |
153 | ||
154 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
155 | assumed to always be != NULL. [Coverity CID 202] | |
156 | ||
157 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
158 | [Coverity CID 200]. | |
159 | ||
160 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
161 | away a few more unconditional yperr2nss calls. | |
162 | (_nss_nis_getservbyname_r): Likewise. | |
163 | ||
acf82eaf UD |
164 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
165 | ||
4461cf48 UD |
166 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
167 | architectures. | |
168 | ||
b74a8c7f UD |
169 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
170 | that unused memory passed to sendto is nevertheless initialized. | |
171 | ||
acb98cb5 UD |
172 | [BZ #2499] |
173 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
174 | possibly unaligned memory accesses. | |
175 | ||
bce16467 UD |
176 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
177 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
178 | and __putlong respectively. Correct buffer overflow check for | |
179 | NS_NOTIFY_OP. | |
180 | ||
181 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
182 | ||
8e45b1ac UD |
183 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
184 | (send_dg): Rewrite error handling to be more compact and avoid | |
185 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
186 | ||
697e1628 UD |
187 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
188 | ||
189 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
190 | instead of ns_get16. | |
191 | (res_queriesmatch): Likewise. Minor optimization. | |
192 | ||
acf82eaf UD |
193 | [BZ #2499] |
194 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
195 | __libc_res_nsend might reallocate the buffer for the answer. In | |
196 | this case we have to reload the HP pointer. | |
197 | ||
7bfee654 UD |
198 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
199 | ||
694b49ca UD |
200 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
201 | some branch prediction hints. | |
202 | ||
7bfee654 UD |
203 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
204 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
205 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
206 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
207 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
208 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
209 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
210 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
211 | ||
308bb2d5 UD |
212 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
213 | ||
214 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
215 | by a GOT relocation to make Scrt1.o position independent. | |
216 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
217 | ||
218 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
219 | six system call parameters. | |
220 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
221 | ||
cdb9c321 UD |
222 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
223 | ||
224 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
225 | malloc&bzero. | |
226 | ||
227 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
228 | (CALLOC): Define. | |
229 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
230 | ||
231 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
232 | (des_SPtrans): Use uint32_t type. | |
233 | (des_skb): Likewise. | |
234 | ||
235 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
236 | ||
fff04b32 UD |
237 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
238 | ||
239 | [BZ #2509] | |
240 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
241 | on 32-bit arches. | |
242 | ||
243 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
244 | ||
245 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 246 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 247 | |
077a30bc | 248 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 249 | |
f2d5cf50 UD |
250 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
251 | filling it for the first time. | |
252 | ||
3e4370cf UD |
253 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
254 | Adjust all callers. | |
255 | Free res object content before returning. | |
256 | ||
5e65a53d UD |
257 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
258 | ||
48be3114 UD |
259 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
260 | client->cl_auth. | |
261 | ||
ca4fce0e UD |
262 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
263 | cleanup for initial thread, just the free call on TVP. | |
264 | ||
077a30bc | 265 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 266 | |
5d37289a | 267 | |
3f87d901 | 268 | See ChangeLog.16 for earlier changes. |