]>
Commit | Line | Data |
---|---|---|
871b9158 UD |
1 | 2006-07-10 Ulrich Drepper <drepper@redhat.com> |
2 | ||
3 | * elf/dl-lookup.c (dl_new_hash): New functions. | |
4 | (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute | |
5 | value here. Compute new-style hash value. Pass new hash value | |
6 | and reference to variable with the old value to do_lookup_x. | |
7 | (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not | |
8 | old-style hash table. | |
9 | (_dl_debug_bindings): Pass new hash value and reference to variable | |
10 | with the old value to do_lookup_x. | |
11 | * elf/do-lookup.h (do_lookup_x): Accept additional parameter with | |
12 | new-style hash value and change old-style hash value parameter to | |
13 | be a reference. Reoganize functions to determine whether | |
14 | new-style hash table is available. Only fall back on old-style | |
15 | table. If old-style hash value is needed, compute it here. | |
16 | * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH | |
17 | entry. | |
18 | * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, | |
19 | DT_TLSDEC_GOT. Adjust DT_ADDRNUM. | |
20 | * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, | |
21 | l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. | |
22 | * Makeconfig: If linker supports --hash-style option add it to all | |
23 | linker command lines to build DSOs. | |
24 | * config.make.in: Define have-hash-style. | |
25 | * configure.in: Test whether linker supports --hash-style option. | |
26 | ||
27 | * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. | |
28 | * sysdeps/generic/ldsodefs.h: Adjust prototype. | |
29 | ||
a1f0de82 UD |
30 | 2006-06-27 Ulrich Drepper <drepper@redhat.com> |
31 | ||
361a3706 UD |
32 | * elf/dl-load.c (open_path): Fix test to determine whether DSO is |
33 | auditing. | |
34 | ||
a1f0de82 UD |
35 | * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at |
36 | RPATH of main map twice. | |
37 | ||
4259230f UD |
38 | 2006-06-22 Ulrich Drepper <drepper@redhat.com> |
39 | ||
40 | * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't | |
41 | look further, return original strings. | |
42 | (_nl_find_msg): Do not return found translation if the conversion | |
43 | failed. Either signal the string is unusable or that something went | |
44 | wrong and the original should be used. | |
45 | ||
46 | 2006-06-21 Ulrich Drepper <drepper@redhat.com> | |
47 | ||
48 | * string/_strerror.c (__strerror_r): Add __builtin_expect. | |
49 | ||
f9b7a98b UD |
50 | 2006-06-14 Jakub Jelinek <jakub@redhat.com> |
51 | ||
52 | [BZ #2766] | |
53 | * misc/insremque.c (insque): Handle prev == NULL. | |
54 | * misc/Makefile (tests): Add tst-insremque. | |
55 | * misc/tst-insremque.c: New test. | |
56 | ||
ac55a25b UD |
57 | 2006-06-17 Ulrich Drepper <drepper@redhat.com> |
58 | ||
59 | [BZ #2792] | |
60 | * elf/dl-deps.c (expand_dst): Rename __cnt variable to not | |
61 | conflict with DL_DST_REQUIRED. | |
62 | ||
02f366b3 UD |
63 | 2006-06-16 Ulrich Drepper <drepper@redhat.com> |
64 | ||
65 | * nis/nis_subr.c (nis_getnames): Fix the implementation to better | |
66 | match what Solaris does. | |
67 | ||
9009e8f8 UD |
68 | 2006-06-04 Ulrich Drepper <drepper@redhat.com> |
69 | ||
1b8373f4 UD |
70 | * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and |
71 | local_setegid instead of seteuid and setegid. | |
72 | * sysdeps/generic/local-setxid.h: New file. | |
73 | * sysdeps/unix/sysv/linux/local-setxid.h: New file. | |
74 | ||
7231452e UD |
75 | * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. |
76 | ||
9009e8f8 | 77 | * string/Makefile (tests): Add bug-envz1. |
02f366b3 | 78 | * string/bug-envz1.c: New file. |
9009e8f8 | 79 | |
33e63e79 UD |
80 | 2006-06-02 Jakub Jelinek <jakub@redhat.com> |
81 | ||
82 | * posix/regex_internal.c (re_string_skip_chars): If no character has | |
83 | been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc | |
84 | to the byte which couldn't be converted. | |
85 | (re_string_reconstruct): Don't clear valid_raw_len before calling | |
86 | re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set | |
87 | tip_context using re_string_context_at. | |
88 | * posix/Makefile: Add rules to build and run bug-regex25 test. | |
89 | * posix/bug-regex25.c: New test. | |
90 | ||
fdc02996 UD |
91 | 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> |
92 | ||
93 | [BZ #2703] | |
94 | * string/envz.c (envz_strip): Correct erroneously reversed src | |
95 | and dest parameters to memmove() invocation. | |
96 | ||
902c4291 UD |
97 | 2006-05-30 Jakub Jelinek <jakub@redhat.com> |
98 | ||
99 | * nscd/nscd.h (prune_cache): Add fd argument to prototype. | |
100 | * nscd/nscd.c (parse_opt): Read response from INVALIDATE request | |
101 | to make sure the database has been already invalidated. | |
102 | * nscd/cache.c (prune_cache): Add fd argument. Write response to fd | |
103 | after the cache has been invalidated. Use pthread_mutex_lock rather | |
104 | than pthread_mutex_trylock if fd != -1. | |
105 | * nscd/connections.c (invalidate_cache): Add fd argument, write | |
106 | response to fd if not calling prune_cache, pass fd to prune_cache. | |
107 | (handle_request): Adjust invalidate_cache caller. | |
108 | (nscd_run): Pass -1 as fd to prune_cache. | |
109 | ||
ecc68568 UD |
110 | 2006-05-30 Ulrich Drepper <drepper@redhat.com> |
111 | ||
112 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in | |
113 | the correct place. | |
114 | ||
9636a217 UD |
115 | 2006-05-29 Ulrich Drepper <drepper@redhat.com> |
116 | ||
117 | * nscd/nscd.h (struct database_dyn): Add prunelock field. | |
118 | * nscd/cache.c (prune_cache): Take prunelock before starting the | |
119 | work. Just return in case it is already taken. | |
cabfcde1 | 120 | * nscd/connections.c (dbs): Initialize .prunelock. |
9636a217 | 121 | |
6bcb494a UD |
122 | 2006-05-25 Ulrich Drepper <drepper@redhat.com> |
123 | ||
672d5a63 | 124 | * nis/nis_removemember.c (nis_removemember): Avoid unnecessary |
ecc68568 | 125 | copying. No need to allocate new array for group members. Just |
672d5a63 UD |
126 | move the pointers and update the size. |
127 | ||
1663b44f UD |
128 | * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. |
129 | Avoid memory leak in case realloc fails. Simplification for | |
130 | better code generation. | |
131 | ||
132 | Avoid deprecation warning because of libc_hidden_proto for | |
133 | inet6_option_alloc. | |
134 | * inet/inet6_option.c (option_alloc): Renamed from | |
135 | inet6_option_alloc. Made static. | |
9636a217 | 136 | (inet6_option_alloc): Now a simple wrapper around option_alloc. |
1663b44f UD |
137 | (inet6_option_append): Call option_alloc. |
138 | * include/netinet/in.h: Remove libc_hidden_proto for | |
139 | inet6_option_alloc. | |
140 | ||
6bcb494a UD |
141 | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free |
142 | for cleanup when cb!=NULL [Coverity CID 233]. | |
143 | ||
aec6b246 UD |
144 | 2006-05-24 Ulrich Drepper <drepper@redhat.com> |
145 | ||
07bfff20 UD |
146 | [BZ #2693] |
147 | * inet/Makefile (routines): Add inet6_opt and inet6_rth. | |
148 | * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, | |
149 | inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, | |
150 | inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, | |
151 | inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, | |
152 | and inet6_rth_getaddr. | |
153 | * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible | |
154 | array. | |
155 | * inet/netinet/in.h (struct ip6_mtuinfo): Define. | |
156 | Mark inet6_option_* interfaces as deprecated. | |
157 | Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, | |
158 | inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, | |
159 | inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, | |
160 | inet6_rth_segments, and inet6_rth_getaddr. | |
161 | * inet/inet6_opt.c: New file. | |
162 | * inet/inet6_rth.c: New file. | |
163 | ||
164 | * inet/netinet/icmp6.h: Pretty printing. | |
165 | ||
aec6b246 UD |
166 | [BZ #2683] |
167 | * elf/dl-addr.c (_dl_addr): Don't match undefined references. | |
168 | ||
2d571cd1 UD |
169 | 2006-05-23 Ulrich Drepper <drepper@redhat.com> |
170 | ||
062e719b UD |
171 | * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of |
172 | doing it all here. When server does not know the answer do not | |
173 | fail immediate, try parent first. | |
174 | ||
2d571cd1 UD |
175 | * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer |
176 | overflow test. | |
177 | ||
a17fa610 UD |
178 | 2006-05-20 Ulrich Drepper <drepper@redhat.com> |
179 | ||
180 | * nis/nis_call.c (__prepare_niscall): New function. Split out | |
181 | from __do_niscall. | |
182 | * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request | |
183 | and exported. | |
184 | (__follow_path): New function. Split out from nis_list. | |
185 | * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and | |
186 | _xdr_nis_result. | |
187 | * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and | |
188 | _xdr_nis_result. | |
189 | * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, | |
190 | and __follow_path. | |
191 | * nis/Versions: Export __prepare_niscall, __create_ib_request, | |
192 | __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result | |
193 | from libnsl for version GLIBC_PRIVATE. | |
194 | * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. | |
195 | Remove entry parameter from _nss_nisplus_parse_pwent and | |
196 | _nss_nisplus_parse_grent. | |
197 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
198 | * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ | |
199 | again. Rewrite getpwent handling to not use nis_first_entry and | |
200 | nis_next_entry. Roll out own niscall handling. | |
201 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
202 | ||
203 | * sunrpc/xdr_rec.c: Fix typo in comment. | |
204 | ||
429bb183 UD |
205 | 2006-05-19 Ulrich Drepper <drepper@redhat.com> |
206 | ||
1d4f062a UD |
207 | * nis/nis_call.c (__do_niscall3): Avoid code duplication in error |
208 | handling. | |
209 | ||
101cc598 UD |
210 | * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc |
211 | to allocate memory for my_pollfd. Better initialization of | |
212 | cb_is_running. Use TEMP_FAILURE_RETRY. | |
213 | ||
f50fa10c UD |
214 | * malloc/memusage.sh (memusageso): Add quotes. |
215 | (memusagestat): Likewise. | |
216 | * debug/xtrace.sh (pcprofileso): Likewise. | |
217 | (pcprofiledump): Likewise. | |
218 | * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR | |
219 | replacement. | |
220 | * malloc/Makefile ($(objpfx)memusage): Likewise. | |
221 | ||
882bfe73 UD |
222 | * nis/nis_callback.c (__nis_create_callback): Calls to |
223 | svcudp_bufcreate and svctcp_create can fail. Free ->xprt if | |
224 | asprintf call fails. | |
225 | ||
429bb183 UD |
226 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure |
227 | no uninitialized memory is passed to sendto. | |
228 | ||
f90de831 UD |
229 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> |
230 | ||
231 | * nis/nis_callback.c (__nis_create_callback): Use asprinf instead | |
232 | of snprintf+strdup. Handle OOM. | |
233 | * nis/nis_callback.c (__nis_create_callback): Allocate cb and | |
234 | cb->serv together. Remove now obsolete free calls. | |
235 | (__nis_destroy_callback): Remove now obsolete free call. | |
236 | ||
a17fa610 | 237 | 2006-05-18 David Woodhouse <dwmw2@redhat.com> |
6e2a7825 UD |
238 | |
239 | * sysdeps/posix/getaddrinfo.c: Add unique labels to the default | |
240 | RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local | |
241 | and ULA respectively). Set precedence for IPv4 address to 10 as | |
242 | defined in RFC3484 for preferring IPv6. | |
243 | * posix/gai.conf: Update to match the new default tables. | |
244 | ||
758b9d7e UD |
245 | 2006-05-18 Jakub Jelinek <jakub@redhat.com> |
246 | ||
247 | * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent | |
248 | returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. | |
249 | * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. | |
250 | * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. | |
251 | ||
252 | * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): | |
253 | Removed. | |
254 | (init_nss_interface): Remove initialization of these variables. | |
255 | ||
256 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> | |
257 | ||
258 | * nis/nis_call.c (rec_dirsearch): Little optimization: pull | |
259 | nis_free_directory forward to avoid duplication. | |
260 | ||
388c779e UD |
261 | 2006-05-17 Ulrich Drepper <drepper@redhat.com> |
262 | ||
5f1724bf UD |
263 | * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and |
264 | rec_dirsearch returning NULL. | |
265 | (first_shoot): Handle __nis_finddirectory returning NULL. | |
266 | (__nisfind_server): Fix leak when rec_dirsearch returns NULL. | |
267 | ||
388c779e UD |
268 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, |
269 | IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. | |
270 | ||
360d5cf4 UD |
271 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
272 | ||
273 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if | |
274 | pid changed. | |
275 | ||
88dbff8c UD |
276 | 2006-05-15 Ulrich Drepper <drepper@redhat.com> |
277 | ||
6f8a7dff UD |
278 | * include/rpc/pmap_prot.h: Mark all functions as hidden. |
279 | ||
280 | * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. | |
281 | * nscd/nscd_getgr_r.c: Likewise. | |
282 | ||
283 | * include/rpc/pmap_rmt.h: Mark all functions as hidden. | |
284 | ||
285 | * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. | |
286 | * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. | |
287 | ||
288 | * stdlib/longlong.h (__clz_tab): Mark as hidden. | |
289 | ||
290 | * iconv/gconv_int.h: Mark __gconv_lock as hidden. | |
291 | ||
360d5cf4 | 292 | * include/rpc/key_prot.h: Mark all _internal functions as hidden. |
8263ed62 UD |
293 | |
294 | * include/rpc/auth.h: Mark xdr_des_block_internal and | |
295 | xdr_opaque_auth_internal as hidden. | |
296 | ||
297 | * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as | |
298 | hidden. | |
299 | ||
360d5cf4 | 300 | * include/rpc/xdr.h: Mark all _internal functions as hidden. |
8263ed62 | 301 | |
02264020 UD |
302 | * misc/getusershell.c (okshells): Don't use static initializers, |
303 | do it dynamically. | |
304 | ||
fd5ea238 UD |
305 | * stdlib/fmtmsg.c (keywords): Change type of len element to |
306 | uint32_t to not waste space on 64bit machines. | |
307 | ||
9446614c UD |
308 | * locale/setlocale.c: Change _nl_category_names into a string. |
309 | Add new _nl_category_name_idxs. Change all users. | |
310 | * locale/localeinfo.h: Adjust declaration of _nl_category_names. | |
311 | Declare _nl_category_name_idxs. | |
312 | * locale/findlocale.c: Adjust for _nl_category_names change. | |
313 | * locale/loadlocale.c: Likewise. | |
314 | * locale/newlocale.c: Likewise. | |
315 | * intl/dcigettext.c: Likewise. | |
316 | ||
88dbff8c UD |
317 | * iconv/gconv_conf.c (add_alias): Move actual alias handling to... |
318 | (add_alias2): ...here. New function. | |
319 | (__gconv_read_conf): Simplify builtin alias handling. | |
320 | (builtin_aliases): Convert to string to avoid relocations. | |
321 | * iconv/gconv_builtin.h: Add comment about correct formatting. | |
322 | ||
4442d58f UD |
323 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
324 | ||
325 | * resolv/res_debug.c (loc_ntoa): Make error const. | |
326 | ||
327 | 2006-05-14 Andreas Schwab <schwab@suse.de> | |
328 | ||
329 | * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. | |
330 | ||
331 | 2006-05-12 Jakub Jelinek <jakub@redhat.com> | |
332 | ||
333 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. | |
334 | (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than | |
335 | sizeof (cpu_set_t). | |
336 | ||
a51752b6 UD |
337 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
338 | ||
5d3fd1f6 UD |
339 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
340 | ||
08cfb839 UD |
341 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
342 | ||
4b481a15 UD |
343 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
344 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
345 | ||
346 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
347 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
348 | ||
349 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
350 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
351 | xdr_cback_data. | |
352 | ||
353 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
354 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
355 | xdr_ypupdate_args. | |
356 | ||
357 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
358 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
359 | ||
360 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
361 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
362 | ||
363 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
364 | * include/rpcsvc/nis_callback.h: New file. | |
365 | ||
366 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
367 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
368 | ||
369 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
370 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
371 | ||
372 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
373 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
374 | ||
375 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
376 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
377 | ||
b1ad49c6 UD |
378 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
379 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
380 | xdr_ypdelete_args. | |
381 | ||
cd5f7829 UD |
382 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
383 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
384 | ||
a51752b6 UD |
385 | * nis/nis_error.c: Remove table of strings. Use position |
386 | independent mechanism. | |
387 | * nis/nis_error.h: New file. | |
388 | ||
3d237e42 UD |
389 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
390 | ||
391 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
392 | format aren't provided, set both wname and wformat to L"". | |
393 | ||
d6c159fe UD |
394 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
395 | ||
0088b04e UD |
396 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
397 | results if the call was succesful. | |
398 | ||
d6c159fe UD |
399 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
400 | ||
401 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
402 | as hidden. | |
403 | ||
5c5acdf0 UD |
404 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
405 | ||
406 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
407 | ||
16d620db UD |
408 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
409 | ||
410 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
411 | caller makes sure this is not the case. | |
412 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
413 | ||
e7c8359e UD |
414 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
415 | ||
ecf359c6 UD |
416 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
417 | calls. | |
418 | ||
400cc70a UD |
419 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
420 | [Coverity CID 229, 230] | |
421 | ||
422 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
423 | DGETTEXT calls. | |
424 | (hol_help): Likewise. [Coverity CID 226, 227] | |
425 | ||
426 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
427 | free on SRC. [Coverity CID 225] | |
428 | ||
429 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
430 | the return value of __nis_default_owner and __nis_default_group, | |
431 | it has been especially allocated. [Coverity CID 224] | |
432 | ||
51e59260 UD |
433 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
434 | searchgroup and searchowner. Significantly simplified. | |
435 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
436 | string before duplicating it. | |
437 | (__nis_default_group): Likewise. | |
438 | ||
439 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
440 | we must clear the variable before calling __nisfind_server. | |
441 | ||
442 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
443 | nis_getnames. [Coverity CID 223] | |
444 | ||
445 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
446 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
447 | ||
448 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
449 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
450 | ||
e7c8359e | 451 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 452 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
453 | |
454 | * posix/getconf.c (print_all): Free confstr data after printing. | |
455 | [Coverity CID 218] | |
456 | ||
457 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
458 | list allocation fails. [Coverity CID 215] | |
459 | ||
460 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
461 | [Coverity CID 213] | |
462 | ||
463 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
464 | string is NULL. [Coverity CID 212] | |
465 | * argp/Makefile: Add rules to build and run bug-argp1. | |
466 | * argp/bug-argp1.c: New file. | |
467 | ||
468 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
469 | end of string. | |
470 | * stdlib/canonicalize.c (__realpath): Likewise. | |
471 | ||
472 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
473 | pointer. [Coverity CID 206] | |
474 | ||
475 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
476 | in statically linked code. | |
477 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
478 | statically built code, be prepared to have no link map. | |
479 | [Coverity CID 205] | |
480 | ||
481 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
482 | dgettext calls. [Coverity CID 204] | |
483 | ||
484 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
485 | the one user. | |
486 | (uparam_names): Reduce size. Avoid relative relocations. | |
487 | Moved to read-only segment. | |
488 | (fill_in_uparams): Update for new layout. | |
489 | ||
490 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
491 | assumed to always be != NULL. [Coverity CID 202] | |
492 | ||
493 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
494 | [Coverity CID 200]. | |
495 | ||
496 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
497 | away a few more unconditional yperr2nss calls. | |
498 | (_nss_nis_getservbyname_r): Likewise. | |
499 | ||
acf82eaf UD |
500 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
501 | ||
4461cf48 UD |
502 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
503 | architectures. | |
504 | ||
b74a8c7f UD |
505 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
506 | that unused memory passed to sendto is nevertheless initialized. | |
507 | ||
acb98cb5 UD |
508 | [BZ #2499] |
509 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
510 | possibly unaligned memory accesses. | |
511 | ||
bce16467 UD |
512 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
513 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
514 | and __putlong respectively. Correct buffer overflow check for | |
515 | NS_NOTIFY_OP. | |
516 | ||
517 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
518 | ||
8e45b1ac UD |
519 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
520 | (send_dg): Rewrite error handling to be more compact and avoid | |
521 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
522 | ||
697e1628 UD |
523 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
524 | ||
525 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
526 | instead of ns_get16. | |
527 | (res_queriesmatch): Likewise. Minor optimization. | |
528 | ||
acf82eaf UD |
529 | [BZ #2499] |
530 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
531 | __libc_res_nsend might reallocate the buffer for the answer. In | |
532 | this case we have to reload the HP pointer. | |
533 | ||
7bfee654 UD |
534 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
535 | ||
694b49ca UD |
536 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
537 | some branch prediction hints. | |
538 | ||
7bfee654 UD |
539 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
540 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
541 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
542 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
543 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
544 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
545 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
546 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
547 | ||
308bb2d5 UD |
548 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
549 | ||
550 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
551 | by a GOT relocation to make Scrt1.o position independent. | |
552 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
553 | ||
554 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
555 | six system call parameters. | |
556 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
557 | ||
cdb9c321 UD |
558 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
559 | ||
560 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
561 | malloc&bzero. | |
562 | ||
563 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
564 | (CALLOC): Define. | |
565 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
566 | ||
567 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
568 | (des_SPtrans): Use uint32_t type. | |
569 | (des_skb): Likewise. | |
570 | ||
571 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
572 | ||
fff04b32 UD |
573 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
574 | ||
575 | [BZ #2509] | |
576 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
577 | on 32-bit arches. | |
578 | ||
579 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
580 | ||
581 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 582 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 583 | |
077a30bc | 584 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 585 | |
f2d5cf50 UD |
586 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
587 | filling it for the first time. | |
588 | ||
3e4370cf UD |
589 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
590 | Adjust all callers. | |
591 | Free res object content before returning. | |
592 | ||
5e65a53d UD |
593 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
594 | ||
48be3114 UD |
595 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
596 | client->cl_auth. | |
597 | ||
ca4fce0e UD |
598 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
599 | cleanup for initial thread, just the free call on TVP. | |
600 | ||
077a30bc | 601 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 602 | |
5d37289a | 603 | |
3f87d901 | 604 | See ChangeLog.16 for earlier changes. |