]> sourceware.org Git - glibc.git/blob - ChangeLog
Update.
[glibc.git] / ChangeLog
1 2000-04-11 Ulrich Drepper <drepper@redhat.com>
2
3 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
4 for descriptor.
5
6 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
7 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
8 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
9 * sysdeps/generic/shm_open.c: New file.
10 * sysdeps/generic/shm_unlink.c: New file.
11 * sysdeps/unix/sysv/linux/shm_open.c: New file.
12 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
13 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
14 __endmntent, __getmntent_r, __setmntent, and __statfs.
15
16 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
17 fragmentation by allocating new memory at the end instead of
18 reallocating.
19
20 * posix/globtest.sh: Fix last change.
21
22 2000-04-10 Philip Blundell <philb@gnu.org>
23
24 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
25 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
26 IPV6_DROP_MEMBERSHIP.
27 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
28 Likewise.
29
30 2000-04-11 Ulrich Drepper <drepper@redhat.com>
31
32 * elf/readlib (process_file): Close streams in case of an error.
33
34 2000-04-09 Andreas Jaeger <aj@suse.de>
35
36 * elf/readlib.c (process_file): Check if file is big enough to
37 contain aout and ELF headers.
38 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
39
40 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
41
42 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
43
44 2000-04-11 Ulrich Drepper <drepper@redhat.com>
45
46 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
47 stream unbuffered.
48 * rt/Makefile (tests): Add tst-clock.
49 Add rules to build tst-clock.
50 * rt/tst-clock.c: New file.
51 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
52 about initialization of nsec.
53 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
54 about initialization of freq. Set retval to zero if successful.
55 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
56
57 2000-04-10 Ulrich Drepper <drepper@redhat.com>
58
59 * Versions.def (librt): Add GLIBC_2.2.
60 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
61 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
62 timer_getoverr, timer_gettime, and timer_settime.
63 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
64 clock_settime, timer_create, timer_delete, timer_getoverrun,
65 timer_gettime, and timer_settime.
66 * sysdeps/generic/clock_getcpuclockid.c: New file.
67 * sysdeps/generic/get_clockfreq.c: New file.
68 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
69 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
70 * sysdeps/mach/hurd/i386/bits/time.h: New file.
71 * sysdeps/unix/i386/i586/clock_getres.c: New file.
72 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
73 * sysdeps/unix/i386/i686/Implies: New file.
74 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
75 * time/Makefile (routines): Move clock_getres, clock_gettime,
76 clock_settime, timer_create, timer_delete, timer_getoverr,
77 timer_gettime, and timer_settime to rt/Makefile.
78 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
79 clock_settime, timer_create, timer_delete, timer_getoverrun,
80 timer_gettime, and timer_settime.
81 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
82
83 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
84 and not const as attribute name.
85
86 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
87
88 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
89
90 2000-04-10 Andreas Schwab <schwab@suse.de>
91
92 * posix/globtest.sh: Skip tests that depend on unreadable
93 directories if run as root.
94
95 2000-04-10 Ulrich Drepper <drepper@redhat.com>
96
97 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
98 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
99
100 2000-04-09 Ulrich Drepper <drepper@redhat.com>
101
102 * sysdeps/unix/clock_gettime.c: New file.
103 * sysdeps/unix/clock_settime.c: New file.
104 * sysdeps/posix/clock_getres.c: New file.
105
106 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
107
108 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
109 lseek call be passing in a buffer which never allow a successful
110 first getdents syscall if not at leas the initial entry can be
111 stored in the user buffer.
112
113 * localedata/Makefile: Add rules to clean up directories created by
114 new strfmon tests.
115
116 2000-04-09 Geoff Clare <gwc@unisoft.com>
117
118 * localedata/tst-fmon.data: Added new tests for strfmon()
119 using test locales with all combinations of cs_precedes,
120 sign_posn and sep_by_space.
121 * localedata/tst-fmon.sh: Updated to support the new tests.
122 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
123 the localedef source for the new strfmon() test locale.
124 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
125 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
126 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
127 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
128 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
129 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
130 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
131 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
132 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
133 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
134 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
135 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
136 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
137 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
138
139 * stdlib/strfmon.c: Correct problems with missing or extra
140 spaces for unusual combinations of sign_posn and sep_by_space.
141 Improved left-precision alignment code.
142
143 2000-04-07 Andreas Jaeger <aj@suse.de>
144
145 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
146
147 2000-04-10 Andreas Jaeger <aj@suse.de>
148
149 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
150
151 2000-04-09 Ulrich Drepper <drepper@redhat.com>
152
153 Implement handling of restartable conversion functions according to
154 ISO C.
155 * iconv/gconv.h (__gconv_fct): Add additional parameter.
156 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
157 * iconv/gconv.c: Pass additional parameter to conversion function.
158 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
159 (internal_ucs4le_loop_single): New function.
160 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
161 (__gconv_transform_internal_ascii): Likewise.
162 (__gconv_transform_internal_utf8): Likewise.
163 (__gconv_transform_utf8_internal): Likewise.
164 (__gconv_transform_ucs2_internal): Likewise.
165 (__gconv_transform_internal_ucs2): Likewise.
166 (__gconv_transform_ucs2reverse_internal): Likewise.
167 (__gconv_transform_internal_ucs2reverse): Likewise.
168 (internal_ucs4le_loop_unaligned): Before return
169 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
170 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
171 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
172 * iconv/loop.c: Fit in definition of function to convert one character
173 for processing of left-over bytes from the state object.
174 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
175 inend to match names in loop functions.
176 (RESET_INPUT_BUFFER): Change apprpriately.
177 (gconv): If needed, call function to process bytes from the state
178 object. Similar at the end: store left over bytes if input is
179 incomplete.
180 Take extra argument and add new argument to all calls of the
181 conversion function.
182 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
183 information in the state object to not conflict with length count.
184 * iconvdata/iso-2022-jp.c: Likewise.
185 * iconvdata/iso-2022-kr.c: Likewise.
186 * iconvdata/unicode.c: Adjust for change change in parameters of
187 skeleton function.
188 * iconvdata/utf-16.c: Likewise.
189 * libio/iofwide.c: Add new parameter to all calls of conversion
190 function.
191 * wcsmbs/btowc.c: Likewise.
192 * wcsmbs/mbrtowc.c: Likewise.
193 * wcsmbs/mbsnrtowcs.c: Likewise.
194 * wcsmbs/mbsrtowcs.c: Likewise.
195 * wcsmbs/wcrtomb.c: Likewise.
196 * wcsmbs/wcsnrtombs.c: Likewise.
197 * wcsmbs/wcsrtombs.c: Likewise.
198 * wcsmbs/wctob.c: Likewise.
199
200 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
201 MAX_NEEDED_INPUT.
202
203 2000-04-07 Andreas Jaeger <aj@suse.de>
204
205 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
206 newer kernels.
207
208 2000-04-07 Ulrich Drepper <drepper@redhat.com>
209
210 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
211 element a union to allow byte access.
212 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
213 mbstate_t.
214 * iconvdata/iso-2022-jp.c: Likewise.
215 * iconvdata/iso-2022-kr.c: Likewise.
216 * wcsmbs/mbsinit.c: Likewise.
217 * stdlib/mblen.c: Likewise.
218 * stdio-common/printf-parse.h: Likewise.
219
220 2000-04-06 Ulrich Drepper <drepper@redhat.com>
221
222 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
223 kernel does not allow relative seeks on descriptors associated
224 with directories. Go back to get the position in the directory
225 every time we enter the function. Return -1 and set errno if one
226 entry could be read from the kernel but does not fit into the
227 buffer passed in by the user.
228
229 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
230 Support ..(2).. ellipsis.
231 (parse_charmap): Recognize ..(2).. etc and pass step down.
232 Correctly generate names for UCS4 characters.
233
234 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
235 (ctype_finish): We know the wide character value for <SP>,
236 don't search.
237 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
238 (charclass_ucs4_ellipsis): Likewise.
239 (read_translit_ignore_entry): Store ellipsis step.
240 (ctype_read): Recognize ..(2).. etc and pass step down.
241
242 * locale/programs/linereader.c (lr_token): When seeing comment
243 character ignore only rest of line in sources but stop at escaped
244 newline.
245 Recognize ..(2).. and ....(2).....
246
247 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
248 and tok_ellipsis4_2.
249
250 2000-04-06 Andreas Jaeger <aj@suse.de>
251
252 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
253 removed, remove it here also.
254 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
256 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
257 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
258
259 2000-04-06 Jakub Jelinek <jakub@redhat.com>
260
261 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
262 include bits/sigcontext.h.
263 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
264
265 2000-04-06 Ulrich Drepper <drepper@redhat.com>
266
267 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
268 collation symbol definition. Value in quivalence definition must
269 be defined, don't check that it is not.
270
271 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
272 values as character names.
273
274 * locale/programs/ld-ctype.c (get_character): Handle missing
275 repertoire map correctly.
276
277 2000-04-05 Cristian Gafton <gafton@redhat.com>
278
279 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
280 because it is used in generic code.
281 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
282 * wcsmbs/wcwidth.h: Declare __ctype32_b.
283 * intl/gettext.c: Include <locale.h>.
284 * intl/ngettext.c: Likewise.
285
286 2000-04-05 Jakub Jelinek <jakub@redhat.com>
287
288 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
289 socklen_t type for size.
290 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
291 init function interface.
292 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
293 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
294 sys/ucontext.h.
295 (__jmp_buf): Declare the whole type structure here, don't use
296 ucontext.
297
298 2000-04-05 Ulrich Drepper <drepper@redhat.com>
299
300 * iconv/skeleton.c (put16u): Fix typo.
301 Reported by Bruno Haible <haible@ilog.fr>.
302
303 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
304 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
305 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
306 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
307 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
308 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
309
310 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
311 * Makefile (distribute): Add abi-versions.awk and
312 firstversions.awk.
313 Patches by Torsten Duwe <duwe@caldera.de>.
314
315 2000-04-05 Andreas Schwab <schwab@suse.de>
316
317 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
318
319 2000-04-05 Andreas Schwab <schwab@suse.de>
320
321 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
322 entry point, used on Hurd.
323
324 2000-04-04 Andreas Jaeger <aj@suse.de>
325
326 * intl/Makefile: Only run the gettext test with shared libraries.
327
328 2000-03-16 Mark Kettenis <kettenis@gnu.org>
329
330 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
331 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
332
333 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
334
335 * Makeconfig: Undo last change.
336 * configure.in: If --disable-shared was given, don't set VERSIONING,
337 don't define DO_VERSIONING, and don't give scare warning for no
338 versioning.
339 * configure: Regenerated.
340
341 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
342
343 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
344
345 2000-04-04 Andreas Jaeger <aj@suse.de>
346
347 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
348
349 2000-04-04 Ulrich Drepper <drepper@redhat.com>
350
351 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
352 STV_HIDDEN and STV_INTERNAL during lookup.
353 (profile_fixup): Likewise.
354 * elf/dl-reloc.c (RESOLVE): Likewise.
355
356 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
357 unaligned so that it compiles for system which need unaligned
358 access handling.
359
360 2000-04-04 Andreas Schwab <schwab@suse.de>
361
362 * elf/cache.c (print_entry): Only look at the type field when
363 printing the type.
364
365 2000-04-04 Andreas Schwab <schwab@suse.de>
366
367 * iconvdata/big5.c (BODY): Fix typo.
368
369 2000-04-04 Andreas Schwab <schwab@suse.de>
370
371 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
372 function interface. Remove unused _dl_start_user entry point.
373
374 2000-04-03 Andreas Jaeger <aj@suse.de>
375
376 * include/arpa/inet.h (__inet_aton): Add protoype.
377
378 2000-04-01 Andreas Jaeger <aj@suse.de>
379
380 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
381
382 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
383 * sysdeps/mach/mips/thread_state.h: Likewise.
384
385 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
386 * sysdeps/generic/fegetenv.c: Likewise.
387 * sysdeps/generic/fesetenv.c: Likewise.
388 * sysdeps/generic/feupdateenv.c: Likewise.
389 * sysdeps/generic/fraiseexcpt.c: Likewise.
390 * sysdeps/generic/fsetexcptflg.c: Likewise.
391 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
392 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
393 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
394 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
395
396 2000-04-02 H.J. Lu <hjl@gnu.org>
397
398 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
399
400 2000-04-03 Ulrich Drepper <drepper@redhat.com>
401
402 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
403 (add_name_to_object): Add cast in malloc call.
404 (fillin_rpath): Optimize loop to initialize ->status a bit.
405
406 * sysdeps/i386/dl-machine.h: Undo last change.
407 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
408 Restore %edx register after call here.
409
410 * sysdeps/arm/atomicity.h: New file.
411 Contributed by Jesper Skov <jskov@redhat.com>.
412
413 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
414
415 * Makeconfig (preprocess-versions): Undo last change.
416 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
417
418 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
419 here, before we might move the stack.
420 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
421 (init1): And not here.
422
423 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
424 change, to restore argc value in call-clobbered register after
425 RTLD_START_SPECIAL_INIT, which will contain a call.
426
427 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
428 allocating and initializing L->l_initfini.
429
430 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
431
432 2000-04-03 Ulrich Drepper <drepper@redhat.com>
433
434 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
435 RUNPATH, RPATH, and LD_LIBRARY_PATH.
436 (open_path): Change type of fourth parameter. Make pointer to array
437 of pointers. Create variable dirs with original type.
438 Track whether any directory for the object exists and if not,
439 change *DIRSP to (void*) -1 to signal there is no such search path.
440 (_dl_map_object): Change all calls of open_path.
441 Rewrite decompose_rpath calls.
442
443 2000-03-31 Andreas Schwab <schwab@suse.de>
444
445 * string/strfry.c: Declare STATE as array of char instead of int
446 and do not initialize it (done by initstate_r). Pass correct
447 size.
448
449 2000-04-03 Ulrich Drepper <drepper@redhat.com>
450
451 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
452
453 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
454 instruction out of the code.
455
456 2000-04-02 Ulrich Drepper <drepper@redhat.com>
457
458 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
459 element at this position.
460
461 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
462 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
463 l_reldeps elements.
464 * elf/dl-lookup.c (add_dependency): New function.
465 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
466 dynamically loaded object.
467 (_dl_lookup_symbol_skip): Likewise.
468 (_dl_lookup_versioned_symbol): Likewise.
469 (_dl_lookup_versioned_symbol_skip): Likewise.
470 * elf/dl-open.c: Don't define _dl_load_lock here...
471 * elf/rtld.c: ...but here...
472 * elf/dl-support.c: ...and here.
473 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
474 through relocation.
475 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
476 relocations.
477 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
478 anymore.
479 * dlfcn/glrefmain.c: Add one more debug message.
480
481 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
482 command line.
483 * Makerules (sysd-versions): Use ( ) instead of { }.
484
485 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
486 optimize for the non-debugging case.
487 * elf/dl-lookup.c: Likewise.
488 * sysdeps/generic/libc-start.c: Likewise.
489
490 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
491
492 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
493 (init1): Don't initialize __environ here, since init already does it.
494 (first_init): New function, broken out of _init.
495 (_hurd_stack_setup): Use it.
496 [SHARED] (_dl_init_first): New function, renamed from old _init.
497 (init1) [SHARED]: Don't call posixland_init here.
498 (posixland_init): Take ENVP arg, so signature is usual for initializer.
499 [SHARED] (_init): Define as alias for posixland_init.
500 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
501 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
502 RTLD_START_SPECIAL_INIT before calling initializers.
503 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
504 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
505 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
506 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
507
508 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
509 since we define the function with the name `tmpfile'.
510
511 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
512 * hurd/Versions: Likewise.
513
514 2000-04-02 Ulrich Drepper <drepper@redhat.com>
515
516 * elf/dl-runtime.c (fixup): Fix typo in comment.
517
518 * resolv/netdb.h (getnameinfo): All length parameters are of type
519 socklen_t.
520 * inet/getnameinfo.c: Likewise.
521
522 2000-04-01 Ulrich Drepper <drepper@redhat.com>
523
524 * posix/unistd.h (socklen_t): Define if it has not yet happened.
525 (gethostname): Change type of second parameter to socklen_t.
526 * include/unistd.h (__gethostname): Change type of second
527 parameter to socklen_t.
528 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
529 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
530 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
531 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
532 Likewise.
533 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
534 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
535 Allow definition elsewhere.
536 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
537 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
538 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
539 * sysdeps/generic/bits/types.h: Define __socklen_t.
540 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
541 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
542 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
543 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
544 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
545 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
546 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
547
548 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
549 (inet_lnaof): Likewise.
550 (inet_netof): Likewise.
551 (inet_network): Likewise.
552 (inet_aton): Likewise.
553 (inet_makeaddr): Change parameter types to in_addr_t.
554 (inet_neta): Likewise.
555 (inet_ntop): Change type of last parameter to socklen_t.
556 (inet_aton): Only make available if __USE_MISC.
557 (inet_neta): Likewise.
558 (inet_net_ntop): Likewise.
559 (inet_net_pton): Likewise.
560 (inet_nsap_ntoa): Likewise.
561
562 * inet/in.h: Define in_port_t type.
563 Define in_addr_t type.
564 (struct in_addr): Use in_addr_t in definition.
565 (IN_CLASSA): Use cast to in_addr_t.
566 (IN_CLASSB): Likewise.
567 (IN_CLASSC): Likewise.
568 (IN_CLASSD): Likewise.
569 (IN_EXPERIMENTAL): Likewise.
570 (IN_BADCLASS): Likewise.
571 (INADDR_ANY): Likewise.
572 (INADDR_BROADCAST): Likewise.
573 (INADDR_NONE): Likewise.
574 (INADDR_LOOPBACK): Likewise.
575 (INADDR_UNSPEC_GROUP): Likewise.
576 (INADDR_ALLHOSTS_GROUP): Likewise.
577 (INADDR_ALLRTRS_GROUP): Likewise.
578 (INADDR_MAX_LOCAL_GROUP): Likewise.
579 (struct sockaddr_in): Use in_port_t for sin_port element.
580 (struct sockaddr_in6): Use in_port_t for sin6_port element.
581 Use uint8_t instead of u_int8_t.
582
583 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
584 Call __inet_aton instead of inet_aton.
585 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
586
587 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
588 (innetgr): Likewise.
589 (struct addrinfo): Use socklen_t for ai_addrlen element.
590
591 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
592 IPV6_RECVERR): New defines.
593
594 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
595 * inet/getnetbyad.c: Likewise.
596 * inet/getnetbyad_r.c: Likewise.
597 * nis/nss_nis/nis-network.c: Likewise.
598 * nis/nssplus_nis/nisplus-network.c: Likewise.
599 * nss/nss_files/files-network.c: Likewise.
600 * resolv/netdb.h: Define uint32_t if not already happened.
601 Include bits/netdb.h. Remove definition of struct netent.
602 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
603 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
604 * sysdeps/generic/bits/netdb.h: New file.
605 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
606
607 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
608 (tests): Add glrefmain.
609 Add rules to build modules and run tests. Ignore result of glrefmain
610 for now since it fails.
611 * dlfcn/glrefmain.c: New file.
612 * dlfcn/glreflib1.c: New file.
613 * dlfcn/glreflib2.c: New file.
614
615 * test-skeleton.c: Include <string.h> for strsignal prototype.
616
617 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
618 to be missing.
619
620 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
621 former init-first.h. Initialize __libc_multiple_libcs.
622
623 2000-03-31 Ulrich Drepper <drepper@redhat.com>
624
625 * iconv/skeleton.c: Define access macros with u suffix. Adjust
626 #if expression for use of unaligned function to the one used in
627 the definition of these functions.
628 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
629 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
630 (internal_ucs4le_loop_unaligned): New function.
631
632 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
633 (tests): Add order.
634 (module-names): Add dep1, dep2, dep3, and dep4.
635 Add dependencies for dep* modules and order.
636 Define rule for order.out which checks the result.
637 * elf/dep1.c: New file.
638 * elf/dep2.c: New file.
639 * elf/dep3.c: New file.
640 * elf/dep4.c: New file.
641 * elf/order.c: New file.
642
643 * elf/dl-init.c: Fix typo in comment.
644
645 2000-03-31 Andreas Jaeger <aj@suse.de>
646
647 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
648 init function interface.
649 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
650
651 2000-03-31 Andreas Jaeger <aj@suse.de>
652
653 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
654 * sysdeps/mips/fpu/fegetenv.c: Likewise.
655 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
656 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
657 * sysdeps/mips/fpu/fesetenv.c: Likewise.
658
659 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
660 anymore, update comment.
661
662 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
663
664 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
665 SHLIB_COMPAT - the struct is always needed.
666
667 2000-03-31 Ulrich Drepper <drepper@redhat.com>
668
669 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
670 * elf/dl-support.c: Define _dl_starting_up.
671
672 2000-03-30 Ulrich Drepper <drepper@redhat.com>
673
674 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
675 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
676
677 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
678
679 * elf/Makefile (dl-routines): Remove preinit.
680 * elf/Versions: Remove _dl_preinit.
681 * elf/dl-preinit.c: Removed. Move content into...
682 * elf/dl-init.c: ...here.
683 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
684
685 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
686 elements.
687
688 2000-03-29 Geoff Clare <gwc@unisoft.com>
689
690 * stdlib/strfmon.c: Corrected problems with the code that
691 sets default values for [np]_sep_by_space and
692 [np]_sign_posn; also the new positive/negative alignment
693 code from the previous patch was not quite right for
694 [np]_sign_posn = 0.
695
696 * localedata/tst-fmon.data: Changes corresponding to the
697 two sets of fixes made to stdlib/strfmon.c.
698
699 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
700
701 * malloc/malloc.c: Declare bit flags UL so that they will not
702 default to int size when being inverted.
703
704 2000-03-29 Andreas Jaeger <aj@suse.de>
705
706 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
707 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
708
709 2000-03-29 Andreas Jaeger <aj@suse.de>,
710 Ralf Baechle <ralf@uni-koblenz.de>
711
712 * Makeconfig: Introduce new variable SHARED to mark code used in
713 the shared library.
714 * elf/dl-close.c: Use it instead of PIC.
715 * elf/dl-load.c: Likewise.
716 * elf/dl-open.c: Likewise.
717 * hurd/geteuids.c: Likewise.
718 * include/libc-symbols.h: Likewise.
719 * include/shlib-compat.h: Likewise.
720 * libio/freopen.c: Likewise.
721 * linuxthreads/cancel.c: Likewise.
722 * linuxthreads/pthread.c: Likewise.
723 * linuxthreads/wrapsyscall.c: Likewise.
724 * nss/nsswitch.c: Likewise.
725 * stdio-common/vfprintf.c: Likewise.
726 * sysdeps/arm/init-first.c: Likewise.
727 * sysdeps/i386/init-first.c: Likewise
728 * sysdeps/generic/init-first.c: Likewise.
729 * sysdeps/generic/libc-start.c: Likewise.
730 * sysdeps/mips/init-first.c: Likewise.
731 * sysdeps/powerpc/elf/libc-start.c: Likewise.
732 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
733 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
734 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
735 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
736
737 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
738
739 2000-03-29 Andreas Jaeger <aj@suse.de>
740
741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
742 Use D_PTR to access relocated entries in l_info.
743 (elf_machine_rela): Likewise.
744
745 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
746 Likewise.
747 (elf_machine_rela): Likewise.
748
749 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
750 Likewise.
751 (__elf_machine_fixup_plt): Likewise.
752 (__process_machine_rela): Likewise.
753
754 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
755 (elf_machine_rela): Likewise.
756
757 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
758 (elf_machine_rel): Likewise.
759
760 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
761 (elf_machine_fixup_plt): Likewise.
762 (elf_machine_rela): Likewise.
763
764 2000-03-29 Andreas Jaeger <aj@suse.de>
765
766 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
767 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
768 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
769 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
770 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
771 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
772 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
773 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
774 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
775 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
776 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
777 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
778 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
779 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
780 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
781
782 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
783 macros, remove K&R prototypes.
784
785 2000-03-30 Ulrich Drepper <drepper@redhat.com>
786
787 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
788 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
789 (PR libc/1677).
790
791 2000-03-30 Andreas Jaeger <aj@suse.de>
792
793 * misc/sys/cdefs.h: Remove K&R support.
794
795 2000-03-30 Ulrich Drepper <drepper@redhat.com>
796
797 * iconv/skeleton.c: Avoid compiling unaligned versions in some
798 with size of dynamic sectionmore cases.
799 * iconv/loop.c: Likewise.
800
801 2000-03-29 Bruno Haible <haible@clisp.cons.org>
802
803 * iconv/loop.c (put16): Remove __const. Fix access index.
804 (put32): Remove __const. Use uint32_t instead of uint16_t.
805 * iconv/skeleton.c: Likewise.
806
807 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
808
809 * mach/Versions (libc: GLIBC_2.0)
810 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
811 __vm_allocate on this.
812 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
813 mutex- and spinlock-related symbols on this.
814 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
815 New version set. Lock-related symbols go here instead in this case.
816 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
817 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
818 cthread_getspecific, cthread_setspecific, __libc_getspecific.
819 * hurd/Versions
820 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
821 Put them here instead.
822 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
823 New version set. Those cthreads symbols go here instead in this case.
824 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
825
826 2000-03-30 Ulrich Drepper <drepper@redhat.com>
827
828 * elf/dl-init.c (_dl_init): We don't need to call constructors
829 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
830
831 Implement dynamic determination of constructor/destructor order in
832 the dynamic linker.
833 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
834 (GLIBC_2.2): Add _dl_init.
835 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
836 r_duplist is not anymore allocated separately. l_initfini is and
837 therefore free it if necessary.
838 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
839 malloc block. Otherwise allocate l_initfini list only.
840 Put dependencies for the object in l_initfini list.
841 Sort dependencies for the object to be loaded topologically.
842 * elf/dl-fini.c: Before running the destructors sort the topologically.
843 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
844 call constructors instead of iterating over the pointers. Get list of
845 objects for which to run constructors from l_initfini element. Accept
846 argc, argv, and env as parameters and pass them to the constructors.
847 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
848 with size of dynamic section.
849 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
850 _dl_init_next and calling constructors ourself.
851 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
852 Take argc, argv, and env as parameters and pass them to the
853 constructors. Rewrite to call all constructors and not iterate over
854 the pointers.
855 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
856 precompute l_initcount and l_preinitcount.
857 * elf/link.h (struct link_map): Add l_ldnum member.
858 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
859 l_initcount, and l_preinitcount. Add l_initfini.
860 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
861 one for _dl_init.
862 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
863 function interface.
864 * sysdeps/unix/sysv/linux/init-first.h: Removed.
865 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
866 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
867 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
868 conventions now match.
869
870 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
871 effect for shared objects. Don't emit message and call only for
872 static library.
873
874 2000-03-29 Ulrich Drepper <drepper@redhat.com>
875
876 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
877 CSA_Z243.4-1985-1..UCS2.
878 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
879 ISO-8859-10..UCS2.
880
881 2000-03-29 Andreas Jaeger <aj@suse.de>
882
883 * include/unistd.h: Remove duplicate entry for __rmdir.
884 Remove declaration of __mkdir since __mkdir is declared in
885 sys/stat.h.
886
887 * manual/creature.texi (Feature Test Macros): Fix typo, reported
888 by Michael Deutschmann <michael@talamasca.ocis.net>.
889
890 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
891 * sysdeps/mips/fpu/fegetenv.c: Likewise.
892 * sysdeps/mips/fpu/fesetenv.c: Likewise.
893 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
894 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
895
896 2000-03-28 Andreas Jaeger <aj@suse.de>
897
898 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
899 declaration, the prototype is defined via bits/mathcalls.h.
900 (__sincosf): Likewise.
901 (__sincosl): Likewise.
902 (ldexp): Likewise.
903 (ldexpf): Likewise.
904 (ldexpl): Likewise.
905 (__finite): Likewise.
906 (__inline_mathcodeNP): New macro without prototype
907 declarations.
908 (__inline_mathcodeNP2): Likewise.
909 (__inline_mathcodeNP3): Likewise.
910 (__inline_mathcodeNP_): Likewise.
911 (__inline_mathcodeNP2_): Likewise.
912 (__inline_mathcodeNP3_): Likewise.
913 (__inline_mathopNP): Likewise.
914 (__inline_mathop_declNP): Likewise.
915 (__inline_mathop_declNP_): Likewise.
916 (__inline_mathcode_): Use __inline_mathcodeNP_.
917 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
918 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
919 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
920 (__expm1l): Don't define prototype, the prototype is defined via
921 bits/mathcalls.h.
922 (exp): Likewise.
923 (__expl): Likewise.
924 (tan): Likewise.
925 (atan2): Likewise.
926 (__atan2l): Likewise.
927 (fmod): Likewise.
928 (pow): Likewise.
929 (fabsf): Likewise.
930 (fabsl): Likewise.
931 (__fabsl): Likewise.
932 (asin): Likewise.
933 (acos): Likewise.
934 (sinh): Likewise.
935 (cosh): Likewise.
936 (tanh): Likewise.
937 (floor): Likewise.
938 (ceil): Likewise.
939 (expm1): Likewise.
940 (log1p): Likewise.
941 (asinh): Likewise.
942 (acosh): Likewise.
943 (atanh): Likewise.
944 (hypot): Likewise.
945 (logb): Likewise.
946 (fma): Likewise.
947 (drem): Likewise.
948 (sqrt): Likewise.
949 (__sqrtl): Likewise.
950 (sin): Likewise.
951 (cos): Likewise.
952 (atan): Likewise.
953 (log): Likewise.
954 (log10): Likewise.
955 (asinh): Likewise.
956 (log2): Likewise.
957 (rint): Likewise.
958
959 2000-03-28 Ulrich Drepper <drepper@redhat.com>
960
961 * Makerules: If make variable md5 is defined to yes after
962 generating dependencies generate MD5 sum for the object.
963
964 * iconv/gconv_builtin.h: Fix length in transformation definition
965 for UNICODEBIG.
966
967 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
968
969 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
970 allow as well reading from/writing to unaligned addresses on machines
971 which don't support this in hardware. Use FCTNAME macro to define
972 function name. Include the file a second time for platforms which
973 need special unaligned handling.
974 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
975 to access potentially unaligned addresses. These macros are intended
976 to be used only outside the loops.
977 (unaligned): New definition. In case the machine can handle unaligned
978 access define as zero. Otherwise as a variable which is initialized
979 as nonzero in case the buffer passed in at runtime is unaligned with
980 respect to the character set encoding involved.
981 Call aligned or unaligned looop functions according to unaligned
982 variable.
983 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
984 of direct casting pointer to potentially handle unaligned memory
985 accesses.
986 * iconvdata/8bit-generic.c: Likewise.
987 * iconvdata/ansi_x3.110.c: Likewise.
988 * iconvdata/big5.c: Likewise.
989 * iconvdata/euc-cn.c: Likewise.
990 * iconvdata/euc-jp.c: Likewise.
991 * iconvdata/euc-kr.c: Likewise.
992 * iconvdata/euc-tw.c: Likewise.
993 * iconvdata/gbk.c: Likewise.
994 * iconvdata/iso-2022-cn.c: Likewise.
995 * iconvdata/iso-2022-jp.c: Likewise.
996 * iconvdata/iso-2022-kr.c: Likewise.
997 * iconvdata/iso646.c: Likewise.
998 * iconvdata/iso_6937-2.c: Likewise.
999 * iconvdata/iso_6937.c: Likewise.
1000 * iconvdata/johab.c: Likewise.
1001 * iconvdata/sjis.c: Likewise.
1002 * iconvdata/t.61.c: Likewise.
1003 * iconvdata/uhc.c: Likewise.
1004 * iconvdata/unicode.c: Likewise.
1005 * iconvdata/utf-16.c: Likewise.
1006
1007 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
1008 prototypes.
1009
1010 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
1011 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
1012 public.
1013 * malloc/mcheck.h (mcheck_check_all): Declare.
1014
1015 * stdio-common/Makefile (tests): Add tst-obprintf.
1016
1017 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
1018
1019 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
1020 Declare pthread_sigmask.
1021
1022 * csu/version.c: Add 2000 to copyright years.
1023 Remove Emacs local variables section.
1024
1025 2000-03-23 Bruno Haible <haible@clisp.cons.org>
1026
1027 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
1028 __gconv_transform_internal_ucs2little): Remove declarations.
1029 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
1030 __gconv_transform_internal_ucs2): Never need to bswap_16.
1031 (__gconv_transform_ucs2reverse_internal,
1032 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
1033
1034 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1035
1036 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
1037 obsoleting version not being defined at all, in which case the
1038 result is always true.
1039
1040 * Makeconfig (preprocess-versions): New canned sequence for running
1041 cpp on shlib-versions and the like.
1042 (soversions.i): Use it.
1043 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
1044 Versions.def and Versions files.
1045
1046 2000-03-27 Ulrich Drepper <drepper@redhat.com>
1047
1048 * stdio-common/tst-obprintf.c (main): Add another check to see
1049 obstack_printf handling all possible beginnings of the block
1050 inside an obstack chunk.
1051
1052 * locale/programs/localedef.c: Use __malloc_initialize_hook to
1053 install mcheck handler.
1054
1055 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
1056 handling problem.
1057
1058 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
1059
1060 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
1061
1062 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
1063 on [HAVE_ELF && DO_VERSIONING].
1064
1065 2000-03-27 Ulrich Drepper <drepper@redhat.com>
1066
1067 * stdio-common/tst-obprintf.c: New file.
1068
1069 2000-03-26 Ulrich Drepper <drepper@redhat.com>
1070
1071 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
1072 _IO_OVERFLOW directly instead through __overflow.
1073
1074 * locale/programs/localedef.c (construct_output_path): If path
1075 contains a / compute the end of the directory name correctly.
1076
1077 * include/features.h: Undef and document __USE_XOPEN2K.
1078
1079 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
1080 whenever a function is called. Initiated by calling mcheck_pedantic
1081 instead of mcheck.
1082 * malloc/mcheck.h: Declare mcheck_pedantic.
1083 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
1084 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
1085 for now.
1086
1087 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1088
1089 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
1090 * dlfcn/dlopenold.c: Likewise.
1091 * nss/getXXbyYY_r.c: Likewise.
1092 * nss/getXXent_r.c: Likewise.
1093 * hurd/hurdinit.c: Likewise.
1094 * hurd/compat-20.c: Likewise.
1095 * libio/oldiofopen.c: Likewise.
1096 * libio/oldiofclose.c: Likewise.
1097 * libio/oldiofdopen.c: Likewise.
1098 * libio/oldfileops.c: Likewise.
1099 * libio/oldstdfiles.c: Likewise.
1100 * libio/oldiofsetpos.c: Likewise.
1101 * libio/oldiofgetpos.c: Likewise.
1102 * libio/oldiofgetpos64.c: Likewise.
1103 * libio/oldiofsetpos64.c: Likewise.
1104 * libio/oldiopopen.c: Likewise.
1105 * libio/oldpclose.c: Likewise.
1106 * libio/oldtmpfile.c: Likewise.
1107 * libio/freopen.c (freopen): Likewise.
1108 * libio/iofclose.c (_IO_new_fclose): Likewise.
1109
1110 * sysdeps/mach/sys/reboot.h: Include <features.h>.
1111 (reboot): Declare it.
1112
1113 * libio/Makefile (headers): Add bits/stdio-lock.h here.
1114
1115 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
1116
1117 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
1118
1119 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
1120 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
1121 We need this for the sbrk decl, which can be included without Unix98.
1122
1123 2000-03-20 Richard Henderson <rth@cygnus.com>
1124
1125 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
1126 argument to yperr2nss is an int, not size_t.
1127 * posix/regex.c (print_partial_compiled_pattern): Cast all
1128 ptrdiff_t to long for printing.
1129 (print_compiled_pattern): Use Z for printing size_t.
1130 * posix/testfnm.c (tests): Avoid trigraphs.
1131 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1132 Use a C comment, not an assembly comment.
1133
1134 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
1135 of __ASSUME_32BITUIDS.
1136
1137 2000-03-26 Ulrich Drepper <drepper@redhat.com>
1138
1139 * libio/iofopncook.c: Remove K&R prototypes.
1140
1141 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
1142
1143 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
1144 an initial value of 1024 instead of RLIM_INFINITY.
1145
1146 * Versions.def (libmachuser, libhurduser): Remove these sections,
1147 since these libraries do not presently use symbol versions.
1148
1149 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
1150 is RLIM_INFINITY, return -1 instead.
1151
1152 2000-03-24 Andreas Jaeger <aj@suse.de>
1153
1154 * Makefile (postclean): Added soversions.i.
1155
1156 2000-03-24 Scott Bambrough <scottb@netwinder.org>
1157
1158 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
1159 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
1160 and _FPU_IEEE. Change _FPU_RESERVED.
1161
1162 2000-03-24 Scott Bambrough <scottb@netwinder.org>
1163
1164 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
1165
1166 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1167
1168 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
1169 (gaih_inet): Remove unused duplicate variable.
1170
1171 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
1172 Don't use __libc_sa_len, which only exists for Linux. Just handle
1173 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
1174 only flavors supported by this function anyway.
1175
1176 2000-03-24 Geoff Clare <gwc@unisoft.com>
1177
1178 * stdlib/strfmon.c: corrected problems with missing signs and
1179 missing or extra spaces; allow for sign strings longer than
1180 one character; add padding to ensure positive and negative
1181 formats are aligned when a left precision is used.
1182
1183 2000-03-26 Ulrich Drepper <drepper@redhat.com>
1184
1185 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
1186 Patch by John Mizel <John.Mizel@msdw.com>.
1187
1188 2000-03-25 Ulrich Drepper <drepper@redhat.com>
1189
1190 * manual/install.texi: Remove references to crypt add-on.
1191
1192 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
1193
1194 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
1195 section while taking the _hurd_rlimit_lock.
1196 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1197
1198 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
1199
1200 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
1201 using $(LN_S).
1202
1203 * sysdeps/mach/hurd/if_index.c: New file.
1204
1205 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
1206 * sysdeps/gnu/net/if.h: here.
1207 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
1208 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
1209 * sysdeps/generic/net/if.h: New file. Declares just the standard
1210 functions and `struct if_nameindex' type.
1211 * socket/Makefile (headers): Add net/if.h here.
1212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
1213 * sysdeps/mach/hurd/Dist: Remove it here.
1214 * sysdeps/unix/sysv/linux/Dist: And here.
1215 * sysdeps/generic/if_index.c: Include <net/if.h>.
1216
1217 2000-03-24 Andreas Jaeger <aj@suse.de>
1218
1219 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
1220 access relocated entries in l_info.
1221 (elf_machine_got_rel): Likewise.
1222 (elf_machine_runtime_setup): Likewise.
1223 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
1224 (elf_machine_runtime_setup): Likewise.
1225 (__dl_runtime_resolve): Likewise.
1226
1227 2000-03-23 Ulrich Drepper <drepper@redhat.com>
1228
1229 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
1230 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
1231 according to RFC 2553.
1232 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
1233 * inet/getnameinfo.c: Likewise.
1234 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1235
1236 2000-03-23 Bruno Haible <haible@clisp.cons.org>
1237
1238 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
1239 Remove no-op pointer increment.
1240
1241 2000-03-23 Andreas Jaeger <aj@suse.de>
1242
1243 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
1244 follow change for libio.h from 2000-03-10.
1245
1246 2000-03-23 Andreas Jaeger <aj@suse.de>
1247
1248 * elf/dl-addr.c: Adjust include paths for ldsodefs location
1249 change.
1250 * elf/dl-debug.c: Likewise.
1251 * elf/dl-deps.c: Likewise.
1252 * elf/dl-error.c: Likewise.
1253 * elf/dl-fini.c: Likewise.
1254 * elf/dl-init.c: Likewise.
1255 * elf/dl-load.c: Likewise.
1256 * elf/dl-lookup.c: Likewise.
1257 * elf/dl-minimal.c: Likewise.
1258 * elf/dl-object.c: Likewise.
1259 * elf/dl-open.c: Likewise.
1260 * elf/dl-preinit.c: Likewise.
1261 * elf/dl-profile.c: Likewise.
1262 * elf/dl-profstub.c: Likewise.
1263 * elf/dl-reloc.c: Likewise.
1264 * elf/dl-runtime.c: Likewise.
1265 * elf/dl-support.c: Likewise.
1266 * elf/dl-symbol.c: Likewise.
1267 * elf/dl-version.c: Likewise.
1268 * elf/rtld.c: Likewise.
1269 * elf/sprof.c: Likewise.
1270 * sysdeps/generic/dl-cache.c: Likewise.
1271 * sysdeps/generic/dl-origin.c: Likewise.
1272 * sysdeps/generic/dl-sysdep.c: Likewise.
1273 * sysdeps/generic/elf/backtracesyms.c: Likewise.
1274 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1275 * sysdeps/generic/libc-start.c: Likewise.
1276 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1277 * sysdeps/powerpc/dl-machine.c: Likewise.
1278 * sysdeps/powerpc/elf/libc-start.c: Likewise.
1279 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1280 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1281 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
1282
1283 * elf/ldsodefs.h: Move file to ...
1284 * sysdeps/generic/ldsodefs.h: ... here.
1285
1286 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
1287
1288 * sysdeps/mips/elf/ldsodefs.h: New file.
1289
1290 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
1291 entries in l_info.
1292 (_dl_check_map_versions): Likewise.
1293 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1294 * elf/dl-load.c (_dl_init_paths): Likewise.
1295 (_dl_map_object): Likewise.
1296 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
1297 (elf_get_dynamic_info): Likewise.
1298 * elf/do-lookup.h (FCT): Likewise.
1299 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
1300 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1301 * elf/dl-addr.c (_dl_addr): Likewise.
1302 * elf/dl-runtime.c (profile_fixup): Likewise.
1303 (fixup): Likewise.
1304 * elf/dl-init.c (_dl_init_next): Likewise.
1305 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
1306 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
1307 (DISTINGUISH_LIB_VERSIONS): Likewise.
1308 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
1309 (elf_machine_rel): Likewise.
1310
1311 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
1312 for writable dynamic section.
1313
1314 2000-03-22 Ulrich Drepper <drepper@redhat.com>
1315
1316 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
1317 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
1318
1319 2000-03-22 Andreas Jaeger <aj@suse.de>
1320
1321 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
1322 from latest Linux kernel.
1323
1324 2000-03-21 Andreas Jaeger <aj@suse.de>
1325
1326 * Versions.def: Add version 2.1.4.
1327
1328 2000-03-21 Ulrich Drepper <drepper@redhat.com>
1329
1330 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
1331 * libio/oldiofopen.c: Likewise.
1332 * libio/oldiofclose.c: Likewise.
1333 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1334
1335 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
1336
1337 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
1338 indicating the first version set to obsolete the conditionalized code.
1339 (compat_symbol): New macro.
1340 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
1341 rhs be the ABI_* macro for the subsuming version. Assign increasing
1342 integer values to the ABI_* macros for supported versions.
1343 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
1344 compat_symbol macro.
1345
1346 2000-03-21 Ulrich Drepper <drepper@redhat.com>
1347
1348 * nscd/connections.c (nscd_run): Pretty print.
1349 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
1350
1351 * manual/charset.texi: Fix typos. Rephrase.
1352 * manual/process.texi: Likewise.
1353 * manual/signal.texi: Likewise.
1354 Patches by Mike Coleman <mkc@kc.net>.
1355
1356 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
1357 versions.
1358 * libio/iofdopen.c: Likewise.
1359 * libio/iofgetpos.c: Likewise.
1360 * libio/iofgetpos64.c: Likewise.
1361 * libio/iofopen.c: Likewise.
1362 * libio/iofsetpos.c: Likewise.
1363 * libio/iofsetpos64.c: Likewise.
1364 * libio/iopopen.c: Likewise.
1365 * libio/oldiofopen.c: Likewise.
1366 * libio/pclose.c: Likewise.
1367 * sysdeps/gnu/siglist.c: Likewise.
1368 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
1369
1370 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
1371 chance to expand VERSION_##lib##_##version.
1372
1373 * libio/fileops.c: Use new macros from shlib-compat.h to define
1374 versions.
1375 * libio/iofclose.c: Likewise.
1376 * libio/oldiofclose.c: Likewise.
1377 Patch by Roland McGrath <roland@frob.com>.
1378
1379 2000-03-21 Jakub Jelinek <jakub@redhat.com>
1380
1381 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
1382 Lay out struct sigcontext according to what really gets passed on
1383 the stack.
1384 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
1385 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
1386 (prgregset_t, prfpregset_t): Define to elf_* types.
1387 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
1388 Define to correct value.
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
1390 sigcontext.
1391 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
1392
1393 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
1394
1395 * scripts/firstversions.awk: Allow multiple version sets in the
1396 "earliest version" specification, meaning that version sets in the
1397 gaps between listed versions should be folded into the earliest later
1398 version that is explicitly listed.
1399 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
1400 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
1401
1402 2000-03-21 Ulrich Drepper <drepper@redhat.com>
1403
1404 * iconv/gconv_builtin.c: Include <endian.h>.
1405 * iconv/gconv_builtin.h: Add UCS-BE aliases.
1406 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
1407 according to current platform.
1408 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
1409 __gconv_transform_internal_ucs2reverse, and
1410 __gconv_transform_internal_ucs4le.
1411 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
1412 __gconv_transform_ucs2reverse_internal and
1413 __gconv_transform_internal_ucs2reverse.
1414 * iconvdata/Makefile (modules): Add UNICODE.
1415 (distribute): Add unicode.c.
1416 * iconvdata/gconv-modules: Add definitions for UNICODE module.
1417 * iconvdata/unicode.c: New file.
1418
1419 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
1420 determine byte order of input and convert accordingly.
1421
1422 * iconvdata/utf-16.c (gconv_init): Fix typo.
1423
1424 2000-03-20 Ulrich Drepper <drepper@redhat.com>
1425
1426 * iconvdata/gconv-modules: Fix typo.
1427
1428 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
1429 more messages.
1430
1431 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
1432
1433 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
1434
1435 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
1436
1437 2000-03-20 Ulrich Drepper <drepper@redhat.com>
1438
1439 * misc/Makefile (routines): Add mincore.
1440
1441 2000-03-20 Andreas Jaeger <aj@suse.de>
1442
1443 * sysdeps/generic/mincore.c: New stub file.
1444
1445 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
1446 from latest Linux kernel.
1447
1448 2000-03-20 Ulrich Drepper <drepper@redhat.com>
1449
1450 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
1451 _SC_GETPW_R_SIZE_MAX.
1452
1453 2000-03-20 Richard Henderson <rth@cygnus.com>
1454
1455 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
1456 in GLIBC_2.1.4.
1457
1458 2000-03-20 Richard Henderson <rth@cygnus.com>
1459
1460 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
1461 of arithmetic instructions.
1462
1463 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
1464 with the fpcr. Protect from INV exception.
1465 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
1466 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
1467 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
1468
1469 * sysdeps/alpha/fpu/s_copysign.c: New.
1470 * sysdeps/alpha/fpu/s_copysignf.c: New.
1471 * sysdeps/alpha/fpu/s_fabs.c: New.
1472 * sysdeps/alpha/fpu/s_fabsf.c: New.
1473 * sysdeps/alpha/fpu/s_rint.c: New.
1474 * sysdeps/alpha/fpu/s_rintf.c: New.
1475
1476 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
1477
1478 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
1479 Kill sethae.
1480 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
1481 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
1482 Use physical addresses not KSEG addresses.
1483 (io_system): Add PYXIS.
1484 (io): Remove hae.reg, sys, hae_shift.
1485 (stb_mb, stw_mb, stl_mb, __sethae): New.
1486 (inline_outb, inline_outw, inline_outl): Don't set hae.
1487 (inline_inb, inline_inw, inline_inl): Likewise.
1488 (dense_sethae): New null function.
1489 (struct cpuinfo_data): New.
1490 (process_cpuinfo): Use local and stack variables, not static.
1491 Move readlink check here from init_iosys.
1492 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
1493 (_iopl): Simplify.
1494 (_hae_shift): Calculate it here.
1495 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
1496 add pciconfig_iobase.
1497
1498 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
1499
1500 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
1501 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
1502
1503 * scripts/versions.awk: Fixed version renaming code to distinguish
1504 libraries properly.
1505
1506 2000-03-19 Ulrich Drepper <drepper@redhat.com>
1507
1508 * include/stdlib.h: Add prototype for __cxa_atexit.
1509
1510 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
1511 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
1512
1513 2000-03-17 Cristian Gafton <gafton@redhat.com>
1514
1515 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
1516 existing rtld-installed-name.
1517 ($(rtld-installed-name)): Request libc-$(version) be installed too.
1518 replace existing rtld-installed-name using $(symbolic-link-prog).
1519
1520 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
1521
1522 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
1523 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
1524 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
1525 but not the former.
1526
1527 2000-03-19 Ulrich Drepper <drepper@redhat.com>
1528
1529 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
1530 glob64. Since there is no glob64 in the LFS proposal applications
1531 can assume that glob handles LFS situations. glob64 is only needed
1532 if alternative filesystem functions are used.
1533
1534 2000-03-19 Geoff Clare <gwc@unisoft.com>
1535
1536 * sysdeps/generic/glob.c: Correct gl_pathc value returned
1537 when GLOB_DOOFFS is set; correct handling of patterns
1538 containing escaped wildcards (and no unescaped ones);
1539 GLOB_ERR flag was being ignored in some situations.
1540
1541 * posix/globtest.c, posix/globtest.sh: Updated to include
1542 tests for the problems fixed by the above changes to glob.c.
1543
1544 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
1545
1546 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
1547
1548 * Makeconfig (soversion.i): Use only first match for each lib.
1549
1550 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
1551
1552 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
1553 rather than $(sysd-dirs-done) to protect these rules.
1554
1555 * Makerules (version-renames.def): Target removed.
1556 (Versions.all): Depend on soversions.i directly and parse it.
1557
1558 * Makeconfig (soversions.i): New target, input-reading parts of
1559 soversions.mk generation moved here; result is a canonicalized
1560 list "LIB VERSION [SET]" for this configuration.
1561 (soversions.mk): Use that as input. Don't emit map-firstversions.
1562 * Makerules (version-renames.def): New target, generated from
1563 soversions.i with contents that was in $(map-firstversions).
1564 (Versions.all): Don't depend on soversions.mk, depend on
1565 version-renames.def instead; just cat it into the input.
1566
1567 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
1568 for $(map-firstversions), which better handles it being empty.
1569
1570 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
1571 supported version for libc 0.2.90.libio to GLIBC_2.2.
1572
1573 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
1574 and use it to emit new variable `map-firstversions'.
1575 * scripts/firstversions.awk: New file.
1576 * Makerules (Versions.all): Use scripts/firstversions.awk and
1577 the $(map-firstversions) value to generate a modified versions list
1578 that includes renames in "A = B" syntax for each version set earlier
1579 than the "earliest symbol version" named in shlib-versions.
1580 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
1581 rename version set A to B in the output to the intermediate file.
1582 * scripts/abi-versions.awk: New file.
1583 * Makerules (abi-versions.h): New target, generated by that script.
1584 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
1585 * include/shlib-compat.h: New file, uses that generated header.
1586
1587 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
1588
1589 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
1590 after stripping # comments, and then run it through cpp.
1591 This allows things like "%ifdef FOO" based on config.h settings.
1592 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
1593
1594 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
1595 and other errors that indicate a pseudo-receive happened, grok through
1596 the message buffer for port rights that need references fixed up.
1597
1598 2000-03-16 Andreas Jaeger <aj@suse.de>
1599
1600 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
1601
1602 * sysdeps/unix/sysv/linux/madvise.c: Remove.
1603
1604 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
1605 from latest Linux kernel.
1606 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
1607
1608 * misc/sys/mman.h: Add prototype for mincore.
1609
1610 2000-03-17 Ulrich Drepper <drepper@redhat.com>
1611
1612 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
1613 entry for GLIBC_2.0 version of setrlimit.
1614 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1615
1616 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
1617
1618 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
1619 * nis/nss_compat/compat-initgroups.c: Likewise.
1620 * nis/nss_nis/nis-initgroups.c: Likewise.
1621 * nis/nss_nis/nis-netgrp.c: Likewise.
1622 * nis/nss_nis/nis-proto.c: Likewise.
1623 * nis/nss_nis/nis-rpc.c: Likewise.
1624 * nis/nss_nis/nis-service.c: Likewise.
1625 * nis/ypclnt.c: Likewise.
1626
1627 2000-03-16 Andreas Jaeger <aj@suse.de>
1628
1629 * manual/Makefile: MAKEINFO is set to `:' from configure if it
1630 doesn't exist, correct checks. Fixes PR libc/1649.
1631
1632 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
1633
1634 * nscd/hstcache.c: Restore correct UID.
1635 * nscd/pwdcache.c: Likewise.
1636 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
1637
1638 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
1639
1640 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
1641 macros for register names, in line with 2000-03-14 linux change.
1642
1643 * sysdeps/mach/sched_yield.c: New file.
1644
1645 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
1646
1647 * sysdeps/generic/lockfile.c: Include <stdio.h>
1648 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
1649 case <libio.h> defined them.
1650 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
1651 from __internal_*.
1652 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
1653 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
1654
1655 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
1656 for more pleasing parse error.
1657
1658 2000-03-16 Ulrich Drepper <drepper@redhat.com>
1659
1660 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
1661 memory for eras.
1662 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1663
1664 * elf/Makefile: Add rules to compile and run constload1 test.
1665 * elf/constload1.c: New file.
1666 * elf/constload2.c: New file.
1667 * elf/constload3.c: New file.
1668
1669 2000-03-15 Ulrich Drepper <drepper@redhat.com>
1670
1671 * sysdeps/posix/open64.c: Make __open64 weak alias.
1672 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
1673 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1674 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
1675 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1676 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
1677 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
1678 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1679 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
1680 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1681 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
1682
1683 2000-03-14 Ulrich Drepper <drepper@redhat.com>
1684
1685 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
1686 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
1687
1688 2000-03-16 Mark Kettenis <kettenis@gnu.org>
1689
1690 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
1691 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
1692
1693 2000-03-08 Andreas Jaeger <aj@suse.de>
1694
1695 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
1696
1697 2000-03-14 Ulrich Drepper <drepper@redhat.com>
1698
1699 * timezone/africa: Update from tzdata2000d.
1700 * timezone/asia: Likewise.
1701 * timezone/australasia: Likewise.
1702 * timezone/europe: Likewise.
1703 * timezone/northamerica: Likewise.
1704 * timezone/southamerica: Likewise.
1705
1706 * po/fr.po: Update from translation team.
1707 * po/de.po: Likewise.
1708
1709 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
1710 last parameter. Move code to add map to global scope from here...
1711 * elf/dl-open.c (dl_open_worker): ...here.
1712 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
1713 * elf/rtld.c: Adjust call to _dl_map_object_deps.
1714
1715 * locale/programs/ld-collate.c (collate_read): Fix warning.
1716
1717 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
1718 values and macros for register names.
1719
1720 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
1721 returned by seek cookie function is -1.
1722
1723 2000-03-14 Andreas Jaeger <aj@suse.de>
1724
1725 * locale/localeconv.c (localeconv): Fix typo.
1726 Reported by Andre Charbonneau <andrec@corel.com>.
1727
1728 2000-03-14 Ulrich Drepper <drepper@redhat.com>
1729
1730 * iconv/skeleton.c: Increment __invocation_counter in inner loop
1731 since modules depend on it counting the number of times the conversion
1732 function got called.
1733
1734 * iconv/gconv_open.c: Optimize loop to setup step data structure.
1735
1736 * iconv/gconv.h: Pretty print.
1737
1738 2000-03-04 Ulrich Drepper <drepper@redhat.com>
1739
1740 * posix/wordexp-test.c: Correct one of the tests added in the last
1741 change. Really get the root passwd entry to check again ~root.
1742
1743 2000-03-10 Andreas Jaeger <aj@suse.de>
1744
1745 * manual/filesys.texi (Working Directory): Fix last patch.
1746 Patch by Martin Buchholz <martin@xemacs.org>.
1747
1748 2000-03-10 Andreas Jaeger <aj@suse.de>
1749
1750 * manual/creature.texi (Feature Test Macros): Fix language.
1751
1752 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
1753
1754 * mach/devstream.c (devstream_write, devstream_read): New functions.
1755 (input, output): Functions removed.
1756 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
1757 using only the vanilla fopencookie interface.
1758
1759 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
1760 as macro for __io_functions.
1761 (funcsio): Use cookie_io_functions_t type name.
1762 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
1763
1764 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
1765 fopencookie.
1766 (fopencookie): Use it.
1767 * libio/libio.h: Declare _IO_cookie_init.
1768 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
1769 _IO_cookie_init.
1770
1771 * libio/libio.h (__io_seek_fn): Fix second argument type
1772 to be a pointer, in line with the manual and the old stdio.
1773 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
1774
1775 * sysdeps/generic/bits/stdio-lock.h: New file.
1776 This is a stub with #error, but that's better than no file at all.
1777
1778 2000-03-09 Martin Buchholz <martin@xemacs.org>
1779
1780 * sysdeps/unix/sysv/linux/alpha/syscall.S:
1781 * manual/message.texi (Using gettextized software):
1782 * manual/message.texi (Message Translation): Doc Fixes.
1783 * manual/filesys.texi (File Size):
1784 * manual/charset.texi (glibc iconv Implementation):
1785 * locale/programs/ld-collate.c (collate_output):
1786 * iconv/gconv_db.c (find_derivation):
1787 * manual/install.texi:
1788 * manual/search.texi (Hash Search Function):
1789 * manual/stdio.texi (Output Conversion Syntax):
1790 * FAQ.in:
1791 * config.h.in:
1792 * sysdeps/generic/dl-sysdep.c:
1793 Doc Fixes. `allows to' is not correct English.
1794
1795 * elf/rtld.c: Doc fixes.
1796 * manual/creature.texi (Feature Test Macros): Doc fixes.
1797 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
1798
1799 * manual/filesys.texi (Working Directory): Check for ERANGE to
1800 avoid infloop.
1801
1802 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
1803
1804 * string/argz-stringify.c (__argz_stringify): Fix loop termination
1805 conditions so as not to clobber the final '\0' when there is only one
1806 element in the vector.
1807
1808 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
1809
1810 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
1811 broken by 2000-02-27 change.
1812
1813 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
1814
1815 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
1816
1817 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
1818 argument type, for 2000-02-22 change in signal/signal.h declaration.
1819
1820 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
1821
1822 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
1823 to getdirentries64 (no __), since the Linux implementation
1824 has no __ name, and there is no declaration for the __ name.
1825
1826 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
1827
1828 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
1829 sed regexp so as not to break directory names including /../ within.
1830
1831 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
1832 The sysdeps/generic file is right for BSD. This file was in fact the
1833 Hurd file, but the only difference was the WNOREAP flag that was never
1834 actually implemented or used anywhere.
1835
1836 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
1837 since AC_PATH_PROG already does it for us.
1838 (PERL): Rewrite check added in 2000-02-29 change for syntactic
1839 correctness and sh portability. I replaced the broken check
1840 with a more sensible implementation of the apparently intended
1841 semantics, which might still be questionable. Using expr causes
1842 a non-numeric value for `perl -V:apiversion` to be accepted,
1843 refusing to use only a perl that reports a number less than 5;
1844 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
1845 * configure: Regenerated.
1846
1847 2000-03-08 Andreas Jaeger <aj@suse.de>
1848
1849 * manual/crypt.texi: Fix paths.
1850
1851 2000-03-07 Andreas Jaeger <aj@suse.de>
1852
1853 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
1854 were swapped.
1855 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
1856 libc/1636.
1857
1858 2000-03-06 Andreas Jaeger <aj@suse.de>
1859
1860 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
1861 in __sgn1l, otherwise g++ fails to parse this.
1862 Reported by Sean Chen <sean.chen@turbolinux.com>.
1863
1864 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1865
1866 * configure.in: Compute sizeof-long-double.
1867 * configure: Regenerated.
1868 * config.make.in: Make sizeof-long-double available to sub-makes.
1869
1870 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
1871
1872 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
1873 call.
1874
1875 2000-03-03 Geoff Keating <geoffk@cygnus.com>
1876
1877 * Makeconfig (rpath-dirs): Add crypt.
1878 (all-subdirs): Remove md5crypt.
1879 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
1880 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
1881 * sysdeps/generic/crypt-entry.c: Delete.
1882 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
1883 * sysdeps/generic/crypt.h: Delete.
1884 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
1885 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
1886 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
1887 * sysdeps/generic/des_impl.c: Delete.
1888 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
1889 * crypt/sysdeps: Delete.
1890 * crypt/crypt_util.c: Don't use `patchlevel.h'.
1891 * md5-crypt/Versions: Move to crypt/.
1892 * md5-crypt/md5-crypt.c: Move to crypt/.
1893 * md5-crypt/md5.c: Move to crypt/.
1894 * md5-crypt/md5c-test.c: Move to crypt/.
1895 * md5-crypt/md5test.c: Move to crypt/.
1896 * md5-crypt: Delete.
1897 * crypt/Makefile: Adjust for new structure.
1898
1899 2000-03-03 Paul Eggert <eggert@twinsun.com>
1900
1901 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
1902 define to 1 if not defined.
1903
1904 2000-03-03 Andreas Jaeger <aj@suse.de>
1905
1906 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
1907
1908 2000-03-03 Andreas Jaeger <aj@suse.de>
1909
1910 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
1911 cases.
1912 (xdr_int64_t): Correctly handle lower half.
1913 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
1914
1915 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
1916
1917 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
1918 call.
1919
1920 2000-03-02 Andreas Jaeger <aj@suse.de>
1921
1922 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
1923 2.3.43.
1924
1925 2000-03-02 Andreas Jaeger <aj@suse.de>
1926
1927 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
1928
1929 2000-03-01 Andreas Jaeger <aj@suse.de>
1930
1931 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
1932 (tests): Added tst-getdate.
1933
1934 * time/tst-getdate.c: New file.
1935
1936 * time/datemsk: New file, needed for tst-getdate.
1937
1938 2000-02-29 Cristian Gafton <gafton@redhat.com>
1939
1940 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
1941
1942 2000-02-17 H.J. Lu <hjl@gnu.org>
1943
1944 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
1945
1946 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
1947 available.
1948 (svcudp_recv): Set up message with the new "xp_pad" field for
1949 IP_PKTINFO.
1950 (svcudp_reply): Support IP_PKTINFO if available.
1951
1952 2000-03-01 Andreas Jaeger <aj@suse.de>
1953
1954 * time/getdate.c (check_mday): Fix check for february.
1955 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
1956 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
1957
1958 2000-03-02 Andreas Jaeger <aj@suse.de>
1959
1960 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
1961 g++ fails to parse this.
1962 Reported by Sean Chen <sean.chen@turbolinux.com>.
1963
1964 2000-02-28 Ulrich Drepper <drepper@redhat.com>
1965
1966 * io/creat.c: Moved to...
1967 * sysdeps/generic/creat.c: ...here.
1968 * io/creat64.c: Moved to...
1969 * sysdeps/generic/creat64.c: ...here.
1970 * io/lockf.c: Moved to...
1971 * sysdeps/generic/lockf.c: ...here.
1972
1973 * crypt/crypt.texi: Moved to...
1974 * manual/crypt.texi: ...here.
1975 * crypt/examples/genpass.c: Moved to...
1976 * manual/examples/genpass.c: ...here.
1977 * crypt/examples/mygenpass.c: Moved to...
1978 * manual/examples/mygenpass.c: ...here.
1979 * crypt/examples/testpass.c: Moved to...
1980 * manual/examples/testpass.c: ...here.
1981
1982 * manual/Makefile (chapters): Add crypt.
1983 * manual/conf.texi: Add usual header for not-last chapter.
1984 * manual/crypt.texi: Add special header for last chapter.
1985
1986 2000-02-28 Geoff Keating <geoffk@cygnus.com>
1987
1988 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
1989 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
1990 complain if there is no crypt add-on.
1991 * crypt/configure: Removed.
1992
1993 * crypt/crypt.texi: Update documentation of US export restrictions
1994 to match the 14 Jan 2000 regulations.
1995
1996 2000-02-28 Geoff Keating <geoffk@cygnus.com>
1997
1998 * crypt: New subdirectory, merged in from the crypt add-on.
1999
2000 2000-02-28 Ulrich Drepper <drepper@redhat.com>
2001
2002 * include/unistd.h: Add __rmdir and __mkdir prototypes.
2003
2004
2005 See ChangeLog.10 for earlier changes.
This page took 0.127036 seconds and 5 git commands to generate.