]>
Commit | Line | Data |
---|---|---|
0ecb606c | 1 | 2006-12-08 Ulrich Drepper <drepper@redhat.com> |
3b7a95fb | 2 | |
0ecb606c JJ |
3 | * malloc/memusage.c: Handle realloc with new size of zero and |
4 | non-NULL pointer correctly. | |
5 | (me): Really write first record twice. | |
6 | (struct entry): Make format bi-arch safe. | |
7 | (dest): Write out more realloc statistics. | |
8 | * malloc/memusagestat.c (struct entry): Make format bi-arch safe. | |
3b7a95fb | 9 | |
0ecb606c | 10 | 2006-11-14 Ulrich Drepper <drepper@redhat.com> |
5d37289a | 11 | |
0ecb606c | 12 | * timezone/zdump.c: Redo fix for BZ #3137. |
5d37289a | 13 | |
0ecb606c | 14 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
6a361b2e | 15 | |
0ecb606c JJ |
16 | * time/tzfile.c (__tzfile_read): Extend to handle new file format |
17 | on machines with 64-bit time_t. | |
ff06ca8d | 18 | |
0ecb606c JJ |
19 | * timezone/private.h: Update from tzcode2006o. |
20 | * timezone/tzfile.h: Likewise. | |
21 | * timezone/zdump.c: Likewise. | |
22 | * timezone/zic.c: Likewise. | |
dde31996 | 23 | |
0ecb606c | 24 | 2006-07-02 Jakub Jelinek <jakub@redhat.com> |
dde31996 | 25 | |
0ecb606c JJ |
26 | * nscd/connections.c (sighup_pending): New variable. |
27 | (nscd_run): If sighup_pending, prune all 3 caches. | |
28 | (sighup_handler): Don't prune caches here, rather just set | |
29 | sighup_pending flag. | |
7d902c22 | 30 | |
0ecb606c | 31 | 2007-07-03 Jakub Jelinek <jakub@redhat.com> |
7d902c22 | 32 | |
0ecb606c JJ |
33 | [BZ #4702] |
34 | * nis/nss-default.c: Include errno.h. | |
35 | (init): Preserve errno. | |
da9f699f | 36 | |
0ecb606c | 37 | 2007-07-01 Jakub Jelinek <jakub@redhat.com> |
da9f699f | 38 | |
0ecb606c JJ |
39 | * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check. |
40 | * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). | |
41 | Return NULL if mmap failed instead of asserting it does not. | |
42 | (calloc): Check for integer overflow. | |
cb57664d | 43 | |
0ecb606c JJ |
44 | * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger |
45 | than LONG_MAX / 10. | |
6d864d15 | 46 | |
0ecb606c | 47 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
5ca3d19c | 48 | |
0ecb606c JJ |
49 | * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements |
50 | to fill in holes | |
51 | (rtld_global_ro): Likewise. | |
7cb92a99 | 52 | |
0ecb606c | 53 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
c701ab9f | 54 | |
0ecb606c JJ |
55 | * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. |
56 | Move PT_LOAD checking to... | |
57 | (_dl_addr_inside_object): ... here, new function. | |
58 | * elf/dl-sym.c (do_sym): If not l_contiguous, | |
59 | call _dl_addr_inside_object. | |
60 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. | |
61 | * dlfcn/dlinfo.c (dlinfo_doit): Likewise. | |
62 | * elf/dl-open.c (dl_open_worker): Likewise. | |
63 | (_dl_addr_inside_object): New function if IS_IN_rtld. | |
64 | * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no | |
65 | holes are present or are PROT_NONE protected. | |
66 | * include/link.h (struct link_map): Add l_contiguous field. | |
67 | * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. | |
68 | ||
69 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> | |
70 | ||
71 | * elf/rtld.c (dl_main): Don't call init_tls more than once. | |
72 | ||
73 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> | |
74 | ||
75 | * elf/dl-close.c (free_mem): Free _dl_scope_free_list. | |
76 | ||
77 | 2007-06-13 Jakub Jelinek <jakub@redhat.com> | |
78 | ||
79 | * include/link.h: Don't include rtld-lowlevel.h. | |
80 | (struct link_map): Remove l_scope_lock. | |
81 | * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. | |
82 | (_dl_scope_free_list): New field (variable) in _rtld_global. | |
83 | (DL_LOOKUP_SCOPE_LOCK): Remove. | |
84 | (_dl_scope_free): New prototype. | |
85 | * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. | |
86 | Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. | |
87 | (_dl_profile_fixup): Likewise. | |
88 | * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x | |
89 | whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and | |
90 | THREAD_GSCOPE_RESET_FLAG around it. | |
91 | * elf/dl-close.c (_dl_close_worker): Don't use | |
92 | __rtld_mrlock_{change,done}. Call _dl_scope_free on the old | |
93 | scope. Make sure THREAD_GSCOPE_WAIT () happens if any old | |
94 | scopes were queued or if l_scope_mem has been abandoned. | |
95 | * elf/dl-open.c (_dl_scope_free): New function. | |
96 | (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. | |
97 | * elf/dl-support.c (_dl_scope_free_list): New variable. | |
98 | * elf/dl-lookup.c (add_dependency): Remove flags argument. | |
99 | Remove DL_LOOKUP_SCOPE_LOCK handling. | |
100 | (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK | |
101 | handling. | |
102 | * elf/dl-object.c (_dl_new_object): Don't use | |
103 | __rtld_mrlock_initialize. | |
104 | ||
105 | 2007-06-09 Ulrich Drepper <drepper@redhat.com> | |
106 | ||
107 | * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and | |
108 | make sure gcc doesn't mess around with this. | |
109 | ||
110 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> | |
111 | ||
112 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. | |
113 | ||
114 | 2007-06-08 Jakub Jelinek <jakub@redhat.com> | |
115 | ||
116 | * elf/dl-close.c (_dl_close_worker): Remove all to be removed | |
117 | libraries from the global scope at once and call THREAD_GSCOPE_WAIT | |
118 | at most once per _dl_close_worker. | |
119 | ||
120 | 2007-05-18 Ulrich Drepper <drepper@redhat.com> | |
121 | ||
122 | * elf/dl-close.c (_dl_close_worker): When removing object from | |
123 | global scope, wait for all lookups to finish afterwards. | |
124 | * elf/dl-open.c (add_to_global): When global scope array must | |
125 | grow, allocate a new one and free old array only after all | |
126 | lookups finish. | |
127 | * elf/dl-runtime.c (_dl_fixup): Protect using global scope. | |
128 | (_dl_lookup_symbol_x): Likewise. | |
129 | * elf/dl-support.c: Define _dl_wait_lookup_done. | |
130 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Add | |
131 | _dl_wait_lookup_done. | |
132 | ||
133 | 2007-05-11 Ulrich Drepper <drepper@redhat.com> | |
134 | ||
135 | * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by | |
136 | adding new variables. | |
137 | ||
138 | * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc | |
139 | optimize. Completely extend global scope array before making the | |
140 | new entries visible. | |
141 | ||
142 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> | |
143 | ||
144 | * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. | |
145 | * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock | |
146 | it before getting dl_load_lock and then relock. | |
147 | (_dl_lookup_symbol_x): Pass flags to add_dependency. | |
148 | When rerunning _dl_lookup_symbol_x, compute symbol_scope again in | |
149 | case we unlocked the scope. | |
150 | * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to | |
151 | _dl_lookup_symbol_x in case we locked the scope. | |
152 | (_dl_profile_fixup): Likewise. | |
153 | * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also | |
154 | set DL_LOOKUP_SCOPE_LOCK. | |
155 | ||
156 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> | |
157 | ||
158 | * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. | |
159 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. | |
160 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
161 | * elf/dl-open.c (_dl_open_worker): Likewise. | |
162 | * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. | |
163 | ||
164 | 2006-10-27 Jakub Jelinek <jakub@redhat.com> | |
165 | ||
166 | * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope | |
167 | argument. | |
168 | (_dl_lookup_symbol_x): Adjust caller. | |
169 | ||
170 | * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove | |
171 | _ns_global_scope. | |
172 | * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. | |
173 | ||
174 | * elf/dl-libc.c: Revert l_scope name changes. | |
175 | * elf/dl-load.c: Likewise. | |
176 | * elf/dl-object.c: Likewise. | |
177 | * elf/rtld.c: Likewise. | |
178 | * elf/dl-close.c (_dl_close): Likewise. | |
179 | * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, | |
180 | always use __rtld_mrlock_{change,done}. Always free old scope list | |
181 | here if not l_scope_mem. | |
182 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name | |
183 | change. Never free scope list here. Just __rtld_mrlock_lock before | |
184 | the lookup and __rtld_mrlock_unlock it after the lookup. | |
185 | * elf/dl-sym.c: Likewise. | |
186 | * include/link.h (struct r_scoperec): Remove. | |
187 | (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem | |
188 | with l_scope_mem and l_scoperec_lock with l_scope_lock. | |
189 | ||
190 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
191 | ||
192 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to | |
193 | _dl_lookup_symbol_x code. | |
194 | ||
195 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
196 | ||
197 | * elf/dl-runtime.c: Include sysdep-cancel.h. | |
198 | (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and | |
199 | scoperec->nusers only if !SINGLE_THREAD_P. | |
200 | * elf/dl-sym.c: Include sysdep-cancel.h. | |
201 | (do_sym): Use __rtld_mrlock_* and scoperec->nusers only | |
202 | if !SINGLE_THREAD_P. | |
203 | * elf/dl-close.c: Include sysdep-cancel.h. | |
204 | (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only | |
205 | if !SINGLE_THREAD_P. | |
206 | * elf/dl-open.c: Include sysdep-cancel.h. | |
207 | (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only | |
208 | if !SINGLE_THREAD_P. | |
209 | ||
210 | 2006-10-09 Ulrich Drepper <drepper@redhat.com> | |
211 | Jakub Jelinek <jakub@redhat.com> | |
c701ab9f | 212 | |
0ecb606c JJ |
213 | Implement reference counting of scope records. |
214 | * elf/dl-close.c (_dl_close): Remove all scopes from removed objects | |
215 | from the list in objects which remain. Always allocate new scope | |
216 | record. | |
217 | * elf/dl-open.c (dl_open_worker): When growing array for scopes, | |
218 | don't resize, allocate a new one. | |
219 | * elf/dl-runtime.c: Update reference counters before using a scope | |
220 | array. | |
c0f62c56 | 221 | * elf/dl-sym.c: Likewise. |
0ecb606c JJ |
222 | * elf/dl-libc.c: Adjust for l_scope name change. |
223 | * elf/dl-load.c: Likewise. | |
224 | * elf/dl-object.c: Likewise. | |
c0f62c56 | 225 | * elf/rtld.c: Likewise. |
0ecb606c JJ |
226 | * include/link.h: Include <rtld-lowlevel.h>. Define struct |
227 | r_scoperec. Replace r_scope with pointer to r_scoperec structure. | |
228 | Add l_scoperec_lock. | |
229 | * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. | |
230 | * sysdeps/generic/rtld-lowlevel.h: New file. | |
231 | ||
232 | 2007-06-06 Jakub Jelinek <jakub@redhat.com> | |
233 | ||
234 | [BZ #4586] | |
235 | * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat | |
236 | pseudo-zeros as zero. | |
237 | * sysdeps/x86_64/ldbl2mpn.c: New file. | |
238 | * sysdeps/ia64/ldbl2mpn.c: New file. | |
239 | ||
240 | 2007-06-05 Jakub Jelinek <jakub@redhat.com> | |
241 | ||
242 | * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c | |
243 | (__mpn_construct_long_double): Fix conversion where result ought | |
244 | to be smaller than __LDBL_MIN__, or the low double should be | |
245 | denormal. Fix decision where to negate low double - honor round | |
246 | to even rules. | |
247 | * stdio-common/tst-sprintf2.c: Include string.h. | |
248 | (COMPARE_LDBL): Define. | |
249 | (TEST): Also test whether a string hexadecimal float representation | |
250 | can be parsed back to the number. | |
251 | (main): Add a couple of further tests. | |
252 | ||
253 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> | |
254 | ||
255 | * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c | |
256 | (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double | |
257 | is non-zero, but smaller than 2 * __DBL_MIN__. | |
258 | * stdio-common/tst-sprintf2.c: New test. | |
259 | * stdio-common/Makefile (tests): Add tst-sprintf2. | |
260 | ||
261 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> | |
262 | ||
263 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove | |
264 | unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. | |
265 | Remove unreachable code at the end. | |
266 | ||
267 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
268 | ||
269 | * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of | |
270 | ldbl-128ibm in comment. | |
271 | (fpclassifyl): Correct classification of denormals. | |
272 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct | |
273 | return value for MIN denormal. Rewrite using long double math too | |
274 | correctly handle denormals and canonicalize the results. | |
275 | ||
276 | 2007-05-29 Ulrich Drepper <drepper@redhat.com> | |
277 | ||
278 | * nscd/nscd_helper.c (get_mapping): Handle short replies instead | |
279 | of crashing. When this is the case or if the reply is malformed, | |
280 | don't try to close the new file descriptor since it does not | |
281 | exist. | |
282 | Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>. | |
283 | ||
284 | 2007-05-21 Jakub Jelinek <jakub@redhat.com> | |
285 | ||
286 | [BZ #4514] | |
287 | * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, | |
288 | reinitialize workend at the start of each do_positional format spec | |
289 | loop, free workstart before do_positional loops. | |
290 | (printf_unknown): Fix size of work_buffer. | |
291 | * stdio-common/tst-sprintf.c (main): Add 3 new testcases. | |
292 | ||
293 | 2007-05-10 Ulrich Drepper <drepper@redhat.com> | |
294 | ||
295 | * include/sys/cdefs.h: Redefine __nonnull so that test for | |
296 | incorrect parameters in the libc code itself are not omitted. | |
297 | ||
298 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> | |
299 | Jakub Jelinek <jakub@redhat.com> | |
26d550d3 | 300 | |
0ecb606c JJ |
301 | * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. |
302 | (new_heap): Initialize mprotect_size. | |
303 | (grow_heap): When growing, only mprotect from mprotect_size till | |
304 | new_size if mprotect_size is smaller. When shrinking, use PROT_NONE | |
305 | MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. | |
26d550d3 | 306 | |
0ecb606c | 307 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
48ad81fa | 308 | |
0ecb606c JJ |
309 | * stdio-common/vfprintf.c (process_string_arg): Optimize |
310 | ridiculous precision in wide char code printing multi-byte string. | |
311 | Reported by Jim Meyering <jim@meyering.net>. | |
48ad81fa | 312 | |
0ecb606c | 313 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
fc03df7a | 314 | |
0ecb606c JJ |
315 | [BZ #4465] |
316 | * posix/unistd.h: Remove __THROW from fdatasync. | |
27e82856 | 317 | |
0ecb606c | 318 | 2007-05-06 Mike Frysinger <vapier@gentoo.org> |
f1d877e1 | 319 | |
0ecb606c JJ |
320 | [BZ #4465] |
321 | * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args. | |
cb984ef2 | 322 | |
0ecb606c | 323 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
29bdc37a | 324 | |
0ecb606c JJ |
325 | [BZ #4131] |
326 | * elf/dl-addr.c (_dl_addr): Compare address with actual segment | |
327 | boundaries to work around systems with overlapping binary loading. | |
328 | Based on a patch by Suzuki <suzuki@in.ibm.com>. | |
cb984ef2 | 329 | |
0ecb606c | 330 | 2007-05-04 Ulrich Drepper <drepper@redhat.com> |
0891f970 | 331 | |
0ecb606c JJ |
332 | * stdio-common/vfprintf.c (process_string_arg): Adjust call to |
333 | __mbsnrtowcs after last change. | |
0da4ee55 | 334 | |
0ecb606c | 335 | 2007-05-02 Jakub Jelinek <jakub@redhat.com> |
c4f4ef87 | 336 | |
0ecb606c JJ |
337 | * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than |
338 | fixed length array for ignore. | |
74fef3bb | 339 | |
0ecb606c | 340 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
0891f970 | 341 | |
0ecb606c JJ |
342 | [BZ #4438] |
343 | * stdio-common/vfprintf.c (process_string_arg): Don't overflow the | |
344 | stack for large precisions. | |
345 | * stdio-common/test-vfprintf.c (main): Add test for large | |
346 | precision. | |
0891f970 | 347 | |
0ecb606c | 348 | 2007-04-30 Jakub Jelinek <jakub@redhat.com> |
6037b751 | 349 | |
0ecb606c JJ |
350 | * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign |
351 | for exponent 0. | |
352 | * stdio-common/tfformat.c (sprint_doubles): Add a new test. | |
6037b751 | 353 | |
0ecb606c | 354 | 2007-04-30 Jakub Jelinek <jakub@redhat.com> |
66b38fc9 | 355 | |
0ecb606c JJ |
356 | [BZ #4439] |
357 | * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into | |
358 | account in the size check. | |
359 | * resolv/tst-inet_ntop.c: New test. | |
360 | * resolv/Makefile (tests): Add tst-inet_ntop. | |
66b38fc9 | 361 | |
0ecb606c | 362 | 2007-04-28 Ulrich Drepper <drepper@redhat.com> |
66b38fc9 | 363 | |
0ecb606c JJ |
364 | [BZ #4102] |
365 | * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate | |
366 | label to Teredo tunnel addresses 2001://32. | |
8930fcf9 | 367 | |
0ecb606c | 368 | 2007-04-27 Ulrich Drepper <drepper@redhat.com> |
8930fcf9 | 369 | |
0ecb606c JJ |
370 | [BZ #4342] |
371 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow | |
372 | hexa-decimal floats without exponent. | |
373 | * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. | |
8930fcf9 | 374 | |
0ecb606c | 375 | 2007-04-27 Ulrich Drepper <drepper@redhat.com> |
8930fcf9 | 376 | |
0ecb606c JJ |
377 | [BZ #3213] |
378 | * locale/C-translit.h.in: Add entry for U2044. | |
af38d7ce | 379 | |
0ecb606c | 380 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
af38d7ce | 381 | |
0ecb606c JJ |
382 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead |
383 | of 0 after the out_fail label. | |
7ff2ba90 | 384 | |
0ecb606c | 385 | 2007-03-18 Jakub Jelinek <jakub@redhat.com> |
7ff2ba90 | 386 | |
0ecb606c JJ |
387 | * nscd/gai.c: Include alloca.h. |
388 | (__libc_use_alloca): Define. | |
8c1d74a9 | 389 | |
0ecb606c | 390 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> |
f7e7a396 | 391 | |
0ecb606c JJ |
392 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never |
393 | reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY | |
394 | NLMSG_ERR. Instead use a page sized buffer. | |
395 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized | |
396 | buffer. | |
f7e7a396 | 397 | |
0ecb606c | 398 | 2007-03-02 Jakub Jelinek <jakub@redhat.com> |
f7e7a396 | 399 | |
0ecb606c JJ |
400 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with |
401 | a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC | |
402 | message. | |
04c785b2 | 403 | |
0ecb606c | 404 | 2007-02-27 Jakub Jelinek <jakub@redhat.com> |
8c1d74a9 | 405 | |
0ecb606c JJ |
406 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix |
407 | memory reallocation. | |
0026d6d1 | 408 | |
0ecb606c | 409 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
81177191 | 410 | |
0ecb606c JJ |
411 | * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized |
412 | version. | |
53b4fed6 | 413 | |
0ecb606c | 414 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
21ae57c4 | 415 | |
0ecb606c JJ |
416 | [BZ #4406] |
417 | * iconv/gconv_charset.h (strip): Allow ':' | |
418 | * iconv/iconv_open.c (iconv_open): Adjust comment. | |
a19fe332 | 419 | |
0ecb606c | 420 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
0026d6d1 | 421 | |
0ecb606c JJ |
422 | [BZ #4405] |
423 | * iconvdata/gconv-modules (E13B): Add a missing slash to the alias | |
424 | name. Patch by Aurelien Jarno <aurelien@aurel32.net>. | |
067fff20 | 425 | |
0ecb606c | 426 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
067fff20 | 427 | |
0ecb606c JJ |
428 | [BZ #4381] |
429 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient | |
430 | alignment of buffer and tmp_buffer. | |
431 | * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, | |
432 | internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient | |
433 | alignment of buffer. | |
434 | * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen | |
435 | bigger than INT_MAX. | |
436 | * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and | |
437 | h_errnop arguments. Fail if buflen is too small. | |
438 | (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. | |
e59a8e84 | 439 | |
0ecb606c | 440 | 2007-04-19 Ulrich Drepper <drepper@redhat.com> |
e59a8e84 | 441 | |
0ecb606c JJ |
442 | * include/sys/mman.h: Mark madvise hidden. |
443 | * misc/madvise.c: Add libc_hidden_def. | |
7dfde5a0 | 444 | |
0ecb606c | 445 | 2007-04-17 Ulrich Drepper <drepper@redhat.com> |
c5e2501b | 446 | |
0ecb606c JJ |
447 | [BZ #4368] |
448 | * stdlib/stdlib.h: Remove obsolete part of comment for realpath. | |
9e9720a2 | 449 | |
0ecb606c | 450 | 2007-04-16 Ulrich Drepper <drepper@redhat.com> |
a044c713 | 451 | |
0ecb606c JJ |
452 | [BZ #4364] |
453 | * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. | |
a044c713 | 454 | |
0ecb606c | 455 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
9ea9b141 | 456 | |
0ecb606c JJ |
457 | [BZ #4344] |
458 | * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. | |
459 | Reported by David Anderson <davea42@earthlink.net>. | |
ca225a41 | 460 | |
0ecb606c | 461 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
625ef999 | 462 | |
0ecb606c JJ |
463 | * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4 |
464 | special case handling when wcp == wstartp + 1. Fix a comment typo. | |
465 | * stdio-common/tfformat.c (sprint_doubles): Add a new testcase. | |
610e3e7f | 466 | |
0ecb606c | 467 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
c4e328a1 | 468 | |
0ecb606c JJ |
469 | [BZ #4070] |
470 | * stdio-common/printf_fp.c (___printf_fp): Handle a few more | |
471 | special cases. | |
472 | * stdio-common/tfformat.c (sprint_doubles): Some more tests. | |
412c954a | 473 | |
0ecb606c | 474 | 2007-02-19 Ulrich Drepper <drepper@redhat.com> |
6497a1d0 | 475 | |
0ecb606c JJ |
476 | * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor |
477 | optimization. | |
a1d335d6 | 478 | |
0ecb606c | 479 | 2007-04-06 Jakub Jelinek <jakub@redhat.com> |
ca225a41 | 480 | |
0ecb606c JJ |
481 | * nis/nis_domain_of.c (__nis_domain_of): New function. |
482 | * include/rpcsvc/nislib.h (__nis_domain_of): New prototype. | |
483 | * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. | |
484 | * nis/nis_call.c (rec_dirsearch): Likewise. | |
485 | (first_shoot): Likewise. Remove search_parent_first argument. | |
486 | (struct nis_server_cache): Rename search_parent_first field | |
487 | to search_parent. | |
488 | (nis_server_cache_search, nis_server_cache_add): Rename | |
489 | search_parent_first argument to search_parent. | |
490 | (__nisfind_server): Likewise. If search_parent, call | |
491 | __nis_domain_of. | |
4faf24a3 | 492 | |
0ecb606c | 493 | 2007-04-05 Jakub Jelinek <jakub@redhat.com> |
fe6ce170 | 494 | |
0ecb606c JJ |
495 | * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers |
496 | with obj->do_servers after first_shoot. | |
5cec9552 | 497 | |
0ecb606c | 498 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
6721afe2 | 499 | |
0ecb606c JJ |
500 | * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. |
501 | (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New | |
502 | variables. | |
503 | (nis_server_cache_search, nis_server_cache_add): New functions. | |
504 | (__nisfind_server): Use them. Add dbp and flags argument, if | |
505 | call __nisbind_create. | |
506 | (__nisbind_create): Add server_used and current_ep arguments, | |
507 | only call __nis_findfastest if server_used is ~0. | |
508 | (__do_niscall2, __prepare_niscall): Adjust callers. | |
509 | (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, | |
510 | ckey_cache_euid, ckey_cache_lock): New variables. | |
511 | (get_ckey): New function. | |
512 | (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to | |
513 | __pmap_getnisport. Save __pmap_getnisport result in | |
514 | dbp->addr.sin_port if non-zero. Use get_ckey to create conversation | |
515 | key. | |
516 | * nis/nis_lookup.c (nis_lookup): Likewise. | |
517 | * nis/nis_table.c (nis_list): Likewise. | |
518 | * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust | |
519 | prototypes. | |
4faf24a3 | 520 | |
0ecb606c JJ |
521 | * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, |
522 | _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. | |
523 | * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, | |
524 | _nss_nisplus_getservbyport_r): Likewise. | |
525 | * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, | |
526 | _nss_nisplus_getnetbyaddr_r): Likewise. | |
527 | * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. | |
528 | * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, | |
529 | _nss_nisplus_getntohost_r): Likewise. | |
530 | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, | |
531 | _nss_nisplus_getrpcbynumber_r): Likewise. | |
532 | ||
533 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> | |
534 | ||
535 | * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success | |
536 | and 1 on failure. | |
537 | ||
538 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> | |
539 | ||
540 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use | |
541 | math_opt_barrier and math_force_eval macros. | |
542 | ||
543 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> | |
544 | ||
545 | [BZ #3306] | |
546 | * math/math_private.h (math_opt_barrier, math_force_eval): Define. | |
547 | * sysdeps/i386/fpu/math_private.h: New file. | |
548 | * sysdeps/x86_64/fpu/math_private.h: New file. | |
549 | * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and | |
550 | math_force_eval macros. Use "+m" constraint on asm rather than | |
551 | "=m" and "m". | |
552 | * math/s_nextafter.c (__nextafter): Likewise. | |
553 | * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): | |
554 | Likewise. | |
555 | * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. | |
556 | * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. | |
557 | * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. | |
558 | * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use | |
559 | math_opt_barrier and math_force_eval macros. | |
560 | * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. | |
561 | * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. | |
562 | * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. | |
563 | (__nexttoward): Use math_opt_barrier and | |
564 | math_force_eval macros. Use "+m" constraint on asm rather than | |
565 | "=m" and "m". Only use asm to force double result if | |
566 | FLT_EVAL_METHOD is 2. | |
567 | * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. | |
568 | (__nexttowardf): Use math_opt_barrier and | |
569 | math_force_eval macros. Use "+m" constraint on asm rather than | |
570 | "=m" and "m". Only use asm to force double result if | |
571 | FLT_EVAL_METHOD is not 0. | |
572 | * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. | |
573 | (__nexttowardf): Use math_opt_barrier and | |
574 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
575 | x to float using asm. | |
576 | * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. | |
577 | (__nldbl_nexttowardf): Use math_opt_barrier and | |
578 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
579 | x to float using asm. | |
580 | * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. | |
581 | (__nexttowardf): Use math_opt_barrier and math_force_eval | |
582 | macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. | |
583 | * math/bug-nextafter.c (zero, inf): New variables. | |
584 | (main): Add new tests. | |
585 | * math/bug-nexttoward.c (zero, inf): New variables. | |
586 | (main): Add new tests. | |
587 | ||
588 | 2007-03-30 Jakub Jelinek <jakub@redhat.com> | |
589 | ||
590 | * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow, | |
591 | __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, | |
592 | _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): | |
593 | Remove __THROW. | |
594 | * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, | |
595 | _IO_file_xsgetn_maybe_mmap): Likewise. | |
596 | * libio/oldfileops.c (old_do_write): Likewise. | |
597 | * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, | |
598 | _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, | |
599 | _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, | |
600 | _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, | |
601 | _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, | |
602 | _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, | |
603 | _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, | |
604 | _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, | |
605 | _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, | |
606 | _IO_file_underflow, _IO_file_underflow_mmap, | |
607 | _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, | |
608 | _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, | |
609 | _IO_file_sync, _IO_file_close_it, _IO_file_finish, | |
610 | _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, | |
611 | _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, | |
612 | _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, | |
613 | _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, | |
614 | _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, | |
615 | _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, | |
616 | _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, | |
617 | _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, | |
618 | _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, | |
619 | _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, | |
620 | _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, | |
621 | _IO_adjust_column_internal, _IO_default_uflow_internal, | |
622 | _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, | |
623 | _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, | |
624 | _IO_file_setbuf_internal, _IO_file_seekoff_internal, | |
625 | _IO_file_xsputn_internal, _IO_file_xsgetn_internal, | |
626 | _IO_file_close_it_internal, _IO_file_underflow_internal, | |
627 | _IO_file_overflow_internal, _IO_file_attach_internal, | |
628 | _IO_file_fopen_internal, _IO_file_sync_internal, | |
629 | _IO_file_finish_internal, _IO_wfile_xsputn_internal, | |
630 | _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, | |
631 | _IO_switch_to_wget_mode_internal, _IO_padn_internal, | |
632 | _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, | |
633 | _IO_seekpos_unlocked): Likewise. | |
634 | (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, | |
635 | _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes. | |
636 | ||
637 | 2007-03-23 Jakub Jelinek <jakub@redhat.com> | |
638 | ||
639 | * scripts/check-local-headers.sh: Filter out sys/capability.h. | |
640 | ||
641 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> | |
642 | ||
643 | * config.h.in (HAVE_LIBCAP): Add. | |
644 | * nscd/selinux.h: Include sys/capability.h rather than non-existent | |
645 | sys/capabilities.h. | |
646 | * nscd/selinux.c (preserve_capabilities): Use cap_free instead of | |
647 | free_caps. Cast away const from 4th cap_set_flag argument. | |
648 | ||
649 | 2007-03-16 Jakub Jelinek <jakub@redhat.com> | |
650 | ||
651 | * elf/dl-open.c (dl_open_worker): Declare l in 2 different | |
652 | smaller scopes. | |
653 | * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. | |
654 | (DL_DST_REQUIRED): Adjust user. | |
655 | ||
656 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> | |
657 | ||
658 | * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is | |
659 | NULL. | |
660 | ||
661 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> | |
662 | ||
663 | [BZ #4181] | |
664 | * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. | |
665 | (inet6_opt_append): Don't check extlen is big enough if extbuf | |
666 | is NULL. | |
667 | (inet6_opt_finish): Likewise. | |
668 | * inet/Makefile (tests): Add test-inet6_opt. | |
669 | * inet/test-inet6_opt.c: New test. | |
670 | ||
671 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> | |
672 | ||
673 | [BZ #4130] | |
674 | * login/utmp_file.c (setutent_file): Use O_LARGEFILE for | |
675 | open_not_cancel_2. | |
676 | (updwtmp_file): Likewise. | |
677 | ||
678 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> | |
679 | ||
680 | [BZ #4101] | |
681 | * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find | |
682 | ancestors with the same depths. | |
683 | Patch by Niels Moeller <nisse@lysator.liu.se>. | |
684 | (filter_doc): Don't crash if argp is NULL. | |
685 | * argp/Makefile (tests): Add tst-argp2. | |
686 | * argp/tst-argp2.c: New test. | |
687 | ||
688 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> | |
689 | ||
690 | [BZ #3919] | |
691 | * math/libm-test.inc (log_test): Test -Inf and NaN. | |
692 | (log10_test, log1p_test, log2_test): Test -Inf. | |
693 | * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise | |
694 | FE_INVALID when argument is qNaN. | |
695 | * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. | |
696 | * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. | |
697 | * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. | |
698 | * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace | |
699 | andb $1, %ah with testb $1, %ah, don't test for parity, instead | |
700 | testb $4, %ah and jump if non-zero. | |
701 | * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. | |
702 | * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. | |
703 | ||
704 | 2007-03-06 Ulrich Drepper <drepper@redhat.com> | |
705 | ||
706 | * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for | |
707 | 172.16/12 address range. | |
708 | ||
709 | 2007-03-01 Jakub Jelinek <jakub@redhat.com> | |
710 | ||
711 | [BZ #4069] | |
712 | * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN | |
713 | earlier. | |
714 | * math/libm-test.inc (pow_test): Add more tests involving NaNs. | |
715 | ||
716 | * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception | |
717 | for x qNaN and y either +-inf or non-integer value. | |
718 | * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. | |
719 | * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. | |
720 | * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. | |
5f66b766 | 721 | |
0ecb606c | 722 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
5f66b766 | 723 | |
0ecb606c JJ |
724 | [BZ #4076] |
725 | * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. | |
726 | (open_dir_stream): Likewise. | |
727 | * io/Makefile (tests): Add bug-ftw5. | |
728 | * io/bug-ftw5.c: New file. | |
5f66b766 | 729 | |
0ecb606c | 730 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
5f66b766 | 731 | |
0ecb606c JJ |
732 | * nscd/grpcache.c (cache_addgr): In case a record changed on |
733 | refresh, adjust key_copy. | |
3900770e | 734 | |
0ecb606c JJ |
735 | [BZ #4074] |
736 | * nscd/pwdcache.c (cache_addpw): In case a record changed on | |
737 | refresh, adjust key_copy. | |
51499423 | 738 | |
0ecb606c | 739 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
9435d38c | 740 | |
0ecb606c JJ |
741 | [BZ #3458] |
742 | * sysdeps/unix/sysv/linux/posix_madvise.c: New file. | |
743 | * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. | |
43ca813d | 744 | |
0ecb606c | 745 | 2007-02-17 Ulrich Drepper <drepper@redhat.com> |
3900770e | 746 | |
0ecb606c JJ |
747 | [BZ #3842] |
748 | * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut | |
749 | using __libc_enable_secure. | |
24f076f8 | 750 | |
0ecb606c | 751 | 2007-02-17 Ulrich Drepper <drepper@redhat.com> |
24f076f8 | 752 | |
0ecb606c JJ |
753 | [BZ #3348] |
754 | * malloc/memusage.sh: Cleanups. | |
755 | * debug/xtrace.sh: Quoting and trap changes. | |
24f076f8 | 756 | |
0ecb606c | 757 | 2007-02-16 Ulrich Drepper <drepper@redhat.com> |
24f076f8 | 758 | |
0ecb606c JJ |
759 | * locale/iso-3166.def: Add entry for Serbia. |
760 | * locale/iso-4217.def: Define RSD. | |
362038b0 | 761 | |
0ecb606c | 762 | 2007-02-15 Ulrich Drepper <drepper@redhat.com> |
362038b0 | 763 | |
0ecb606c JJ |
764 | * nscd/nscd_helper.c (open_socket): Don't send padding bytes from |
765 | reqdata. | |
8f1913a9 | 766 | |
0ecb606c | 767 | 2007-02-13 Ulrich Drepper <drepper@redhat.com> |
8f1913a9 | 768 | |
0ecb606c | 769 | * po/ru.po: Update from translation team. |
1fc07491 | 770 | |
0ecb606c | 771 | 2007-02-03 Ulrich Drepper <drepper@redhat.com> |
1fc07491 | 772 | |
0ecb606c | 773 | * po/sv.po: Update from translation team. |
20f8e666 | 774 | |
0ecb606c | 775 | 2007-02-12 Jakub Jelinek <jakub@redhat.com> |
cf244b74 | 776 | |
0ecb606c JJ |
777 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ |
778 | to the list of i486+ CPUs. | |
779 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
ccc63b07 | 780 | |
0ecb606c | 781 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
ccc63b07 | 782 | |
0ecb606c JJ |
783 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ |
784 | and __geode__ to the list of i486+ CPUs. | |
785 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
9ad68422 | 786 | |
0ecb606c | 787 | 2007-02-08 Jakub Jelinek <jakub@redhat.com> |
cf244b74 | 788 | |
0ecb606c JJ |
789 | [BZ #3944] |
790 | * time/strptime_l.c (__strptime_internal): Set have_mon for | |
791 | %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday | |
792 | have been computed from tm_yday and tm_year. Don't crash | |
793 | in day_of_the_week or day_of_the_year if not have_mon | |
794 | and tm_mon contains bogus value. | |
795 | * time/Makefile (tests): Add tst-strptime3. | |
796 | * time/tst-strptime3.c: New test. | |
9d78d122 | 797 | |
0ecb606c | 798 | 2007-02-05 Jakub Jelinek <jakub@redhat.com> |
9d78d122 | 799 | |
0ecb606c JJ |
800 | [BZ #3957] |
801 | * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' | |
802 | bit for RE_HAT_LISTS_NOT_NEWLINE. | |
803 | (build_charclass_op): Remove bogus comment. | |
804 | * posix/Makefile (tests): Add bug-regex27 and bug-regex28. | |
805 | * posix/bug-regex27.c: New test. | |
806 | * posix/bug-regex28.c: New test. | |
fc58d352 | 807 | |
0ecb606c | 808 | 2007-02-02 Bruno Haible <bruno@clisp.org> |
fc58d352 | 809 | |
0ecb606c JJ |
810 | [BZ #3954] |
811 | * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): | |
812 | Add mapping for U+327E. | |
813 | * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. | |
814 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable | |
815 | mapping of 0xD9 0xE8. | |
816 | * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable | |
817 | mapping of U+327E. | |
818 | Reported by Jungshik Shin <jungshik@google.com>. | |
5a617b9e | 819 | |
0ecb606c JJ |
820 | [BZ #3955] |
821 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable | |
822 | mapping of 0xD9 0xE6 and of 0xD9 0xE7. | |
823 | Reported by Jungshik Shin <jungshik@google.com>. | |
72ae1e97 | 824 | |
0ecb606c | 825 | 2007-01-31 Jakub Jelinek <jakub@redhat.com> |
5a617b9e | 826 | |
0ecb606c JJ |
827 | * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier |
828 | from return value. | |
829 | * nscd/nscd_helper.c: Include string.h. | |
830 | (__nscd_cache_search): Remove const qualifier from return value. | |
831 | On strict alignment architectures check hash entry and data head | |
832 | alignment. | |
833 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because | |
834 | mmapped data during GC cycle contains garbage. If | |
835 | __nscd_drop_map_ref fails, decrement mapped->counter when returning | |
836 | error or if retrying with NO_MAPPING, only __nscd_unmap if counter | |
837 | dropped to 0. | |
838 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
839 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
840 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
841 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
3418007e | 842 | |
0ecb606c | 843 | 2007-01-22 Ulrich Drepper <drepper@redhat.com> |
3418007e | 844 | |
0ecb606c JJ |
845 | [BZ #3902] |
846 | * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. | |
847 | * stdio-common/Makefile (tests): Add bug17. | |
848 | * stdio-common/bug17.c: New file. | |
9b2dc515 | 849 | |
0ecb606c | 850 | 2007-01-15 Jakub Jelinek <jakub@redhat.com> |
9b2dc515 | 851 | |
0ecb606c JJ |
852 | * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear |
853 | workbits in semi-raw fraction. | |
05f4d5cd | 854 | |
0ecb606c | 855 | * math/test-misc.c: Add new tests. |
05f4d5cd | 856 | |
0ecb606c | 857 | 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com> |
05f4d5cd | 858 | |
0ecb606c JJ |
859 | * math/basic-test.c: Include test-skeleton.c. |
860 | (TEST_TRUNC): Define. | |
861 | (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. | |
862 | (main): Rename to ... | |
863 | (do_test): ...this. Run new tests. | |
864 | (TEST_FUNCTION): Define. | |
05f4d5cd | 865 | |
0ecb606c JJ |
866 | 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com> |
867 | Joe Kerian <jkerian@us.us.ibm.com> | |
d13a3c57 | 868 | |
0ecb606c JJ |
869 | [BZ #2749] |
870 | * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow | |
871 | handling for high words. | |
872 | * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact | |
873 | and overflow for infinity. | |
d13a3c57 | 874 | |
0ecb606c | 875 | 2007-01-13 Ulrich Drepper <drepper@redhat.com> |
d13a3c57 | 876 | |
0ecb606c JJ |
877 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct |
878 | computation of keylen. | |
c0097ea1 | 879 | |
0ecb606c | 880 | 2007-01-10 Ulrich Drepper <drepper@redhat.com> |
c0097ea1 | 881 | |
0ecb606c JJ |
882 | * io/fts.c: Make sure fts_cur is always valid after return from |
883 | fts_read. | |
884 | Patch by Miloslav Trmac <mitr@redhat.com>. | |
181742f8 | 885 | |
0ecb606c | 886 | 2007-01-03 Jakub Jelinek <jakub@redhat.com> |
181742f8 | 887 | |
0ecb606c JJ |
888 | * posix/execvp.c: Include alloca.h. |
889 | (allocate_scripts_argv): Renamed to... | |
890 | (scripts_argv): ... this. Don't allocate buffer here nor count | |
891 | arguments. | |
892 | (execvp): Use alloca if possible. | |
893 | * posix/Makefile: Add rules to build and run tst-vfork3 test. | |
894 | * posix/tst-vfork3.c: New test. | |
a962d7dc | 895 | |
0ecb606c | 896 | 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com> |
e071493f | 897 | |
0ecb606c JJ |
898 | * stdlib/tst-makecontext.c: Include errno.h. Change main() |
899 | to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. | |
900 | (do_test): Check errno and exit(0) if ENOSYS. | |
a962d7dc | 901 | |
0ecb606c | 902 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> |
a962d7dc | 903 | |
0ecb606c JJ |
904 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte |
905 | thousands separators. | |
906 | * stdlib/Makefile: Add rules to build and run tst-strtod4. | |
907 | * stdlib/tst-strtod4.c: New test. | |
45ab54ce | 908 | |
0ecb606c JJ |
909 | [BZ #3855] |
910 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by | |
911 | hexadecimal digit should accept just the initial 0. | |
912 | * stdlib/tst-strtod2.c (tests): New variable. | |
913 | (do_test): Run several tests rather than just one. | |
45ab54ce | 914 | |
0ecb606c | 915 | 2007-01-03 Ulrich Drepper <drepper@redhat.com> |
9d0cdc0e | 916 | |
0ecb606c | 917 | * stdlib/Makefile (tst-strtod3-ENV): Define. |
062ad132 | 918 | |
0ecb606c | 919 | 2006-12-11 Ulrich Drepper <drepper@redhat.com> |
9d0cdc0e | 920 | |
0ecb606c JJ |
921 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand |
922 | separators also if no non-zero digits found. | |
923 | * stdlib/Makefile (tests): Add tst-strtod3. | |
54b497ce | 924 | |
0ecb606c | 925 | 2006-12-09 Ulrich Drepper <drepper@redhat.com> |
54b497ce | 926 | |
0ecb606c JJ |
927 | [BZ #3664] |
928 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize | |
929 | empty parsed strings. | |
930 | * stdlib/Makefile (tests): Add tst-strtod2. | |
931 | * stdlib/tst-strtod2.c: New file. | |
4924c007 | 932 | |
0ecb606c JJ |
933 | [BZ #3673] |
934 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit | |
935 | computation. | |
936 | * stdlib/Makefile (tests): Add tst-atof2. | |
937 | * stdlib/tst-atof2.c: New file. | |
4924c007 | 938 | |
0ecb606c JJ |
939 | [BZ #3674] |
940 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value | |
941 | correctly if removing trailing zero of hex-float. | |
942 | * stdlib/Makefile (tests): Add tst-atof1. | |
943 | * stdlib/tst-atof1.c: New file. | |
081fc592 | 944 | |
0ecb606c | 945 | 2007-01-03 Ulrich Drepper <drepper@redhat.com> |
7ba0e52c | 946 | |
0ecb606c | 947 | * string/Makefile (tst-strxfrm2-ENV): Define. |
f377d022 | 948 | |
0ecb606c | 949 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> |
f377d022 | 950 | |
0ecb606c JJ |
951 | * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization |
952 | if N is one bigger than return value. | |
953 | * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 | |
954 | and l1 last arguments, if buf is defined, verify the return value | |
955 | equals to strlen (buf) and verify no byte beyond passed length | |
956 | is modified. | |
f377d022 | 957 | |
0ecb606c | 958 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
f377d022 | 959 | |
0ecb606c JJ |
960 | * string/Makefile (tests): Add tst-strxfrm2. |
961 | * string/tst-strxfrm2.c: New file. | |
f377d022 | 962 | |
0ecb606c | 963 | 2006-11-08 Jakub Jelinek <jakub@redhat.com> |
f863a5a5 | 964 | |
0ecb606c JJ |
965 | * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal |
966 | optimization even if needed > n. | |
3655715b | 967 | |
0ecb606c | 968 | 2006-12-22 Gavin Romig-Koch <gavin@redhat.com> |
f2b85a9f | 969 | |
0ecb606c JJ |
970 | * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't |
971 | blacklist the group till after we look it up. | |
f2b85a9f | 972 | |
0ecb606c | 973 | 2006-12-21 Ulrich Drepper <drepper@redhat.com> |
415b043d | 974 | |
0ecb606c | 975 | * include/atomic.h (atomic_forced_read): New macro. |
415b043d | 976 | |
0ecb606c | 977 | 2006-12-19 Jakub Jelinek <jakub@redhat.com> |
6029b952 | 978 | |
0ecb606c JJ |
979 | * stdlib/Makefile (tests): Add tst-makecontext. |
980 | * stdlib/tst-makecontext.c: New test. | |
6029b952 | 981 | |
0ecb606c JJ |
982 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S |
983 | (__makecontext): Don't realign uc_mcontext.uc_regs. | |
febcd836 | 984 | |
0ecb606c | 985 | 2006-12-13 Jakub Jelinek <jakub@redhat.com> |
febcd836 | 986 | |
0ecb606c JJ |
987 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include |
988 | kernel-features.h. | |
418dfb12 | 989 | |
0ecb606c | 990 | 2006-12-19 Jakub Jelinek <jakub@redhat.com> |
418dfb12 | 991 | |
0ecb606c JJ |
992 | * nss/getXXbyYY_r.c: Include atomic.h. |
993 | (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, | |
994 | add atomic_write_barrier () in between. | |
03e157d8 | 995 | |
0ecb606c | 996 | 2006-12-18 Jakub Jelinek <jakub@redhat.com> |
03e157d8 | 997 | |
0ecb606c JJ |
998 | [BZ #3747] |
999 | * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the | |
1000 | [-231 .. 231) range. | |
1001 | * stdlib/tst-rand48.c (main): Fix expected values for 64-bit | |
1002 | targets. | |
1003 | * stdlib/tst-rand48-2.c: New test. | |
1004 | * stdlib/Makefile (tests): Add tst-rand48-2. | |
2a254592 | 1005 | |
0ecb606c | 1006 | 2006-12-14 Jakub Jelinek <jakub@redhat.com> |
2a254592 | 1007 | |
0ecb606c | 1008 | * misc/tst-pselect.c (do_test): Fix sigblock argument. |
ead07d01 | 1009 | |
0ecb606c | 1010 | 2006-12-14 Ulrich Drepper <drepper@redhat.com> |
ead07d01 | 1011 | |
0ecb606c JJ |
1012 | * misc/tst-pselect.c (do_test): Make sure the helper process is |
1013 | terminating when the test is aborted. | |
1da484d9 | 1014 | |
0ecb606c | 1015 | 2006-12-13 Ulrich Drepper <drepper@redhat.com> |
1da484d9 | 1016 | |
0ecb606c JJ |
1017 | [BZ #2337] |
1018 | * libio/Makefile (tests): Add tst-setvbuf1. | |
1019 | * libio/tst-setvbuf1.c: New file. | |
58c64754 | 1020 | |
0ecb606c | 1021 | 2006-12-08 Jakub Jelinek <jakub@redhat.com> |
58c64754 | 1022 | |
0ecb606c JJ |
1023 | [BZ #2337] |
1024 | * libio/genops.c (__uflow): Fix a typo. | |
1025 | * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat | |
1026 | nor set _IO_LINE_BUF bit here. Size the wide buffer based on | |
1027 | the narrow buffer size. | |
73f7c32c | 1028 | |
0ecb606c | 1029 | 2006-11-24 Jakub Jelinek <jakub@redhat.com> |
73f7c32c | 1030 | |
0ecb606c JJ |
1031 | [BZ #2337] |
1032 | * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. | |
1033 | * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set | |
1034 | _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit | |
1035 | in _flags. | |
1036 | * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, | |
1037 | _IO_wstr_finish): Likewise. | |
1038 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
1039 | * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] | |
1040 | even for wide streams. | |
86aca5ac | 1041 | |
0ecb606c | 1042 | 2006-12-09 Jakub Jelinek <jakub@redhat.com> |
86aca5ac | 1043 | |
0ecb606c JJ |
1044 | * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. |
1045 | Start searching for next comma at p rather than rest. | |
1046 | * misc/Makefile (tests): Add tst-mntent2. | |
1047 | * misc/tst-mntent2.c: New test. | |
aae95a1b | 1048 | |
0ecb606c | 1049 | 2006-12-09 Ulrich Drepper <drepper@redhat.com> |
aae95a1b | 1050 | |
0ecb606c JJ |
1051 | [BZ #3632] |
1052 | * include/features.h: Fix comment about default value for | |
1053 | _POSIX_C_SOURCE. | |
49563939 | 1054 | |
0ecb606c | 1055 | 2006-12-09 Jakub Jelinek <jakub@redhat.com> |
49563939 | 1056 | |
0ecb606c JJ |
1057 | * misc/getusershell.c (initshells): Check for integer overflows. |
1058 | Make strings buffer one bigger as fgets always succeeds when second | |
1059 | argument is 1. Don't use calloc for shells array. Disallow | |
1060 | / as shell. | |
6698501f | 1061 | |
0ecb606c | 1062 | 2006-12-05 Jakub Jelinek <jakub@redhat.com> |
6698501f | 1063 | |
0ecb606c | 1064 | * nis/nis_subr.c (nis_getnames): Revert last change. |
66cc59de | 1065 | |
0ecb606c | 1066 | 2006-10-11 Jakub Jelinek <jakub@redhat.com> |
66cc59de | 1067 | |
0ecb606c | 1068 | * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. |
66cc59de | 1069 | |
0ecb606c JJ |
1070 | * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. |
1071 | * sysdeps/generic/unsecvars.h: Add NIS_PATH. | |
c4bb5cd8 | 1072 | |
0ecb606c | 1073 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
c4bb5cd8 | 1074 | |
0ecb606c JJ |
1075 | * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. |
1076 | (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. | |
1077 | * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. | |
1078 | (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to | |
1079 | ENOTTY. | |
1080 | * io/Makefile: Add rules to build and run tst-ttyname_r test. | |
1081 | * io/tst-ttyname_r.c: New test. | |
d2e75f65 | 1082 | |
0ecb606c | 1083 | 2006-11-28 Jakub Jelinek <jakub@redhat.com> |
d2e75f65 | 1084 | |
0ecb606c JJ |
1085 | * elf/dl-support.c: Include dl-procinfo.h. |
1086 | * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, | |
1087 | PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, | |
1088 | PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): | |
1089 | Define. | |
1090 | (_dl_string_platform): Use PPC_PLATFORM_* macros instead of | |
1091 | hardcoded constants. | |
1092 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use | |
1093 | PPC_PLATFORM_* macros for array designators. | |
d2e75f65 | 1094 | |
0ecb606c | 1095 | 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com> |
409f7493 | 1096 | |
0ecb606c JJ |
1097 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap |
1098 | names to the beginning. | |
1099 | (_dl_powerpc_platforms): Add "power6x". | |
1100 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
1101 | (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. | |
1102 | (_DL_PLATFORMS_COUNT): Increase. | |
1103 | (_dl_string_platform): Handle power6x case. | |
1104 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, | |
1105 | PPC_FEATURE_POWER6_EXT): Define. | |
1106 | (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. | |
409f7493 | 1107 | |
0ecb606c | 1108 | 2006-11-27 Jakub Jelinek <jakub@redhat.com> |
619f9448 | 1109 | |
0ecb606c JJ |
1110 | [BZ #3559] |
1111 | * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if | |
1112 | malloc crashed. | |
619f9448 | 1113 | |
0ecb606c | 1114 | 2006-11-14 Jakub Jelinek <jakub@redhat.com> |
c80e931a | 1115 | |
0ecb606c JJ |
1116 | * nss/nss_files/files-alias.c (get_next_alias): Set line back |
1117 | to first_unused after parsing :include: file. | |
c80e931a | 1118 | |
0ecb606c | 1119 | 2006-11-14 Ulrich Drepper <drepper@redhat.com> |
a95a08b4 | 1120 | |
0ecb606c | 1121 | * po/nl.po: Update from translation team. |
a95a08b4 | 1122 | |
0ecb606c | 1123 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
1114ffff | 1124 | |
0ecb606c | 1125 | * po/sv.po: Update from translation team. |
1114ffff | 1126 | |
0ecb606c | 1127 | 2006-11-01 Ulrich Drepper <drepper@redhat.com> |
1114ffff | 1128 | |
0ecb606c | 1129 | * po/sv.po: Update from translation team. |
86b2fd6e | 1130 | |
0ecb606c | 1131 | 2006-10-29 Ulrich Drepper <drepper@redhat.com> |
1114ffff | 1132 | |
0ecb606c | 1133 | * po/sv.po: Update from translation team. |
86b2fd6e | 1134 | |
0ecb606c | 1135 | 2006-10-09 Ulrich Drepper <drepper@redhat.com> |
effeb660 | 1136 | |
0ecb606c | 1137 | * po/sv.po: Update from translation team. |
effeb660 | 1138 | |
0ecb606c | 1139 | 2006-10-07 Ulrich Drepper <drepper@redhat.com> |
d6db0975 | 1140 | |
0ecb606c | 1141 | * po/tr.po: Update from translation team. |
afb24a10 | 1142 | |
0ecb606c | 1143 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
d6db0975 | 1144 | |
0ecb606c | 1145 | * po/pl.po: Update from translation team. |
d6db0975 | 1146 | |
0ecb606c | 1147 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
25325c85 | 1148 | |
0ecb606c JJ |
1149 | [BZ #3451] |
1150 | * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode | |
1151 | change atomic. | |
1152 | (ceil): Likewise. | |
25325c85 | 1153 | |
0ecb606c | 1154 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
80af9a48 | 1155 | |
0ecb606c JJ |
1156 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add |
1157 | noinline attribute. | |
80af9a48 | 1158 | |
0ecb606c | 1159 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> |
a5590b3a | 1160 | |
0ecb606c JJ |
1161 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add |
1162 | noinline attribute. | |
a5590b3a | 1163 | |
0ecb606c | 1164 | 2006-11-05 Ulrich Drepper <drepper@redhat.com> |
51ea6fc0 | 1165 | |
0ecb606c JJ |
1166 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): |
1167 | Update handling of cache descriptor 0x49 for new models. | |
1168 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): | |
1169 | Likewise. | |
eba19d2b | 1170 | |
0ecb606c | 1171 | 2006-11-08 Jakub Jelinek <jakub@redhat.com> |
eba19d2b | 1172 | |
0ecb606c JJ |
1173 | * elf/dl-load.c (decompose_rpath): Return bool rather than void. |
1174 | If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and | |
1175 | return false, otherwise return true. | |
1176 | (cache_rpath): Return decompose_rpath return value. | |
4d004cfb | 1177 | |
0ecb606c | 1178 | 2006-11-02 Jakub Jelinek <jakub@redhat.com> |
4d004cfb | 1179 | |
0ecb606c JJ |
1180 | * malloc/memusage.c (dest): Reset not_me back to false after |
1181 | printing statistics. | |
770d9b39 | 1182 | |
0ecb606c | 1183 | 2006-10-27 Ulrich Drepper <drepper@redhat.com> |
770d9b39 | 1184 | |
0ecb606c JJ |
1185 | * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and |
1186 | split out locking and parameter checking. | |
1187 | (_dl_close): Call _dl_close_worker after locking and checking. | |
1188 | * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of | |
1189 | _dl_close. | |
1190 | * elf/Makefile: Add rules to build and run tst-thrlock. | |
1191 | * elf/tst-thrlock.c: New file. | |
644eff0c | 1192 | |
0ecb606c JJ |
1193 | [BZ #3429] |
1194 | * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until | |
1195 | we are sure we do not need it anymore for _dl_close. Also move | |
1196 | the asserts inside the lock region. | |
1197 | Patch mostly by Suzuki <suzuki@in.ibm.com>. | |
644eff0c | 1198 | |
0ecb606c | 1199 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> |
30c06335 | 1200 | |
0ecb606c JJ |
1201 | * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses |
1202 | as signed longs, check for x_base + pos overflow. | |
1203 | * sunrpc/Makefile (tests): Add tst-xdrmem2. | |
1204 | * sunrpc/tst-xdrmem2.c: New test. | |
30c06335 | 1205 | |
0ecb606c | 1206 | 2006-10-16 Ulrich Drepper <drepper@redhat.com> |
30c06335 | 1207 | |
0ecb606c JJ |
1208 | [BZ #3369] |
1209 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 | |
1210 | and 7. | |
30c06335 | 1211 | |
0ecb606c | 1212 | 2006-10-13 Ulrich Drepper <drepper@redhat.com> |
2566e5f3 | 1213 | |
0ecb606c | 1214 | * elf/dl-minimal.c (realloc): Optimize last patch. |
2566e5f3 | 1215 | |
0ecb606c | 1216 | 2006-10-12 Richard Sandiford <richard@codesourcery.com> |
2566e5f3 | 1217 | |
0ecb606c JJ |
1218 | [BZ #3352] |
1219 | * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, | |
1220 | and use memcpy() if it does. | |
693aa149 | 1221 | |
0ecb606c | 1222 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> |
693aa149 | 1223 | |
0ecb606c | 1224 | * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. |
2e79a6bf | 1225 | |
0ecb606c | 1226 | 2006-10-10 Ulrich Drepper <drepper@redhat.com> |
2e79a6bf | 1227 | |
0ecb606c JJ |
1228 | * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH |
1229 | components which lack them. | |
90595fb6 | 1230 | |
0ecb606c JJ |
1231 | * nis/nis_subr.c (nis_getnames): Make sure that we always return |
1232 | at least one entry consisting of the parameter concatenated with | |
1233 | the domain. | |
6e9a9da6 | 1234 | |
0ecb606c | 1235 | 2006-10-09 Jakub Jelinek <jakub@redhat.com> |
90595fb6 | 1236 | |
0ecb606c JJ |
1237 | * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 |
1238 | rather than r->r_brk. | |
640b76b7 | 1239 | |
0ecb606c | 1240 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
640b76b7 | 1241 | |
0ecb606c JJ |
1242 | * nis/nis_table.c (nis_list): If __follow_path fails in the new |
1243 | code, make sure the nis_freeresult call doesn't crash and that the | |
1244 | result is reported correctly. | |
640b76b7 | 1245 | |
0ecb606c | 1246 | 2006-09-27 Jakub Jelinek <jakub@redhat.com> |
0569cbbc | 1247 | |
0ecb606c JJ |
1248 | * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS |
1249 | when callback is NULL. | |
640b76b7 | 1250 | |
0ecb606c JJ |
1251 | * nis/Versions (libnss_nisplus): Add |
1252 | _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. | |
1253 | * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. | |
1254 | * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, | |
1255 | _nss_create_tablename): Rename to... | |
1256 | (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): | |
1257 | ... these. No longer static. | |
1258 | (internal_setgrent): Adjust users. | |
1259 | (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. | |
1260 | Don't use locking around _nss_grp_create_tablename call. | |
1261 | * nis/nss_nisplus/nisplus-initgroups.c: New file. | |
cc6502dd | 1262 | |
0ecb606c | 1263 | 2006-10-06 Andreas Jaeger <aj@suse.de> |
cc6502dd | 1264 | |
0ecb606c | 1265 | * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. |
cc6502dd | 1266 | |
0ecb606c | 1267 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
3cabdafa | 1268 | |
0ecb606c | 1269 | * po/pl.po: Update from translation team. |
304815c6 | 1270 | |
0ecb606c JJ |
1271 | * nscd/nscd.c (main): Fix typo in message. |
1272 | Patch by Jakub Bogsz <qboosh@pld-linux.org>. | |
304815c6 | 1273 | |
0ecb606c | 1274 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
b6cef5b1 | 1275 | |
0ecb606c JJ |
1276 | [BZ #3291] |
1277 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
1278 | errno.h, signal.h, unistd.h and sysdep-cancel.h. | |
1279 | (__sigprocmask): Define. | |
b6cef5b1 | 1280 | |
0ecb606c | 1281 | 2006-10-02 Ulrich Drepper <drepper@redhat.com> |
f98ca075 | 1282 | |
0ecb606c JJ |
1283 | * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is |
1284 | used. | |
f98ca075 | 1285 | |
0ecb606c | 1286 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
c0e81b36 | 1287 | |
0ecb606c JJ |
1288 | * nscd/mem.c (mempool_alloc): Round array size to 16 bytes |
1289 | in oldtotal and newtotal calculation. | |
1290 | * nscd/nscd-client.h (struct mapped_database): Add datasize | |
1291 | field. | |
1292 | * nscd/nscd_helper.c (get_mapping): Initialize datasize field. | |
1293 | (__nscd_get_map_ref): Get a new mapping even if mapping's data_size | |
1294 | increased. | |
1295 | (__nscd_cache_search): Add checks to make sure we never reference | |
1296 | data beyond the current mapping. | |
c0e81b36 | 1297 | |
0ecb606c | 1298 | 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> |
28f9ebd7 | 1299 | |
0ecb606c JJ |
1300 | * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val |
1301 | variables const to avoid compiler warnings. | |
8799d935 | 1302 | |
0ecb606c JJ |
1303 | * io/fts.c (fts_close): Remove redundant checks. |
1304 | (fts_build): Likewise. | |
1305 | (fts_palloc): Likewise. | |
19c589d9 | 1306 | |
0ecb606c JJ |
1307 | * manual/message.texi (Advanced gettext functions, |
1308 | Using gettextized software): Fix typos. | |
61c6385d | 1309 | |
0ecb606c | 1310 | 2006-09-30 Ulrich Drepper <drepper@redhat.com> |
28f9ebd7 | 1311 | |
0ecb606c JJ |
1312 | * posix/glob.c (glob_in_dir): Add some comments and asserts to |
1313 | explain why there are no leaks. | |
d09ca7fa | 1314 | |
0ecb606c | 1315 | 2006-09-29 Ulrich Drepper <drepper@redhat.com> |
5ce59aa6 | 1316 | |
0ecb606c JJ |
1317 | * libio/wmemstream.c: Include <wchar.h>. |
1318 | * libio/bug-wmemstream1.c: Likewise. | |
1319 | * libio/tst-wmemstream1.c: Likewise. | |
1320 | * libio/tst-wmemstream2.c: Likewise. | |
d09ca7fa | 1321 | |
0ecb606c JJ |
1322 | * version.h (RELEASE): Bump to 2.5. |
1323 | * README: Regenerated. | |
fe6cc2ae | 1324 | |
0ecb606c | 1325 | * locale/iso-3166.def: Add Aaland Islands and Montenegro. |
fe6cc2ae | 1326 | |
0ecb606c JJ |
1327 | [BZ #3273] |
1328 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have | |
1329 | found no group members. | |
1330 | Patch by Petr Baudis. | |
fe6cc2ae | 1331 | |
0ecb606c | 1332 | 2006-09-29 Jakub Jelinek <jakub@redhat.com> |
0a1be815 | 1333 | |
0ecb606c JJ |
1334 | * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't |
1335 | assert bootstrap_map.l_tls_modid is zero. | |
1336 | (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 | |
1337 | if USE___THREAD. | |
c14e9135 | 1338 | |
0ecb606c | 1339 | 2006-09-27 Ulrich Drepper <drepper@redhat.com> |
807645d7 | 1340 | |
0ecb606c JJ |
1341 | * libio/stdio.h: Move open_wmemstream prototype to ... |
1342 | * wcsmbs/wchar.h: ... here. | |
0b755dc4 | 1343 | |
0ecb606c | 1344 | 2006-09-25 Jakub Jelinek <jakub@redhat.com> |
78512c00 | 1345 | |
0ecb606c JJ |
1346 | [BZ #3252] |
1347 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only | |
1348 | fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call | |
1349 | __{,l}chown to handle the rest. | |
1350 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only | |
1351 | fchownat syscall and __ASSUME_32BITUIDS case inline, call | |
1352 | __{,l}chown to handle the rest. | |
1353 | * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include | |
1354 | i386/fchownat.c. | |
1355 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. | |
1356 | * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. | |
020a9a23 | 1357 | |
0ecb606c JJ |
1358 | [BZ #3253] |
1359 | * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a | |
1360 | time, rather allocate increasingly bigger arrays of pointers, if | |
1361 | possible with alloca, if too large with malloc. | |
0b3cce31 | 1362 | |
0ecb606c | 1363 | 2006-09-24 Jakub Jelinek <jakub@redhat.com> |
f58dc022 | 1364 | |
0ecb606c | 1365 | * sysdeps/powerpc/fpu/libm-test-ulps: Updated. |
1750bc8d | 1366 | |
0ecb606c | 1367 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. |
0a1be815 | 1368 | |
0ecb606c | 1369 | 2006-09-24 Ulrich Drepper <drepper@redhat.com> |
65e70412 | 1370 | |
0ecb606c JJ |
1371 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, |
1372 | home addresses. | |
1373 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize | |
1374 | IFA_F_HOMEADDRESS flag for interfaces. | |
1375 | * include/ifaddrs.h (struct in6addrinfo): Define | |
1376 | in6ai_homeaddress. | |
d3c99ad1 | 1377 | |
0ecb606c | 1378 | 2006-09-21 Jakub Jelinek <jakub@redhat.com> |
65e70412 | 1379 | |
0ecb606c JJ |
1380 | [BZ #3225] |
1381 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, | |
1382 | PTR_DEMANGLE3): Define. | |
1383 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, | |
1384 | PTR_DEMANGLE3): Likewise. | |
1385 | * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. | |
1386 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
87bb6b6c | 1387 | Likewise. |
0ecb606c JJ |
1388 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. |
1389 | ||
1390 | 2006-09-20 Jakub Jelinek <jakub@redhat.com> | |
1391 | ||
1392 | * po/libc.pot: Regenerated. | |
1393 | * po/be.po: Updated. | |
1394 | * po/ca.po: Likewise. | |
1395 | * po/cs.po: Likewise. | |
1396 | * po/da.po: Likewise. | |
1397 | * po/de.po: Likewise. | |
1398 | * po/el.po: Likewise. | |
1399 | * po/en_GB.po: Likewise. | |
1400 | * po/es.po: Likewise. | |
1401 | * po/fi.po: Likewise. | |
1402 | * po/fr.po: Likewise. | |
1403 | * po/gl.po: Likewise. | |
1404 | * po/hr.po: Likewise. | |
1405 | * po/hu.po: Likewise. | |
1406 | * po/ja.po: Likewise. | |
1407 | * po/ko.po: Likewise. | |
1408 | * po/nb.po: Likewise. | |
1409 | * po/nl.po: Likewise. | |
87bb6b6c | 1410 | * po/pl.po: Likewise. |
0ecb606c JJ |
1411 | * po/pt_BR.po: Likewise. |
1412 | * po/ru.po: Likewise. | |
1413 | * po/rw.po: Likewise. | |
1414 | * po/sk.po: Likewise. | |
1415 | * po/sv.po: Likewise. | |
1416 | * po/tr.po: Likewise. | |
1417 | * po/zh_CN.po: Likewise. | |
1418 | * po/zh_TW.po: Likewise. | |
1419 | ||
1420 | [BZ #3137] | |
1421 | * iconv/iconv_prog.c (main): Fix spelling in error message. | |
1422 | * iconv/iconvconfig.c (main): Likewise. | |
1423 | * locale/programs/ld-collate.c (handle_ellipsis): Likewise. | |
1424 | * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. | |
1425 | * locale/programs/localedef.c (main): Likewise. | |
1426 | * locale/programs/repertoire.c (repertoire_read): Likewise. | |
1427 | * timezone/zdump.c (main): Likewise. | |
1428 | * nscd/connections.c (handle_request): Fix spelling in log message. | |
1429 | Patch by Malcolm Parsons <malcolm.parsons@gmail.com>. | |
1430 | ||
1431 | 2006-09-20 Ulrich Drepper <drepper@redhat.com> | |
1432 | ||
1433 | * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 | |
1434 | interfaces. | |
1435 | ||
1436 | 2006-09-20 Andreas Jaeger <aj@suse.de> | |
1437 | ||
1438 | * math/libm-test.inc (lrint_test_upward): Fix typo. | |
1439 | ||
1440 | 2006-06-17 Joseph S. Myers <joseph@codesourcery.com> | |
1441 | ||
1442 | [BZ #2592] | |
1443 | * math/libm-test.inc (lrint_test_tonearest): New function. | |
1444 | (lrint_test_towardzero): New function. | |
1445 | (lrint_test_downward): New function. | |
1446 | (lrint_test_upward): New function. | |
1447 | (main): Run these new tests. | |
1448 | * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding | |
1449 | of values near to 0. | |
1450 | (two52): Use double not long double. | |
1451 | * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. | |
1452 | * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. | |
1453 | (two23): Use float not double. | |
1454 | * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. | |
1455 | (two23): Use float not double. | |
1456 | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. | |
1457 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. | |
1458 | * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. | |
1459 | * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. | |
1460 | ||
1461 | 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
1462 | ||
1463 | * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): | |
1464 | Cast sp to unsigned long to avoid compiler warning. | |
1465 | Use __makecontext_ret function instead of a trampoline on the stack. | |
1466 | (__makecontext_ret): New function. | |
1467 | * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. | |
1468 | ||
1469 | 2006-09-19 Jakub Jelinek <jakub@redhat.com> | |
1470 | ||
1471 | * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but | |
1472 | platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM | |
1473 | bits. | |
1474 | ||
1475 | 2006-09-19 Ulrich Drepper <drepper@redhat.com> | |
1476 | ||
1477 | * elf/dl-close.c (_dl_close): If dependency is not unloaded make | |
1478 | sure no reference to the unloaded map's search list remains in the | |
1479 | dependency's scope. | |
1480 | ||
1481 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
1482 | ||
1483 | * elf/Makefile: Add rules to build and run unload7 test. | |
1484 | * elf/unload7.c: New test. | |
1485 | * elf/unload7mod1.c: New file. | |
1486 | * elf/unload7mod2.c: New file. | |
1487 | ||
1488 | 2006-09-18 Jakub Jelinek <jakub@redhat.com> | |
1489 | ||
1490 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. | |
1491 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, | |
1492 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
1493 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
1494 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
1495 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
1496 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
1497 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, | |
1498 | PTRACE_GETEVENTMSG): Likewise. | |
1499 | (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent | |
1500 | values. | |
269e6e07 | 1501 | |
0ecb606c JJ |
1502 | 2006-09-17 Mike Frysinger <vapier@gentoo.org> |
1503 | ||
1504 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, | |
1505 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
1506 | * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, | |
1507 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. | |
1508 | ||
1509 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
1510 | ||
1511 | * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't | |
1512 | write '\0' to the fd. | |
1513 | * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. | |
1514 | * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. | |
1515 | Change regs to unsigned long pointer from unsigned int, fix fscr | |
1516 | offset. | |
1517 | ||
1518 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> | |
1519 | ||
1520 | * io/Makefile (CFLAGS-fstatat.c): Set. | |
1521 | (CFLAGS-fstatat64.c): Likewise. | |
1522 | (CFLAGS-mknodat.c): Likewise. | |
1523 | ||
1524 | * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. | |
1525 | * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. | |
1526 | * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. | |
1527 | * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. | |
1528 | ||
1529 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> | |
1530 | Steven Munroe <sjmunroe@us.ibm.com> | |
1531 | ||
1532 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap | |
1533 | names to the beginning. Rename "cell" to "cellbe". | |
1534 | (_dl_powerpc_platforms): New. | |
1535 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
1536 | (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. | |
1537 | (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. | |
1538 | (_DL_HWCAP_PLATFORM): Define to new mask. | |
1539 | (_dl_platform_string, _dl_string_platform): New functions. | |
1540 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, | |
1541 | PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. | |
1542 | ||
1543 | 2006-09-12 Jakub Jelinek <jakub@redhat.com> | |
1544 | ||
1545 | [BZ #2526] | |
1546 | * README.libm: Fix a thinko in sqrt algorithm description. | |
1547 | ||
1548 | [BZ #3143] | |
1549 | * manual/string.texi (argz_delete): Fix prototype. | |
1550 | Patch by <alpt@freaknet.org>. | |
1551 | ||
1552 | 2006-08-26 Joseph Myers <joseph@codesourcery.com> | |
1553 | ||
1554 | [BZ #3138] | |
1555 | * io/test-lfs.c (do_prepare): Give name_len type size_t. | |
1556 | * io/tst-fcntl.c (do_prepare): Likewise. | |
1557 | * posix/tst-exec.c (do_prepare): Likewise. | |
1558 | * posix/tst-preadwrite.c (do_prepare): Likewise. | |
1559 | * posix/tst-spawn.c (do_prepare): Likewise. | |
1560 | * posix/tst-truncate.c (do_prepare): Likewise. | |
1561 | * rt/tst-aio.c (do_prepare): Likewise. | |
1562 | * rt/tst-aio64.c (do_prepare): Likewise. | |
1563 | * stdlib/test-canon2.c (do_prepare): Give test_dir_len type | |
1564 | size_t. | |
1565 | ||
1566 | 2006-09-09 Ulrich Drepper <drepper@redhat.com> | |
1567 | ||
1568 | [BZ #2821] | |
1569 | * time/mktime.c (guess_time_tm): Fix overflow detection. | |
1570 | * time/Makefile (tests): Add bug-mktime1. | |
1571 | * time/bug-mktime1.c: New file. | |
1572 | ||
1573 | [BZ #3189, #3188] | |
1574 | * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. | |
1575 | (mremap): Likewise. | |
1576 | ||
1577 | 2006-09-07 Jakub Jelinek <jakub@redhat.com> | |
1578 | ||
1579 | [BZ #1006] | |
1580 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): | |
1581 | Ensure relocation doesn't clobber any bits outside of the | |
1582 | immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, | |
1583 | R_SPARC_HI22 and R_SPARC_H44. | |
1584 | ||
1585 | [BZ #2775] | |
1586 | * malloc/malloc.c (sYSMALLOc): Only call grow_heap if | |
1587 | (long) (MINSIZE + nb - old_size) is positive. | |
1588 | ||
1589 | * malloc/arena.c (grow_heap): When growing bail even if new_size | |
1590 | is negative. | |
490998a5 | 1591 | |
0ecb606c JJ |
1592 | [BZ #3155] |
1593 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access | |
1594 | stack below r1. | |
f3285f86 | 1595 | |
0ecb606c | 1596 | 2006-09-06 Jakub Jelinek <jakub@redhat.com> |
f89d6892 | 1597 | |
0ecb606c JJ |
1598 | * posix/regex_internal.c (re_string_reconstruct): Handle |
1599 | offset < pstr->valid_raw_len && pstr->offsets_needed case. | |
1600 | Ensure no bytes read before raw_mbs array. Pass a saved copy of | |
1601 | pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to | |
1602 | re_string_context_at. | |
1603 | * posix/Makefile: Add rules to build and run bug-regex26 test. | |
1604 | * posix/bug-regex26.c: New test. | |
f89d6892 | 1605 | |
0ecb606c JJ |
1606 | * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free |
1607 | rather than col_sym_free. Move seqp declaration earlier. | |
a8870a61 | 1608 | |
0ecb606c | 1609 | * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. |
a8870a61 | 1610 | |
0ecb606c | 1611 | 2006-09-05 Jakub Jelinek <jakub@redhat.com> |
deddf809 | 1612 | |
0ecb606c JJ |
1613 | * nscd/initgrcache.c (addinitgroupsX): Move any_success |
1614 | decl before first goto out. | |
deddf809 | 1615 | |
0ecb606c | 1616 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
06bfee07 | 1617 | |
0ecb606c JJ |
1618 | * Makerules (shlib.lds): If have-hash-style, put .hash section |
1619 | at the end of the RO segment. | |
06bfee07 | 1620 | |
0ecb606c | 1621 | 2006-09-04 Ulrich Drepper <drepper@redhat.com> |
7a80496f | 1622 | |
0ecb606c JJ |
1623 | * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new |
1624 | style hash table format is used. | |
7a80496f | 1625 | |
0ecb606c | 1626 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
7a80496f | 1627 | |
0ecb606c JJ |
1628 | * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after |
1629 | randomization rather than before. | |
1630 | * resolv/res_init.c (res_randomid): Don't call gettimeofday here. | |
7a80496f | 1631 | |
0ecb606c | 1632 | 2006-08-31 Jakub Jelinek <jakub@redhat.com> |
3426e770 | 1633 | |
0ecb606c | 1634 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. |
3426e770 | 1635 | |
0ecb606c JJ |
1636 | * malloc/malloc.c (_int_malloc): Use full list insert and not |
1637 | shortcut which assumes the list is empty for large requests | |
1638 | too. | |
54c36b13 | 1639 | |
0ecb606c | 1640 | * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". |
3426e770 | 1641 | |
0ecb606c | 1642 | 2006-08-30 Jakub Jelinek <jakub@redhat.com> |
54c36b13 | 1643 | |
0ecb606c JJ |
1644 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin |
1645 | and offout arguments to the prototype. | |
1646 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. | |
1647 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. | |
1648 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. | |
1649 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. | |
1650 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. | |
1651 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. | |
1652 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. | |
1653 | * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. | |
f87475f7 | 1654 | |
0ecb606c | 1655 | 2006-08-28 Ulrich Drepper <drepper@redhat.com> |
f87475f7 | 1656 | |
0ecb606c | 1657 | * elf/dl-load.c (_dl_init_paths): Expand DSTs. |
2ed2dc18 | 1658 | |
0ecb606c JJ |
1659 | * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in |
1660 | dlopen parameters. | |
2ed2dc18 | 1661 | |
0ecb606c | 1662 | 2006-08-28 Jakub Jelinek <jakub@redhat.com> |
84b5ba7e | 1663 | |
0ecb606c JJ |
1664 | * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno |
1665 | only if herrno is NETDB_INTERNAL. Handle errors other than | |
1666 | ERANGE outside of the loops, handle TRY_AGAIN. | |
918f187f | 1667 | |
0ecb606c JJ |
1668 | * locale/programs/ld-ctype.c (translit_flatten): Issue error |
1669 | if other's ctype category was missing. | |
1670 | * locale/programs/ld-collate.c (collate_read): Return if | |
1671 | copy_locale's collate category is missing. | |
99bb9f42 | 1672 | |
0ecb606c | 1673 | 2006-08-27 Ulrich Drepper <drepper@redhat.com> |
99bb9f42 | 1674 | |
0ecb606c JJ |
1675 | [BZ #2684] |
1676 | * malloc/malloc.c (public_rEALLOc): Try harder by using other | |
1677 | arenas if allocation failed. | |
1678 | Patch mostly by Jan Edler <jan.edler@indexengines.com>. | |
6f53de74 | 1679 | |
0ecb606c | 1680 | 2006-08-26 Ulrich Drepper <drepper@redhat.com> |
6f53de74 | 1681 | |
0ecb606c JJ |
1682 | * malloc/malloc.c (bin_at): Rewrite to be more clear and to not |
1683 | waste bins[0..1]. | |
1684 | (malloc_state): Reduce bins size by 2. | |
1685 | (_int_malloc): Fix test for large enough buffer for early termination. | |
1686 | When no unsorted block matches perfectly and an exiting block has | |
1687 | to be split, use full list insert and not shortcut which assumes | |
1688 | the list is empty. | |
1b6840e5 | 1689 | |
0ecb606c JJ |
1690 | * locale/programs/ld-ctype.c (ctype_read): Better patch for read |
1691 | failure. | |
77d60040 | 1692 | |
0ecb606c | 1693 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
531b71dd | 1694 | |
0ecb606c JJ |
1695 | * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't |
1696 | do anything. | |
531b71dd | 1697 | |
0ecb606c JJ |
1698 | * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined |
1699 | symbol require exact match (these are PLTs). | |
1700 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h | |
1701 | (_dl_ppc64_addr_sym_match): Likewise. | |
f17ed1a9 | 1702 | |
0ecb606c JJ |
1703 | [BZ #2683] |
1704 | * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. | |
1705 | If symbol has a value use it. | |
1706 | * elf/tst-dladdr1.c: New file. | |
1707 | * elf/Makefile: Add rules to build and run tst-addr1. | |
06eee9f5 | 1708 | |
0ecb606c | 1709 | 2006-08-24 Jakub Jelinek <jakub@redhat.com> |
f17ed1a9 | 1710 | |
0ecb606c JJ |
1711 | * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP |
1712 | keeps failing and heap growth or new heap creation isn't | |
1713 | successful either. | |
1714 | * malloc/tst-malloc.c (main): Add new tests. | |
290639c3 | 1715 | |
0ecb606c | 1716 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
290639c3 | 1717 | |
0ecb606c JJ |
1718 | [BZ #2734] |
1719 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions | |
1720 | as in the x86-64 code to use bswap. | |
6c1232e2 | 1721 | |
0ecb606c | 1722 | 2006-05-21 Joseph S. Myers <joseph@codesourcery.com> |
6c1232e2 | 1723 | |
0ecb606c JJ |
1724 | [BZ #2680] |
1725 | * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not | |
1726 | __USE_UNIX98. | |
1727 | * posix/bits/unistd.h: Likewise. | |
69a64e9b | 1728 | |
0ecb606c | 1729 | 2006-05-15 Mike Frysinger <vapier@gentoo.org> |
69a64e9b | 1730 | |
0ecb606c JJ |
1731 | [BZ #2751] |
1732 | * string/strchr.c: Add cast to avoid warning. | |
85fdc62b | 1733 | |
0ecb606c | 1734 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
85fdc62b | 1735 | |
0ecb606c JJ |
1736 | * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit |
1737 | platforms define as 512K. For 64-bit platforms as 32MB. The lower | |
1738 | limit is needed to avoid the exploding of the address space | |
1739 | requirement for secondary heaps. | |
1740 | * malloc/arena.c (HEAP_MAX_SIZE): Define using | |
1741 | DEFAULT_MMAP_THRESHOLD_MAX if it is defined. | |
ee600e3f | 1742 | |
0ecb606c | 1743 | 2006-07-30 Joseph S. Myers <joseph@codesourcery.com> |
ee600e3f | 1744 | |
0ecb606c JJ |
1745 | [BZ #3018] |
1746 | * Makerules (depfiles): Handle extra-test-objs the same as | |
1747 | extra-objs. | |
1748 | (common-mostlyclean): Likewise. | |
1749 | * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs | |
1750 | instead. | |
1751 | * elf/Makefile (extra-objs): Likewise. | |
1752 | * stdlib/Makefile (extra-objs): Likewise. | |
ee600e3f | 1753 | |
0ecb606c | 1754 | 2006-08-14 Eric Blake <ebb9@byu.net> |
ee600e3f | 1755 | |
0ecb606c JJ |
1756 | [BZ #3044] |
1757 | * misc/error.h: Assume C89 or better. | |
1758 | * misc/error.c: Likewise. | |
ee600e3f | 1759 | |
0ecb606c | 1760 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
ee600e3f | 1761 | |
0ecb606c JJ |
1762 | [BZ #3040] |
1763 | * sysdeps/unix/sysv/linux/openat.c: Fix compilation if | |
1764 | __ASSUME_ATFCTS is defined. | |
d199bfb2 | 1765 | |
0ecb606c | 1766 | 2006-08-19 Ulrich Drepper <drepper@redhat.com> |
d199bfb2 | 1767 | |
0ecb606c JJ |
1768 | * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks |
1769 | to sort in each call. | |
259fc9c5 | 1770 | |
0ecb606c JJ |
1771 | * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map |
1772 | is empty simply return and use next service. | |
1773 | * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. | |
259fc9c5 | 1774 | |
0ecb606c JJ |
1775 | * locale/programs/charmap.c (charmap_read): Add new parameter. It |
1776 | tells us when not finding a charmap file is an error. | |
1777 | * locale/programs/charmap.h: Adjust charmap_read prototype. | |
1778 | * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we | |
1779 | cannot find a charmap. | |
1780 | * locale/programs/localedef.c (main): Adjust charmap_read call. | |
c61a8bb4 | 1781 | |
0ecb606c | 1782 | 2006-08-15 Jakub Jelinek <jakub@redhat.com> |
c61a8bb4 | 1783 | |
0ecb606c JJ |
1784 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use |
1785 | sysdeps/posix/pause.c implementation instead. | |
c61a8bb4 | 1786 | |
0ecb606c | 1787 | 2006-08-09 Jakub Jelinek <jakub@redhat.com> |
ec5a15a3 | 1788 | |
0ecb606c JJ |
1789 | * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority |
1790 | to EPERM. | |
ec5a15a3 | 1791 | |
0ecb606c | 1792 | 2006-08-13 Andreas Schwab <schwab@suse.de> |
8e5aaad9 | 1793 | |
0ecb606c JJ |
1794 | * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): |
1795 | Don't clobber caller's LRSAVE. | |
1796 | (_dl_prof_resolve): Likewise. | |
8e5aaad9 | 1797 | |
0ecb606c | 1798 | 2006-08-14 Ulrich Drepper <drepper@redhat.com> |
4183d2a7 | 1799 | |
0ecb606c JJ |
1800 | [BZ #1996] |
1801 | * libio/memstream.c (open_memstream): Allocate initial buffer with | |
1802 | calloc. | |
1803 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
1804 | * libio/strops.c: Pretty printing. | |
1805 | (_IO_str_overflow): Clear uninitialized part of the new buffer. | |
1806 | (enlarge_userbuf): New function. | |
1807 | (_IO_str_seekoff): Call it if seek position is larger than current | |
1808 | buffer. | |
1809 | * libio/wstrops.c: Likewise. | |
1810 | * libio/vasprintf.c: Add comment as to why we do not have to use | |
1811 | calloc instead of malloc to allocate initial buffer. | |
1812 | * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. | |
1813 | * libio/bug-memstream1.c: New file. | |
1814 | * libio/bug-wmemstream1.c: New file. | |
4183d2a7 | 1815 | |
0ecb606c | 1816 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> |
321e8782 | 1817 | |
0ecb606c JJ |
1818 | * libio/wstrops.c: Remove dead macro definitions and comments. |
1819 | * libio/strops.c: Likewise. | |
f8ea3acb | 1820 | |
0ecb606c JJ |
1821 | [BZ #2764] |
1822 | * login/utmpname.c (__utmpname): Remove unnecessary test. | |
f8ea3acb | 1823 | |
0ecb606c | 1824 | 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> |
f8ea3acb | 1825 | |
0ecb606c JJ |
1826 | [BZ #2832] |
1827 | * math/gen-libm-test.pl (clean_up_number): Do not remove trailing | |
1828 | 0s from integers. | |
9f5d26e2 | 1829 | |
0ecb606c | 1830 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> |
9f5d26e2 | 1831 | |
0ecb606c JJ |
1832 | [BZ #2987] |
1833 | * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall | |
1834 | for CPU clocks. | |
1835 | * sysdeps/unix/clock_settime.c: Add support for platform-specific | |
1836 | setting of CPU clocks. | |
f9f70e68 | 1837 | |
0ecb606c | 1838 | 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> |
f9f70e68 | 1839 | |
0ecb606c JJ |
1840 | [BZ #2841] |
1841 | * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', | |
1842 | since C99 requires the result to promote to 'int' when uint_least8_t | |
1843 | and uint_least16_t promote to 'int'. | |
f5164429 | 1844 | |
0ecb606c | 1845 | 2006-08-12 Ulrich Drepper <drepper@redhat.com> |
f5164429 | 1846 | |
0ecb606c JJ |
1847 | [BZ #3013] |
1848 | * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix | |
1849 | lenght of one output field, correct bitmask creation. | |
1850 | * locale/programs/ld-time.c: Add alignment. | |
f5164429 | 1851 | |
0ecb606c JJ |
1852 | [BZ #2997] |
1853 | * misc/error.c: Add space between program name and message if file | |
1854 | name is missing. | |
0b8d1390 | 1855 | |
0ecb606c | 1856 | 2006-08-03 Eric Blake <ebb9@byu.net> |
0b8d1390 | 1857 | |
0ecb606c JJ |
1858 | [BZ #2998] |
1859 | * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. | |
d3d35527 | 1860 | |
0ecb606c | 1861 | 2006-08-09 Ulrich Drepper <drepper@redhat.com> |
d3d35527 | 1862 | |
0ecb606c | 1863 | * malloc/memusagestat.c: Silence warnings. |
5fa2f83c | 1864 | |
0ecb606c JJ |
1865 | * malloc/malloc.c: Dynamically size mmap treshold if the program |
1866 | frees mmaped blocks. | |
1867 | Patch by Valerie Henson and Arjan van de Ven. | |
5fa2f83c | 1868 | |
0ecb606c | 1869 | 2006-08-08 Jakub Jelinek <jakub@redhat.com> |
414650c5 | 1870 | |
0ecb606c JJ |
1871 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with |
1872 | __USE_GNU. | |
16ac7d45 | 1873 | |
0ecb606c JJ |
1874 | * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, |
1875 | __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. | |
1876 | (DEF): Don't put the var into .gnu.linkonce.r.* section. | |
1877 | Only provide var definitions in strtol_l (or for *ull* | |
1878 | in strtoll_l). | |
414650c5 | 1879 | |
0ecb606c JJ |
1880 | * stdio-common/bug16.c (tests): New array. |
1881 | (do_tests): Allow the first hexadecimal digit | |
1882 | to be 1, 2, 4 or 8. Do 3 additional tests. | |
414650c5 | 1883 | |
0ecb606c | 1884 | * sysdeps/s390/fpu/libm-test-ulps: Update. |
414650c5 | 1885 | |
0ecb606c JJ |
1886 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use |
1887 | fchownat syscall if available. | |
1888 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. | |
1889 | * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. | |
1890 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. | |
e1be0bc5 | 1891 | |
0ecb606c | 1892 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
e1be0bc5 | 1893 | |
0ecb606c | 1894 | * nis/nis_xdr.c: Avoid some function calls. |
e1be0bc5 | 1895 | |
0ecb606c JJ |
1896 | 2006-08-07 Jakub Jelinek <jakub@redhat.com> |
1897 | Ulrich Drepper <drepper@redhat.com> | |
e1be0bc5 | 1898 | |
0ecb606c JJ |
1899 | * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take |
1900 | short cut if only one name component is stripped away. | |
1901 | ||
1902 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> | |
1903 | ||
1904 | * nis/nis_call.c: Minor cleanups throughout. | |
1905 | (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. | |
1906 | (first_shoot): Add search_parent_first parameter. Only if it is set | |
1907 | search parent server first. | |
1908 | If directory for table found through cold start cache is not the same | |
1909 | as referenced in the cache, don't use it. | |
1910 | (__nisfind_server): Take additional parameter. Pass it on to | |
1911 | first_shoot. | |
1912 | (__prepare_niscall): Adjust __nisfind_server call. | |
1913 | * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. | |
1914 | * nis/nis_table.c: Adjust __nisfind_server call. | |
1915 | * nis/nis_lookup.c: Likewise. | |
1916 | (nis_lookup): Don't loop endlessly if name is reduced to ".". | |
e1be0bc5 | 1917 | |
0ecb606c | 1918 | 2006-08-03 Ulrich Drepper <drepper@redhat.com> |
346f18ae | 1919 | |
0ecb606c JJ |
1920 | [BZ #2182] |
1921 | * math/s_cacosh.c: Return values from positive branch. | |
1922 | * math/s_cacoshf.c: Likewise. | |
1923 | * math/s_cacoshl.c: Likewise. | |
346f18ae | 1924 | |
0ecb606c JJ |
1925 | [BZ #2883] |
1926 | * sysvipc/sys/msg.h: Change return value to ssize_t. | |
1927 | * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. | |
1928 | * sysvipc/msgrcv.c: Likewise. | |
1929 | * include/sys/msg.h: Likewise. | |
346f18ae | 1930 | |
0ecb606c JJ |
1931 | * grp/initgroups.c (internal_getgrouplist): Remove unnecessary |
1932 | test introduced in patch for bz #661. | |
1933 | (getgrouplist): Simplify code a bit. Don't allocate one additional | |
1934 | element for NEWGROUPS. | |
346f18ae | 1935 | |
0ecb606c JJ |
1936 | [BZ #2908] |
1937 | * stdio-common/printf_fphex.c (__printf_fphex): When rounding up | |
1938 | 'f', use '1' as leading digit not '\1'. | |
1939 | * stdio-common/Makefile (tests): Add bug16. | |
1940 | * stdio-common/bug16.c: New file. | |
340ef046 | 1941 | |
0ecb606c JJ |
1942 | [BZ #2914] |
1943 | * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE | |
1944 | and don't try to open it. The patch introducing the macro | |
1945 | contained a bug and used the same file name as the new file | |
1946 | instead of using /var/adm/hostid. Nobody complaint so I'm taking | |
1947 | this out completely. | |
539842a4 | 1948 | |
0ecb606c JJ |
1949 | [BZ #2926] |
1950 | * assert/assert.h: Move cast to void inside ?: to quiet gcc. | |
1951 | Patch by Jerry James <Jerry.James@usu.edu>. | |
482bbeb9 | 1952 | |
0ecb606c JJ |
1953 | * rt/Makefile (tests): Add tst-clock2. |
1954 | * rt/tst-clock2.c: New file. | |
340ef046 | 1955 | |
0ecb606c JJ |
1956 | [BZ #2978] |
1957 | * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread | |
1958 | function and its parameters and pass it to new thread. | |
1959 | (__gai_notify): Add support for alternative waiting for completion. | |
1960 | * resolv/gai_suspend.c (gai_suspend): Add support for alternative | |
1961 | waiting for completion. | |
1962 | * resolv/getaddrinfo_a.c: Likewise. | |
1963 | * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative | |
1964 | waiting for completion is used. | |
1965 | * resolv/gai_misc.c: Allow overwriting code to start helper thread. | |
1966 | * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h". | |
1967 | * resolv/gai_error.c: Likewise. | |
1968 | * resolv/gai_sigqueue.c: Likewise. | |
f2481c31 | 1969 | |
0ecb606c | 1970 | 2006-08-02 Thomas Schwinge <tschwinge@gnu.org> |
f2481c31 | 1971 | |
0ecb606c JJ |
1972 | * hurd/getdport.c (__getdport): Don't return EBADF; instead set |
1973 | errno to EBADF and return MACH_PORT_NULL. | |
f2481c31 | 1974 | |
0ecb606c | 1975 | 2006-06-23 Joseph Myers <joseph@codesourcery.com> |
17fb9c53 | 1976 | |
0ecb606c JJ |
1977 | [BZ #2980] |
1978 | * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. | |
17fb9c53 | 1979 | |
0ecb606c | 1980 | 2006-08-02 Ulrich Drepper <drepper@redhat.com> |
5a6ae8da | 1981 | |
0ecb606c JJ |
1982 | * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, |
1983 | walk them instead of the symbol table. | |
163288fe | 1984 | |
0ecb606c | 1985 | 2006-08-01 Ulrich Drepper <drepper@redhat.com> |
5a6ae8da | 1986 | |
0ecb606c JJ |
1987 | [BZ #2098] |
1988 | * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by | |
1989 | status of NSS calls, not the number of returned entries. | |
262788c3 | 1990 | |
0ecb606c JJ |
1991 | * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, |
1992 | request_key, keyctl. | |
62780824 | 1993 | |
0ecb606c | 1994 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
62780824 | 1995 | |
0ecb606c | 1996 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. |
262788c3 | 1997 | |
0ecb606c | 1998 | 2006-07-16 Jeff Bailey <jbailey@ubuntu.com> |
edc1aa3d | 1999 | |
0ecb606c | 2000 | * elf/tst-auditmod1.c: Fix typo in #error. |
edc1aa3d | 2001 | |
0ecb606c | 2002 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
edc1aa3d | 2003 | |
0ecb606c | 2004 | * elf/tst-auditmod1.c: Remove code for unsupported architectures. |
edc1aa3d | 2005 | |
0ecb606c | 2006 | * iconvdata/run-iconv-test.sh: Run cmp in C locale. |
edc1aa3d | 2007 | |
0ecb606c | 2008 | 2006-07-20 Adam Nemet <anemet@caviumnetworks.com> |
edc1aa3d | 2009 | |
0ecb606c JJ |
2010 | * stdlib/test-canon.c (do_test): Close fd before unlinking file so |
2011 | that the directory is empty even on non-POSIX filesystems. | |
edc1aa3d | 2012 | |
0ecb606c | 2013 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
edc1aa3d | 2014 | |
0ecb606c | 2015 | * elf/dl-open.c (dl_open_worker): Add branch prediction. |
edc1aa3d | 2016 | |
0ecb606c JJ |
2017 | * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into |
2018 | the backend NSS module. If backend setgrent call failed, don't have | |
2019 | internal_setgrent fail. Just remember this until it is needed. | |
2020 | * nis/nss_compat/compat-pwd.c: Likewise. | |
2021 | * nis/nss_compat/compat-spwd.c: Likewise. | |
2022 | ||
2023 | 2006-07-30 Roland McGrath <roland@redhat.com> | |
2024 | ||
2025 | * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. | |
2026 | * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. | |
2027 | * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. | |
2028 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. | |
2029 | ||
2030 | * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. | |
2031 | (nanosleep_not_cancel): New macro. | |
2032 | (sigsuspend_not_cancel): new macro. | |
2033 | * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] | |
2034 | (do_sigsuspend): Define as inline. | |
2035 | (__sigsuspend): Always use do_sigsuspend. | |
2036 | [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. | |
2037 | * include/signal.h: Declare __sigsuspend_nocancel. | |
2038 | * sysdeps/posix/pause.c | |
2039 | [! NO_CANCELLATION] (__pause_nocancel): New function. | |
2040 | ||
2041 | * include/unistd.h (__pause_nocancel): Add attribute_hidden. | |
2042 | * include/time.h (__nanosleep_nocancel): Likewise. | |
2043 | ||
2044 | 2006-07-30 Ulrich Drepper <drepper@redhat.com> | |
2045 | ||
2046 | * locale/programs/localedef.c (add_to_readlist): Rename local | |
2047 | variables to avoid confusion. | |
2048 | ||
2049 | * locale/programs/charmap.c (charmap_read): Emit error message if | |
2050 | charmap couldn't be found or read. | |
edc1aa3d | 2051 | |
0ecb606c JJ |
2052 | 2006-07-28 Ulrich Drepper <drepper@redhat.com> |
2053 | ||
2054 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
2055 | __ASSUME_FUTEX_LOCK_PI. | |
2056 | * include/time.h: Declare __nanosleep_nocancel. | |
2057 | * include/unistd.h: Declare __pause_nocancel. | |
5b2892d5 | 2058 | |
0ecb606c JJ |
2059 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of |
2060 | LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we | |
2061 | get the __stack_chk_fail_local definition when it's needed. | |
5b2892d5 | 2062 | |
0ecb606c | 2063 | 2006-07-26 Ulrich Drepper <drepper@redhat.com> |
0ab7f77e | 2064 | |
0ecb606c JJ |
2065 | * dlfcn/Makefile: Add rules to build and run bug-atexit3. |
2066 | * dlfcn/bug-atexit3.c: New file. | |
2067 | * dlfcn/bug-atexit3-lib.cc: New file. | |
0ab7f77e | 2068 | |
0ecb606c JJ |
2069 | * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be |
2070 | used when the namespace is not the base namespace. | |
0ab7f77e | 2071 | |
0ecb606c | 2072 | 2006-07-26 Gavin Romig-Koch <gavin@redhat.com> |
0ab7f77e | 2073 | |
0ecb606c JJ |
2074 | * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. |
2075 | (__new_exitfn): Bump it in every successful call. | |
2076 | * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered | |
2077 | more exit handlers, call them right away. | |
2078 | * stdlib/exit.h: Declare __new_exitfn_called. | |
6d00189e | 2079 | |
0ecb606c | 2080 | 2006-07-25 Ulrich Drepper <drepper@redhat.com> |
6d00189e | 2081 | |
0ecb606c JJ |
2082 | * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when |
2083 | calling registered handler. | |
e1ad4c53 | 2084 | |
0ecb606c JJ |
2085 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. |
2086 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
2087 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
2088 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
2089 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
2090 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
2091 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
2092 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
e1ad4c53 | 2093 | |
0ecb606c | 2094 | 2006-07-10 Ulrich Drepper <drepper@redhat.com> |
a3b85eba | 2095 | |
0ecb606c JJ |
2096 | * elf/dl-lookup.c (dl_new_hash): New functions. |
2097 | (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute | |
2098 | value here. Compute new-style hash value. Pass new hash value | |
2099 | and reference to variable with the old value to do_lookup_x. | |
2100 | (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not | |
2101 | old-style hash table. | |
2102 | (_dl_debug_bindings): Pass new hash value and reference to variable | |
2103 | with the old value to do_lookup_x. | |
2104 | * elf/do-lookup.h (do_lookup_x): Accept additional parameter with | |
2105 | new-style hash value and change old-style hash value parameter to | |
2106 | be a reference. Reoganize functions to determine whether | |
2107 | new-style hash table is available. Only fall back on old-style | |
2108 | table. If old-style hash value is needed, compute it here. | |
2109 | * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH | |
2110 | entry. | |
2111 | * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, | |
2112 | DT_TLSDEC_GOT. Adjust DT_ADDRNUM. | |
2113 | * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, | |
2114 | l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. | |
2115 | * Makeconfig: If linker supports --hash-style option add it to all | |
2116 | linker command lines to build DSOs. | |
2117 | * config.make.in: Define have-hash-style. | |
2118 | * configure.in: Test whether linker supports --hash-style option. | |
a3b85eba | 2119 | |
0ecb606c JJ |
2120 | * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. |
2121 | * sysdeps/generic/ldsodefs.h: Adjust prototype. | |
dd340846 | 2122 | |
0ecb606c | 2123 | 2006-06-27 Ulrich Drepper <drepper@redhat.com> |
dd340846 | 2124 | |
0ecb606c JJ |
2125 | * elf/dl-load.c (open_path): Fix test to determine whether DSO is |
2126 | auditing. | |
a9e526e7 | 2127 | |
0ecb606c JJ |
2128 | * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at |
2129 | RPATH of main map twice. | |
2130 | ||
2131 | 2006-06-22 Ulrich Drepper <drepper@redhat.com> | |
2132 | ||
2133 | * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't | |
2134 | look further, return original strings. | |
2135 | (_nl_find_msg): Do not return found translation if the conversion | |
2136 | failed. Either signal the string is unusable or that something went | |
2137 | wrong and the original should be used. | |
a9e526e7 | 2138 | |
0ecb606c | 2139 | 2006-06-21 Ulrich Drepper <drepper@redhat.com> |
f1847a84 | 2140 | |
0ecb606c | 2141 | * string/_strerror.c (__strerror_r): Add __builtin_expect. |
f1847a84 | 2142 | |
0ecb606c | 2143 | 2006-06-14 Jakub Jelinek <jakub@redhat.com> |
b80af23a | 2144 | |
0ecb606c JJ |
2145 | [BZ #2766] |
2146 | * misc/insremque.c (insque): Handle prev == NULL. | |
2147 | * misc/Makefile (tests): Add tst-insremque. | |
2148 | * misc/tst-insremque.c: New test. | |
2149 | ||
2150 | 2006-06-17 Ulrich Drepper <drepper@redhat.com> | |
2151 | ||
2152 | [BZ #2792] | |
2153 | * elf/dl-deps.c (expand_dst): Rename __cnt variable to not | |
2154 | conflict with DL_DST_REQUIRED. | |
2155 | ||
2156 | 2006-06-16 Ulrich Drepper <drepper@redhat.com> | |
2157 | ||
2158 | * nis/nis_subr.c (nis_getnames): Fix the implementation to better | |
2159 | match what Solaris does. | |
2160 | ||
2161 | 2006-06-04 Ulrich Drepper <drepper@redhat.com> | |
2162 | ||
2163 | * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and | |
2164 | local_setegid instead of seteuid and setegid. | |
2165 | * sysdeps/generic/local-setxid.h: New file. | |
2166 | * sysdeps/unix/sysv/linux/local-setxid.h: New file. | |
2167 | ||
2168 | * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. | |
2169 | ||
2170 | * string/Makefile (tests): Add bug-envz1. | |
2171 | * string/bug-envz1.c: New file. | |
2172 | ||
2173 | 2006-06-02 Jakub Jelinek <jakub@redhat.com> | |
2174 | ||
2175 | * posix/regex_internal.c (re_string_skip_chars): If no character has | |
2176 | been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc | |
2177 | to the byte which couldn't be converted. | |
2178 | (re_string_reconstruct): Don't clear valid_raw_len before calling | |
2179 | re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set | |
2180 | tip_context using re_string_context_at. | |
2181 | * posix/Makefile: Add rules to build and run bug-regex25 test. | |
2182 | * posix/bug-regex25.c: New test. | |
2183 | ||
2184 | 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> | |
2185 | ||
2186 | [BZ #2703] | |
2187 | * string/envz.c (envz_strip): Correct erroneously reversed src | |
2188 | and dest parameters to memmove() invocation. | |
2189 | ||
2190 | 2006-05-30 Jakub Jelinek <jakub@redhat.com> | |
2191 | ||
2192 | * nscd/nscd.h (prune_cache): Add fd argument to prototype. | |
2193 | * nscd/nscd.c (parse_opt): Read response from INVALIDATE request | |
2194 | to make sure the database has been already invalidated. | |
2195 | * nscd/cache.c (prune_cache): Add fd argument. Write response to fd | |
2196 | after the cache has been invalidated. Use pthread_mutex_lock rather | |
2197 | than pthread_mutex_trylock if fd != -1. | |
2198 | * nscd/connections.c (invalidate_cache): Add fd argument, write | |
2199 | response to fd if not calling prune_cache, pass fd to prune_cache. | |
2200 | (handle_request): Adjust invalidate_cache caller. | |
2201 | (nscd_run): Pass -1 as fd to prune_cache. | |
2202 | ||
2203 | 2006-05-30 Ulrich Drepper <drepper@redhat.com> | |
2204 | ||
2205 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in | |
2206 | the correct place. | |
2207 | ||
2208 | 2006-05-29 Ulrich Drepper <drepper@redhat.com> | |
2209 | ||
2210 | * nscd/nscd.h (struct database_dyn): Add prunelock field. | |
2211 | * nscd/cache.c (prune_cache): Take prunelock before starting the | |
2212 | work. Just return in case it is already taken. | |
2213 | * nscd/connections.c (dbs): Initialize .prunelock. | |
2214 | ||
2215 | 2006-05-25 Ulrich Drepper <drepper@redhat.com> | |
2216 | ||
2217 | * nis/nis_removemember.c (nis_removemember): Avoid unnecessary | |
2218 | copying. No need to allocate new array for group members. Just | |
2219 | move the pointers and update the size. | |
2220 | ||
2221 | * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. | |
2222 | Avoid memory leak in case realloc fails. Simplification for | |
2223 | better code generation. | |
2224 | ||
2225 | Avoid deprecation warning because of libc_hidden_proto for | |
2226 | inet6_option_alloc. | |
2227 | * inet/inet6_option.c (option_alloc): Renamed from | |
2228 | inet6_option_alloc. Made static. | |
2229 | (inet6_option_alloc): Now a simple wrapper around option_alloc. | |
2230 | (inet6_option_append): Call option_alloc. | |
2231 | * include/netinet/in.h: Remove libc_hidden_proto for | |
2232 | inet6_option_alloc. | |
2233 | ||
2234 | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free | |
2235 | for cleanup when cb!=NULL [Coverity CID 233]. | |
2236 | ||
2237 | 2006-05-24 Ulrich Drepper <drepper@redhat.com> | |
2238 | ||
2239 | [BZ #2693] | |
2240 | * inet/Makefile (routines): Add inet6_opt and inet6_rth. | |
2241 | * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, | |
2242 | inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, | |
2243 | inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, | |
2244 | inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, | |
2245 | and inet6_rth_getaddr. | |
2246 | * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible | |
2247 | array. | |
2248 | * inet/netinet/in.h (struct ip6_mtuinfo): Define. | |
2249 | Mark inet6_option_* interfaces as deprecated. | |
2250 | Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, | |
2251 | inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, | |
2252 | inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, | |
2253 | inet6_rth_segments, and inet6_rth_getaddr. | |
2254 | * inet/inet6_opt.c: New file. | |
2255 | * inet/inet6_rth.c: New file. | |
2256 | ||
2257 | * inet/netinet/icmp6.h: Pretty printing. | |
2258 | ||
2259 | [BZ #2683] | |
2260 | * elf/dl-addr.c (_dl_addr): Don't match undefined references. | |
2261 | ||
2262 | 2006-05-23 Ulrich Drepper <drepper@redhat.com> | |
2263 | ||
2264 | * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of | |
2265 | doing it all here. When server does not know the answer do not | |
2266 | fail immediate, try parent first. | |
2267 | ||
2268 | * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer | |
2269 | overflow test. | |
2270 | ||
2271 | 2006-05-20 Ulrich Drepper <drepper@redhat.com> | |
2272 | ||
2273 | * nis/nis_call.c (__prepare_niscall): New function. Split out | |
2274 | from __do_niscall. | |
2275 | * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request | |
2276 | and exported. | |
2277 | (__follow_path): New function. Split out from nis_list. | |
2278 | * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and | |
2279 | _xdr_nis_result. | |
2280 | * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and | |
2281 | _xdr_nis_result. | |
2282 | * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, | |
2283 | and __follow_path. | |
2284 | * nis/Versions: Export __prepare_niscall, __create_ib_request, | |
2285 | __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result | |
2286 | from libnsl for version GLIBC_PRIVATE. | |
2287 | * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. | |
2288 | Remove entry parameter from _nss_nisplus_parse_pwent and | |
2289 | _nss_nisplus_parse_grent. | |
2290 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
2291 | * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ | |
2292 | again. Rewrite getpwent handling to not use nis_first_entry and | |
2293 | nis_next_entry. Roll out own niscall handling. | |
2294 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
2295 | ||
2296 | * sunrpc/xdr_rec.c: Fix typo in comment. | |
2297 | ||
2298 | 2006-05-19 Ulrich Drepper <drepper@redhat.com> | |
2299 | ||
2300 | * nis/nis_call.c (__do_niscall3): Avoid code duplication in error | |
2301 | handling. | |
2302 | ||
2303 | * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc | |
2304 | to allocate memory for my_pollfd. Better initialization of | |
2305 | cb_is_running. Use TEMP_FAILURE_RETRY. | |
2306 | ||
2307 | * malloc/memusage.sh (memusageso): Add quotes. | |
2308 | (memusagestat): Likewise. | |
2309 | * debug/xtrace.sh (pcprofileso): Likewise. | |
2310 | (pcprofiledump): Likewise. | |
2311 | * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR | |
2312 | replacement. | |
2313 | * malloc/Makefile ($(objpfx)memusage): Likewise. | |
2314 | ||
2315 | * nis/nis_callback.c (__nis_create_callback): Calls to | |
2316 | svcudp_bufcreate and svctcp_create can fail. Free ->xprt if | |
2317 | asprintf call fails. | |
2318 | ||
2319 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure | |
2320 | no uninitialized memory is passed to sendto. | |
2321 | ||
2322 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> | |
2323 | ||
2324 | * nis/nis_callback.c (__nis_create_callback): Use asprinf instead | |
2325 | of snprintf+strdup. Handle OOM. | |
2326 | * nis/nis_callback.c (__nis_create_callback): Allocate cb and | |
2327 | cb->serv together. Remove now obsolete free calls. | |
2328 | (__nis_destroy_callback): Remove now obsolete free call. | |
2329 | ||
2330 | 2006-05-18 David Woodhouse <dwmw2@redhat.com> | |
2331 | ||
2332 | * sysdeps/posix/getaddrinfo.c: Add unique labels to the default | |
2333 | RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local | |
2334 | and ULA respectively). Set precedence for IPv4 address to 10 as | |
2335 | defined in RFC3484 for preferring IPv6. | |
2336 | * posix/gai.conf: Update to match the new default tables. | |
2337 | ||
2338 | 2006-05-18 Jakub Jelinek <jakub@redhat.com> | |
2339 | ||
2340 | * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent | |
2341 | returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. | |
2342 | * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. | |
2343 | * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. | |
2344 | ||
2345 | * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): | |
2346 | Removed. | |
2347 | (init_nss_interface): Remove initialization of these variables. | |
b80af23a | 2348 | |
0ecb606c | 2349 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> |
f05a089d | 2350 | |
0ecb606c JJ |
2351 | * nis/nis_call.c (rec_dirsearch): Little optimization: pull |
2352 | nis_free_directory forward to avoid duplication. | |
f05a089d | 2353 | |
0ecb606c | 2354 | 2006-05-17 Ulrich Drepper <drepper@redhat.com> |
f05a089d | 2355 | |
0ecb606c JJ |
2356 | * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and |
2357 | rec_dirsearch returning NULL. | |
2358 | (first_shoot): Handle __nis_finddirectory returning NULL. | |
2359 | (__nisfind_server): Fix leak when rec_dirsearch returns NULL. | |
e17f8b61 | 2360 | |
0ecb606c JJ |
2361 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, |
2362 | IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. | |
e17f8b61 | 2363 | |
0ecb606c | 2364 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
616340ca | 2365 | |
0ecb606c JJ |
2366 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if |
2367 | pid changed. | |
616340ca | 2368 | |
0ecb606c | 2369 | 2006-05-15 Ulrich Drepper <drepper@redhat.com> |
40c38b6c | 2370 | |
0ecb606c | 2371 | * include/rpc/pmap_prot.h: Mark all functions as hidden. |
40c38b6c | 2372 | |
0ecb606c JJ |
2373 | * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. |
2374 | * nscd/nscd_getgr_r.c: Likewise. | |
40c38b6c | 2375 | |
0ecb606c | 2376 | * include/rpc/pmap_rmt.h: Mark all functions as hidden. |
41cbdf2a | 2377 | |
0ecb606c JJ |
2378 | * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. |
2379 | * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. | |
41cbdf2a | 2380 | |
0ecb606c | 2381 | * stdlib/longlong.h (__clz_tab): Mark as hidden. |
29762ba6 | 2382 | |
0ecb606c | 2383 | * iconv/gconv_int.h: Mark __gconv_lock as hidden. |
29762ba6 | 2384 | |
0ecb606c | 2385 | * include/rpc/key_prot.h: Mark all _internal functions as hidden. |
75fccede | 2386 | |
0ecb606c JJ |
2387 | * include/rpc/auth.h: Mark xdr_des_block_internal and |
2388 | xdr_opaque_auth_internal as hidden. | |
48db0d69 | 2389 | |
0ecb606c JJ |
2390 | * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as |
2391 | hidden. | |
558c2954 | 2392 | |
0ecb606c | 2393 | * include/rpc/xdr.h: Mark all _internal functions as hidden. |
558c2954 | 2394 | |
0ecb606c JJ |
2395 | * misc/getusershell.c (okshells): Don't use static initializers, |
2396 | do it dynamically. | |
afe01786 | 2397 | |
0ecb606c JJ |
2398 | * stdlib/fmtmsg.c (keywords): Change type of len element to |
2399 | uint32_t to not waste space on 64bit machines. | |
afe01786 | 2400 | |
0ecb606c JJ |
2401 | * locale/setlocale.c: Change _nl_category_names into a string. |
2402 | Add new _nl_category_name_idxs. Change all users. | |
2403 | * locale/localeinfo.h: Adjust declaration of _nl_category_names. | |
2404 | Declare _nl_category_name_idxs. | |
2405 | * locale/findlocale.c: Adjust for _nl_category_names change. | |
2406 | * locale/loadlocale.c: Likewise. | |
2407 | * locale/newlocale.c: Likewise. | |
2408 | * intl/dcigettext.c: Likewise. | |
afe01786 | 2409 | |
0ecb606c JJ |
2410 | * iconv/gconv_conf.c (add_alias): Move actual alias handling to... |
2411 | (add_alias2): ...here. New function. | |
2412 | (__gconv_read_conf): Simplify builtin alias handling. | |
2413 | (builtin_aliases): Convert to string to avoid relocations. | |
2414 | * iconv/gconv_builtin.h: Add comment about correct formatting. | |
afe01786 | 2415 | |
0ecb606c | 2416 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
b3b71a3b | 2417 | |
0ecb606c | 2418 | * resolv/res_debug.c (loc_ntoa): Make error const. |
d4b60383 | 2419 | |
0ecb606c | 2420 | 2006-05-14 Andreas Schwab <schwab@suse.de> |
b3b71a3b | 2421 | |
0ecb606c | 2422 | * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. |
48982f93 | 2423 | |
0ecb606c | 2424 | 2006-05-12 Jakub Jelinek <jakub@redhat.com> |
48982f93 | 2425 | |
0ecb606c JJ |
2426 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. |
2427 | (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than | |
2428 | sizeof (cpu_set_t). | |
d40eb37a | 2429 | |
0ecb606c | 2430 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
d40eb37a | 2431 | |
0ecb606c | 2432 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
d40eb37a | 2433 | |
0ecb606c | 2434 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
d40eb37a | 2435 | |
0ecb606c JJ |
2436 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
2437 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
d40eb37a | 2438 | |
0ecb606c JJ |
2439 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. |
2440 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
d40eb37a | 2441 | |
0ecb606c JJ |
2442 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. |
2443 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
2444 | xdr_cback_data. | |
d40eb37a | 2445 | |
0ecb606c JJ |
2446 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. |
2447 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
2448 | xdr_ypupdate_args. | |
d40eb37a | 2449 | |
0ecb606c JJ |
2450 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. |
2451 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
d40eb37a | 2452 | |
0ecb606c JJ |
2453 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. |
2454 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
d40eb37a | 2455 | |
0ecb606c JJ |
2456 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. |
2457 | * include/rpcsvc/nis_callback.h: New file. | |
d40eb37a | 2458 | |
0ecb606c JJ |
2459 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. |
2460 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
d40eb37a | 2461 | |
0ecb606c JJ |
2462 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. |
2463 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
f7803f51 | 2464 | |
0ecb606c JJ |
2465 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. |
2466 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
f7803f51 | 2467 | |
0ecb606c JJ |
2468 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. |
2469 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
7f4311e8 | 2470 | |
0ecb606c JJ |
2471 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
2472 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
2473 | xdr_ypdelete_args. | |
7f4311e8 | 2474 | |
0ecb606c JJ |
2475 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
2476 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
99444c14 | 2477 | |
0ecb606c JJ |
2478 | * nis/nis_error.c: Remove table of strings. Use position |
2479 | independent mechanism. | |
2480 | * nis/nis_error.h: New file. | |
99444c14 | 2481 | |
0ecb606c | 2482 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
afcdc998 | 2483 | |
0ecb606c JJ |
2484 | * locale/programs/ld-time.c (time_finish): If wide era name or |
2485 | format aren't provided, set both wname and wformat to L"". | |
afcdc998 | 2486 | |
0ecb606c | 2487 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
dcf147a5 | 2488 | |
0ecb606c JJ |
2489 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
2490 | results if the call was succesful. | |
dcf147a5 | 2491 | |
0ecb606c | 2492 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
d56a461b | 2493 | |
0ecb606c JJ |
2494 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count |
2495 | as hidden. | |
d56a461b | 2496 | |
0ecb606c | 2497 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
66b3d198 | 2498 | |
0ecb606c | 2499 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. |
66b3d198 | 2500 | |
0ecb606c | 2501 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
cdbf48be | 2502 | |
0ecb606c JJ |
2503 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the |
2504 | caller makes sure this is not the case. | |
2505 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
cdbf48be | 2506 | |
0ecb606c | 2507 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
f32d2b81 | 2508 | |
0ecb606c JJ |
2509 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
2510 | calls. | |
f32d2b81 | 2511 | |
0ecb606c JJ |
2512 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
2513 | [Coverity CID 229, 230] | |
c67a469f | 2514 | |
0ecb606c JJ |
2515 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and |
2516 | DGETTEXT calls. | |
2517 | (hol_help): Likewise. [Coverity CID 226, 227] | |
c67a469f | 2518 | |
0ecb606c JJ |
2519 | * string/argz-replace.c (__argz_replace): Unconditionally call |
2520 | free on SRC. [Coverity CID 225] | |
1fe42a2b | 2521 | |
0ecb606c JJ |
2522 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate |
2523 | the return value of __nis_default_owner and __nis_default_group, | |
2524 | it has been especially allocated. [Coverity CID 224] | |
1fe42a2b | 2525 | |
0ecb606c JJ |
2526 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
2527 | searchgroup and searchowner. Significantly simplified. | |
2528 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
2529 | string before duplicating it. | |
2530 | (__nis_default_group): Likewise. | |
f1debaf6 | 2531 | |
0ecb606c JJ |
2532 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, |
2533 | we must clear the variable before calling __nisfind_server. | |
9be31a51 | 2534 | |
0ecb606c JJ |
2535 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with |
2536 | nis_getnames. [Coverity CID 223] | |
9be31a51 | 2537 | |
0ecb606c JJ |
2538 | * locale/programs/locfile.c (locfile_read): Use alloca instead of |
2539 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
9be31a51 | 2540 | |
0ecb606c JJ |
2541 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically |
2542 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
9be31a51 | 2543 | |
0ecb606c JJ |
2544 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
2545 | was allocated here. [Coverity CID 219, 220] | |
f1debaf6 | 2546 | |
0ecb606c JJ |
2547 | * posix/getconf.c (print_all): Free confstr data after printing. |
2548 | [Coverity CID 218] | |
f1debaf6 | 2549 | |
0ecb606c JJ |
2550 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if |
2551 | list allocation fails. [Coverity CID 215] | |
f1debaf6 | 2552 | |
0ecb606c JJ |
2553 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. |
2554 | [Coverity CID 213] | |
f1debaf6 | 2555 | |
0ecb606c JJ |
2556 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if |
2557 | string is NULL. [Coverity CID 212] | |
2558 | * argp/Makefile: Add rules to build and run bug-argp1. | |
2559 | * argp/bug-argp1.c: New file. | |
165634aa | 2560 | |
0ecb606c JJ |
2561 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find |
2562 | end of string. | |
2563 | * stdlib/canonicalize.c (__realpath): Likewise. | |
165634aa | 2564 | |
0ecb606c JJ |
2565 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL |
2566 | pointer. [Coverity CID 206] | |
58d87ee1 | 2567 | |
0ecb606c JJ |
2568 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map |
2569 | in statically linked code. | |
2570 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
2571 | statically built code, be prepared to have no link map. | |
2572 | [Coverity CID 205] | |
58d87ee1 | 2573 | |
0ecb606c JJ |
2574 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in |
2575 | dgettext calls. [Coverity CID 204] | |
495961c0 | 2576 | |
0ecb606c JJ |
2577 | * argp/argp-help.c (struct uparams): Remove valid member. Change |
2578 | the one user. | |
2579 | (uparam_names): Reduce size. Avoid relative relocations. | |
2580 | Moved to read-only segment. | |
2581 | (fill_in_uparams): Update for new layout. | |
495961c0 | 2582 | |
0ecb606c JJ |
2583 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be |
2584 | assumed to always be != NULL. [Coverity CID 202] | |
495961c0 | 2585 | |
0ecb606c JJ |
2586 | * argp/argp-help.c (hol_entry_help): Remove some dead code |
2587 | [Coverity CID 200]. | |
495961c0 | 2588 | |
0ecb606c JJ |
2589 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize |
2590 | away a few more unconditional yperr2nss calls. | |
2591 | (_nss_nis_getservbyname_r): Likewise. | |
ce118ec6 | 2592 | |
0ecb606c | 2593 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
2d7ae210 | 2594 | |
0ecb606c JJ |
2595 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
2596 | architectures. | |
ce118ec6 | 2597 | |
0ecb606c JJ |
2598 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
2599 | that unused memory passed to sendto is nevertheless initialized. | |
50c2b6d7 | 2600 | |
0ecb606c JJ |
2601 | [BZ #2499] |
2602 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
2603 | possibly unaligned memory accesses. | |
50c2b6d7 | 2604 | |
0ecb606c JJ |
2605 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
2606 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
2607 | and __putlong respectively. Correct buffer overflow check for | |
2608 | NS_NOTIFY_OP. | |
27b02589 | 2609 | |
0ecb606c | 2610 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. |
27b02589 | 2611 | |
0ecb606c JJ |
2612 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
2613 | (send_dg): Rewrite error handling to be more compact and avoid | |
2614 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
27b02589 | 2615 | |
0ecb606c | 2616 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
27b02589 | 2617 | |
0ecb606c JJ |
2618 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly |
2619 | instead of ns_get16. | |
2620 | (res_queriesmatch): Likewise. Minor optimization. | |
5ce98c3f | 2621 | |
0ecb606c JJ |
2622 | [BZ #2499] |
2623 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
2624 | __libc_res_nsend might reallocate the buffer for the answer. In | |
2625 | this case we have to reload the HP pointer. | |
091e1f6a | 2626 | |
0ecb606c | 2627 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
ab8dc78f | 2628 | |
0ecb606c JJ |
2629 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
2630 | some branch prediction hints. | |
ab8dc78f | 2631 | |
0ecb606c JJ |
2632 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
2633 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
2634 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
2635 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
2636 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
2637 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
2638 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
2639 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
b33ed432 | 2640 | |
0ecb606c | 2641 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
f22c9168 | 2642 | |
0ecb606c JJ |
2643 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation |
2644 | by a GOT relocation to make Scrt1.o position independent. | |
2645 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
b33ed432 | 2646 | |
0ecb606c JJ |
2647 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for |
2648 | six system call parameters. | |
2649 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
b33ed432 | 2650 | |
0ecb606c | 2651 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
b33ed432 | 2652 | |
0ecb606c JJ |
2653 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of |
2654 | malloc&bzero. | |
b33ed432 | 2655 | |
0ecb606c JJ |
2656 | * sunrpc/svc_udp.c (BZERO): Remove definition. |
2657 | (CALLOC): Define. | |
2658 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
f9a06dc1 | 2659 | |
0ecb606c JJ |
2660 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. |
2661 | (des_SPtrans): Use uint32_t type. | |
2662 | (des_skb): Likewise. | |
f9a06dc1 | 2663 | |
0ecb606c | 2664 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. |
f9a06dc1 | 2665 | |
0ecb606c | 2666 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
f9a06dc1 | 2667 | |
0ecb606c JJ |
2668 | [BZ #2509] |
2669 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
2670 | on 32-bit arches. | |
f9a06dc1 | 2671 | |
0ecb606c | 2672 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
f9a06dc1 | 2673 | |
0ecb606c JJ |
2674 | * locale/programs/ld-address.c (address_finish): Fix one more |
2675 | place where the iso639 array might be accessed beyond the limits. | |
f9a06dc1 | 2676 | |
0ecb606c | 2677 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
f9a06dc1 | 2678 | |
0ecb606c JJ |
2679 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
2680 | filling it for the first time. | |
f9a06dc1 | 2681 | |
0ecb606c JJ |
2682 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
2683 | Adjust all callers. | |
2684 | Free res object content before returning. | |
f9a06dc1 | 2685 | |
0ecb606c | 2686 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
bfa26122 | 2687 | |
0ecb606c JJ |
2688 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
2689 | client->cl_auth. | |
bfa26122 | 2690 | |
0ecb606c JJ |
2691 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
2692 | cleanup for initial thread, just the free call on TVP. | |
22823085 | 2693 | |
0ecb606c | 2694 | * nscd/gai.c (__getline): Define. |
22823085 | 2695 | |
0a901ba4 | 2696 | |
0ecb606c | 2697 | See ChangeLog.16 for earlier changes. |