]> sourceware.org Git - glibc.git/blame - ChangeLog
Update.
[glibc.git] / ChangeLog
CommitLineData
1ca7cbcb
UD
12000-02-14 Andreas Jaeger <aj@suse.de>
2
3 * elf/rtld.c (dl_main): Fix check for references to dynamic linker.
4
7c437eb8
UD
52000-02-14 Ulrich Drepper <drepper@redhat.com>
6
a496e4ce
UD
7 * manual/job.texi: Fix typos.
8 * manual/process.texi: Likewise.
9 * manual/signal.texi: Likewise.
10
7c437eb8
UD
11 * sysdeps/powerpc/atomicity.h: Remove white space to avoid
12 compiler warning.
13
5b26325f
UD
142000-02-14 Scott Bambrough <scottb@netwinder.org>
15
16 * sysdeps/unix/sysv/linux/arm/ioperm.c (_iopl, _ioperm): Add
17 Rebel-NetWinder to platform table so _ioperm platform lookup via
18 /proc/cpuinfo works on later version NetWinders.
19
7cdd956e
UD
202000-02-13 Ulrich Drepper <drepper@redhat.com>
21
22f55fef
UD
22 * locale/programs/charmap.c (charmap_read): Remove erronous free
23 call.
24
87a27b33
UD
25 * sysdeps/i386/fpu/s_cosf.S: Domain of opcode is not large enough
26 so test for overflow and handle it.
27 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28 * sysdeps/i386/fpu/s_tanf.S: Likewise.
29 Patch by Miloslav Trmac <mitr@volny.cz> (PR libc/1563).
30
7cdd956e
UD
31 * iconvdata/Makefile (modules): Add UTF-16.
32 (distribute): Add utf-16.c.
33 * iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
34 UTF-16LE.
35 * iconvdata/utf-16.c: New file.
36 * iconv/gconv_builtin.h: Remove UTF-16 entries here.
37 * iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.
3ef8d0a9 38 PR libc/1580 and libc/1581.
7cdd956e 39
22f55fef 40 * iconv/skeleton.c: Increment __invocation_counter after every call
7cdd956e
UD
41 to the loops.
42
46661856
UD
432000-02-12 Andreas Jaeger <aj@suse.de>
44
45 * sysdeps/unix/sysv/linux/i386/msgctl.c (__new_msgctl): Move errno
46 declaration to place where it's needed to avoid compiler warning.
47 * sysdeps/unix/sysv/linux/i386/semctl.c (__new_semctl): Likewise.
48
b02b9253
UD
492000-02-12 Ulrich Drepper <drepper@redhat.com>
50
46661856
UD
51 * locale/weightwc.h (findidx): Correct find index value.
52
b02b9253
UD
53 * locale/nl_langinfo.h: Add casts to prevent warnings.
54
55 * wctype/iswctype_l.c: Use correct types for mapped data.
56 * wctype/wcfuncs.c: Add one more comment for clarification.
57 * wctype/wcfuncs_l.c: Use __ctype32_tolower and __ctype32_toupper.
58 * wctype/wctrans.c: Likewise.
59
8850cf21
AJ
602000-02-12 Andreas Jaeger <aj@suse.de>
61
62 * sysdeps/mips/dl-machine.h (__start): Rewritten for 2.2 startup
63 conventions.
64 (elf_machine_rel): Use R_MIPS_REL32 for RESOLVE.
65 (elf_machine_runtime_setup,elf_machine_got_rel): Move at end of
66 file and make dependend on RESOLVE.
67 (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix arguments to _dl_lookup_symbol.
68 (RESOLVE_GOTSYM): Fix arguments to _dl_lookup_symbol.
69
a58a4763
UD
702000-02-11 Ulrich Drepper <drepper@redhat.com>
71
e87f0c33
UD
72 * sysdeps/unix/sysv/linux/i386/shmctl.c: Fix handling of save_errno.
73
a58a4763
UD
74 * locale/langinfo.h: Make CRNCYSTR a separate entry instead of an
75 alias for CURRENCY_SYMBOL.
76 * locale/programs/ld-monetary.c: Add support to write out CRNCYSTR
77 information. [PR libc/1583].
78
740c2239
UD
792000-02-08 Shinya Hanataka <hanataka@abyss.rim.or.jp>
80
81 * locale/weightwc.h: Fix problem with collating-element.
82
83 * locale/programs/ld-collate.c (collate_finish): Output wide
84 character collating-symbol, which has no wide strings.
85
86 * locale/programs/ld-collate.c (collate_output): Fix problem with
87 wide character collating-element.
88
f9a7302f
UD
892000-02-09 Andreas Jaeger <aj@suse.de>
90
91 * time/strptime.c (strptime_internal): Fix pointer dereference.
92 Patch by Juergen Heinzl <juergen@monocerus.demon.co.uk>, closes PR
93 libc/1591.
94
d6c5fe3a
UD
952000-02-08 Jakub Jelinek <jakub@redhat.com>
96
97 * sysdeps/unix/sysv/linux/alpha/msgctl.c: New file.
98 * sysdeps/unix/sysv/linux/alpha/semctl.c: New file.
99 * sysdeps/unix/sysv/linux/alpha/shmctl.c: New file.
100 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl, semctl,
101 shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols.
102 * sysdeps/unix/sysv/linux/alpha/Makefile: Add oldmsgctl, oldsemctl
103 and oldshmctl to sysdep-routines.
104
3088979f
UD
1052000-02-08 Andreas Jaeger <aj@suse.de>
106
107 * locale/programs/locale.c (write_locales): Fix handling of
108 whitespace lines.
109 Fixes PR libc/1588, reported by Miroslav Holcak
110 <miroslav.holcak@vitkovice.cz>.
111
cf0fac8b
UD
1122000-02-07 Thorsten Kukuk <kukuk@suse.de>
113
114 * config.make.in: Add infodir.
115 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Sync with kernel
116 header files.
117
763125d1
UD
1182000-02-11 Ulrich Drepper <drepper@redhat.com>
119
f6a73450
UD
120 * posix/getopt.c: Suppress messages if first character of
121 optstring is a colon (PR libc/1584).
122
f1c9f20c
UD
123 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
124 and elf_* types to interpret values passed up from the kernel.
125 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
126
763125d1
UD
127 * locale/nl_langinfo.c: Correct return value in error case. Don't
128 set errno (PR libc/1582).
6941c42a 129 * manual/locale.texi: Update to reflect change.
763125d1 130
586599b5
UD
1312000-02-02 Andreas Schwab <schwab@suse.de>
132
133 * malloc/Makefile (distribute): Add memprof.h.
134 * malloc/memprof.c: Move definition of GETSP and GETTIME to new
135 header memprof.h.
136 * sysdeps/generic/memprof.h: New file.
137 * sysdeps/alpha/memprof.h: New file.
138 * sysdeps/i386/memprof.h: New file.
139 * sysdeps/m68k/memprof.h: New file.
140 * sysdeps/mips/memprof.h: New file.
141 * sysdeps/powerpc/memprof.h: New file.
142 * sysdeps/sparc/memprof.h: New file.
143
cd090f71
UD
1442000-02-01 Jakub Jelinek <jakub@redhat.com>
145
146 * sysdeps/unix/sysv/linux/getresgid.c: Move...
147 * sysdeps/unix/sysv/linux/i386/getresgid.c: ...here.
148 (getresgid): Use getresgid32 if __libc_missing_32bit_uids
149 is -1 or 0.
150 * sysdeps/unix/sysv/linux/getresuid.c: Move...
151 * sysdeps/unix/sysv/linux/i386/getresuid.c: ...here.
152 (getresuid): Use getresuid32 if __libc_missing_32bit_uids
153 is -1 or 0.
154 * sysdeps/unix/sysv/linux/i386/getuid.c: Document new tristate
155 __libc_missing_32bit_uids.
156 (__getuid): Use 32bit uid syscall if __libc_missing_32bit_uids is
157 -1 or 0.
158 * sysdeps/unix/sysv/linux/i386/chown.c (__real_chown): Likewise.
159 * sysdeps/unix/sysv/linux/i386/fchown.c (__fchown): Likewise.
160 * sysdeps/unix/sysv/linux/i386/getegid.c (__getegid): Likewise.
161 * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Likewise.
162 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Likewise.
163 * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Likewise.
164 * sysdeps/unix/sysv/linux/i386/lchown.c (__lchown): Likewise.
165 * sysdeps/unix/sysv/linux/i386/setfsgid.c (setfsgid): Likewise.
166 * sysdeps/unix/sysv/linux/i386/setfsuid.c (setfsuid): Likewise.
167 * sysdeps/unix/sysv/linux/i386/setgid.c (__setgid): Likewise.
168 * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise.
169 * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Likewise.
170 * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Likewise.
171 * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Likewise.
172 * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Likewise.
173 * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Likewise.
174 * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise.
175 * sysdeps/unix/sysv/linux/arm/getresuid.c: New file.
176 * sysdeps/unix/sysv/linux/arm/getresgid.c: New file.
177 * sysdeps/unix/sysv/linux/arm/msgctl.c: New file.
178 * sysdeps/unix/sysv/linux/arm/semctl.c: New file.
179 * sysdeps/unix/sysv/linux/arm/shmctl.c: New file.
180 * sysdeps/unix/sysv/linux/i386/msgctl.c: New file.
181 * sysdeps/unix/sysv/linux/i386/semctl.c: New file.
182 * sysdeps/unix/sysv/linux/i386/shmctl.c: New file.
183 * sysdeps/unix/sysv/linux/m68k/getresgid.c: New file.
184 * sysdeps/unix/sysv/linux/m68k/getresuid.c: New file.
185 * sysdeps/unix/sysv/linux/m68k/msgctl.c: New file.
186 * sysdeps/unix/sysv/linux/m68k/semctl.c: New file.
187 * sysdeps/unix/sysv/linux/m68k/shmctl.c: New file.
188 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: New file.
189 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: New file.
190 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: New file.
191 * sysdeps/unix/sysv/linux/mips/syscalls.list (getresuid):
192 Make syscall directly, no stubs needed.
193 (getresgid): Likewise.
194 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (getresuid):
195 Likewise.
196 (getresgid): Likewise.
197
a1d84548
UD
1982000-02-11 Ulrich Drepper <drepper@redhat.com>
199
b168cff2
UD
200 * iconvdata/gconv-modules: Add aliases CN-GB and CN-BIG5.
201 Reported by Bruno Haible <haible@ilog.fr>.
202
a1d84548
UD
203 * stdio-common/printf-parse.h (parse_one_spec): Set wide elements.
204
205 * stdio-common/printf_fp.c: Truely support wide characater output.
206 Finally handle decimal points and thousands separator characters
207 correctly for multibyte output.
208 * stdio-common/printf_size.c: Likewise.
209 * sysdeps/generic/printf_fphex.c: Likewise.
210 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
211
212 * stdio-common/vfscanf.c: Implement I modifier for numbers to read
213 locale dependent digits.
214
215 * locale/C-monetary.c (_nl_C_LC_MONETARY): Change wide character
216 decimal point and thousands separator values to wide characters from
217 wide character strings.
218 * locale/C-numeric.c (_nl_C_LC_NUMERIC): Likewise.
219
220 * locale/indigitswc.h: Dereference wcdigits array elements.
221
2222000-02-03 Jakub Jelinek <jakub@redhat.com>
223
224 * stdlib/canonicalize.c (canonicalize): Zero terminate
225 path to copy on error.
226
2272000-02-01 Cristian Gafton <gafton@redhat.com>
228
229 * misc/syslog.c (closelog): Reset LogType to SOCK_DGRAM.
230
2312000-01-31 Philip Blundell <philb@gnu.org>
232
233 * sysdeps/arm/fpu/fpu_control.h (_FPU_DEFAULT): Set the AC bit.
234
2352000-01-31 Andreas Jaeger <aj@suse.de>
236
237 * intl/Makefile (generated): msgs.h is generated.
238
239 * localedata/Makefile (generated-dirs): Add de_DE.437.
240
2412000-01-31 Jakub Jelinek <jakub@redhat.com>
242
243 * config.make.in: Allow default localedir to come from configure.
244 * configure.in: Export libc_cv_localedir.
245 * sysdeps/unix/sysv/linux/configure.in: For sparc64, put locale
246 stuff into $exec_prefix/lib/locale because it can be shared between
247 32bit and 64bit libraries.
248 * configure: Rebuilt.
249 * sysdeps/unix/sysv/linux/configure: Rebuilt.
250
2512000-01-31 Andreas Jaeger <aj@suse.de>
252
253 * inet/tst-network.c: New file.
254 * inet/Makefile (tests): Add tst-network.
255
256 * inet/inet_net.c (inet_network): Don't overwrite memory or allow
257 to great last digits.
258
69151eeb
AJ
2592000-02-10 Andreas Jaeger <aj@suse.de>
260
261 * sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
262 Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
263
5a5b6a3a
AJ
2642000-02-09 Andreas Jaeger <aj@suse.de>
265
266 * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.
267
268 * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
269
046219c7
AJ
2702000-02-08 Andreas Jaeger <aj@suse.de>
271
c03eebe1
AJ
272 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.
273
8308c68b 274 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
c03eebe1 275 Make it compile.
8308c68b 276
af6eca30
AJ
277 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
278 c_ispeed and c_ospeed which are not implemented.
279
046219c7
AJ
280 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
281 for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
282 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
283 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
284 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
285
93594832
AJ
2862000-02-05 Andreas Jaeger <aj@suse.de>
287
288 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
289 work - set to 4 in accordance with changes made in the Linux/MIPS
290 kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
291 actually work.
292
dd569f04
AJ
2932000-02-04 Andreas Jaeger <aj@suse.de>
294
295 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
296 the defines.
297
156d6b9a
AJ
2982000-02-03 Andreas Jaeger <aj@suse.de>
299
49104148
AJ
300 * sysdeps/mips/abort-instr.h: New file.
301
156d6b9a
AJ
302 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.
303
304 * sysdeps/unix/sysv/linux/mips/register-dump.h: New file.
305
306 * sysdeps/mips/stackinfo.h: New file.
307
66ade017
AJ
3082000-02-01 Andreas Jaeger <aj@suse.de>
309
26637481
AJ
310 * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
311
399fe941
AJ
312 * sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
313 generic function.
314 * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
315
a745f3f2
AJ
316 * sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
317 Baechle <ralf@gnu.org>.
318
319 * sysdeps/unix/sysv/linux/mips/brk.c: New file.
320
aaac6772
AJ
321 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
322
66ade017
AJ
323 * sysdeps/mips/elf/start.S: Rewritten for __libc_start_main.
324
f296f567
UD
3252000-01-31 Andreas Jaeger <aj@suse.de>
326
327 * inet/inet_net.c (inet_network): Synch with bind 8.2.2. Fixes PR
328 libc/1567.
329
4d76a0ec
UD
3302000-01-30 Ulrich Drepper <drepper@redhat.com>
331
8a94dfe4
UD
332 * sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to
333 the standard.
334 * sysdeps/alpha/fpu/fesetround.c: Likewise.
335 * sysdeps/arm/fpu/feholdexcpt.c: Likewise.
336 * sysdeps/arm/fpu/fesetround.c: Likewise.
337 * sysdeps/generic/feholdexcpt.c: Likewise.
338 * sysdeps/generic/fesetround.c: Likewise.
339 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
340 * sysdeps/i386/fpu/fesetround.c: Likewise.
341 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
342 * sysdeps/m68k/fpu/fesetround.c: Likewise.
343 * sysdeps/mips/fpu/fesetround.c: Likewise.
344 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
345 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
346 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
347 * sysdeps/sparc/fpu/fesetround.c: Likewise.
348 Patch by Miloslav Trmac <mitr@volny.cz>.
349
4d76a0ec
UD
350 * locale/programs/ld-collate.c (struct locale_collate_t): Change
351 type of plane_size and plane_cnt to uint32_t.
352 Reported by Jakub Jelinek.
353
3542000-01-29 Jakub Jelinek <jakub@redhat.com>
b6aa34eb 355
4d76a0ec
UD
356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
357 (SYSCALL_ERROR_HANDLER): Optimize.
358 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
359 Include linux/sparc/sysdep.h.
360 Use a different guard define than linux/sparc/sysdep.h.
361 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Remove
362 stubs for inlined syscalls.
363 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
364 (SYSCALL_ERROR_HANDLER): Optimize.
365 (__SYSCALL_STRING, __SYSCALL_CLOBBERS): Define.
366 Include linux/sparc/sysdep.h.
367 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Remove
368 stubs for inlined syscalls.
369 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
370 Use INLINE_SYSCALL.
371 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Remove.
372 * sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
373
3742000-01-29 Ulrich Drepper <drepper@redhat.com>
f296f567 375
b6aa34eb
UD
376 * locale/loadlocale.c (_nl_load_locale): Optimize a bit. Pretty
377 print. Add checks for _POSIX_MMAPPED_FILES where necessary.
378 (_nl_unload_locale): If locale data was mmapped use munmap.
379
3802000-01-29 Andreas Jaeger <aj@suse.de>
381
382 * sysdeps/unix/sysv/linux/i386/sys/io.h: Add missing ints, use
383 _EXTERN_INLINE, compile inline assembler functions only with gcc.
384
3852000-01-29 Ulrich Drepper <drepper@redhat.com>
386
387 * catgets/catgets.c (catopen): Handle NL_CAT_LOCALE correctly.
388 * catgets/gencat.c (read_input_file): Remove messages correctly.
389 * catgets/open_catalog.c (__open_catalog): Handle trailing colons and
390 adjacent colons correctly. Correct loops to read territory and
391 and codeset part.
392 Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1559).
393
394 * rt/aio_misc.c (get_elem): Assign pointer to new row to correct
395 pool entry.
396 Patch by Jens Moeller <jens.moeller@waii.com> (PR libc/1558).
397
3982000-01-28 Jakub Jelinek <jakub@redhat.com>
399
400 * sysdeps/unix/sysv/linux/arm/Versions: Export the new *rlimit
401 interface with symbol version GLIBC_2.2.
402 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
403 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
404 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
405 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
406
4072000-01-27 Scott Bambrough <scottb@netwinder.org>
408
409 * sysdeps/unix/sysv/linux/arm/Makefile: Backout rlimit changes for
410 resource directory.
411 * sysdeps/unix/sysv/linux/arm/syscalls.list: Backout changes for
412 versioning setrlimit and getrlimit.
413
4142000-01-27 Andreas Jaeger <aj@suse.de>
415
416 * sysdeps/powerpc/fpu/libm-ulps: Renamed to ...
417 * sysdeps/powerpc/fpu/libm-test-ulps: ...this.
418
4192000-01-27 Ruediger Oertel <ro@suse.de>
420
421 * sysdeps/unix/sysv/linux/i386/sys/io.h: Change "::" to ": :" for g++.
422
aec103d3
UD
4232000-01-29 Ulrich Drepper <drepper@redhat.com>
424
6770573a
UD
425 * locale/programs/ld-numeric.c (numeric_output): Increment cnt in
426 correct place to avoid uninitialized memory passed to writev.
427
aec103d3 428 * locale/programs/ld-monetary.c (STR_ELEM_WC): Fix test for too
0d54f746
UD
429 long string in definition.Only enable returning wide character
430 strings if really needed.
aec103d3
UD
431 * locale/programs/ld-numeric.c (STR_ELEM): Likewise.
432
433 * configure.in: Add check for recent enough sed version.
434
710832e5
UD
4352000-01-28 Ulrich Drepper <drepper@redhat.com>
436
437 * stdio-common/vfprintf.c [COMPILE_WPRINT] (_i18n_itoa_word,
438 _i18n_itoa): Fix parameter lists.
4295702f
UD
439
440 * locale/C-monetary.c: Add initializers for new fields.
441 * locale/C-numeric.c: Likewise.
442 * locale/Makefile (distribute): Add indigits.h, indigitswc.h,
443 outdigits.h, and outdigitswc.h.
444 * locale/langinfo.h: Add _NL_MONETARY_DECIMAL_POINT_WC,
445 _NL_MONETARY_THOUSANDS_SEP_WC, _NL_NUMERIC_DECIMAL_POINT_WC,
446 and _NL_NUMERIC_THOUSANDS_SEP_WC.
447 * locale/indigits.h: New file.
448 * locale/indigitswc.h: New file.
449 * locale/outdigits.h: New file.
450 * locale/outdigitswc.h: New file.
451 * locale/programs/ld-monetary.c: Write out decimal point and
452 thousands separator info in wide character form.
453 * locale/programs/ld-numeric.c: Likewise.
454 * stdio-common/Makefile (routines): Add _i18n_itoa and _i18n_itowa.
455 (distribute): Add _i18n_itoa.h and _i18n_itowa.h.
456 * stdio-common/_i18n_itoa.c: New file.
457 * stdio-common/_i18n_itoa.h: New file.
458 * stdio-common/_i18n_itowa.c: New file.
459 * stdio-common/_i18n_itowa.h: New file.
460 * stdio-common/printf-parse.h: Parse 'I' flag.
461 * stdio-common/printf.h (struct printf_info): Add i18n field.
462 * stdio-common/vfprintf.c: Implement 'I' flag to print using locales'
463 outdigits.
464
053cc7bb
GK
4652000-01-27 Geoff Keating <geoffk@cygnus.com>
466
467 * csu/Makefile ($(objpfx)version-info.h): Don't use echo -n
468 unnecessarily.
469
470 * sysdeps/unix/sysv/linux/kernel-features.h
471 (__ASSUME_STAT64_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL,
472 __ASSUME_NEW_GETRLIMIT_SYSCALL): Define on powerpc for kernels >=
473 2.3.35.
474
475 * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: New file.
476 * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
477 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: New file.
478 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: New file.
479 * sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
480 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: New file.
481 * sysdeps/unix/sysv/linux/powerpc/setrlimit64.c: New file.
482 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add
483 s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64,
484 s_truncate64.
485 * sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.
486 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
487
488 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Don't access
489 __curbrk off the small data area register. Reported by
490 Andrew Haley <aph@pasanda.cygnus.co.uk>.
491
fc71a2d4
UD
4922000-01-26 Andreas Jaeger <aj@suse.de>
493
494 * Make-dist (+sysdep-tscrs): Add libm-test-ulps.
495
4962000-01-26 Ulrich Drepper <drepper@cygnus.com>
497
498 * locale/Makefile (distribute): Remove nonexisting files.
499 * sysdeps/powerpc/Dist: Move FPU specific files to...
500 * sysdeps/powerpc/fpu/Dist: ...here. New file.
501 * nss/Makefile: Distribute files for new libdb interface.
502 * math/Makefile (distribute): Add README.libm-test.
503 Patch by Andreas Jaeger.
504
af507979
UD
5052000-01-26 David McCann <david.mccann@alcatel.at>
506
507 * libio/libioP.h [!_G_HAVE_MMAP]: Define ALLOC_WBUF.
508
31c7d52c
UD
5092000-01-25 Andreas Jaeger <aj@suse.de>
510
511 * sysdeps/unix/sysv/linux/configure.in: Set CPPFLAGS for kernel
512 version check since we're using cpp.
513
9dbcebe8
UD
5142000-01-26 Jakub Jelinek <jakub@redhat.com>
515
516 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getresgid):
517 Fix a typo.
518
5192000-01-26 Andreas Jaeger <aj@suse.de>
520
521 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Avoid warning
522 about unitialised variable kbuf.
523 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
524 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
525
4b1c1a6f
UD
5262000-01-26 Ulrich Drepper <drepper@cygnus.com>
527
528 * locale/programs/ld-collate.c (check_duplicate): Fix printing of error
529 messages.
530 (collate_read): Remove unnecessary `if'.
531
47924894
UD
5322000-01-25 Ulrich Drepper <drepper@cygnus.com>
533
4e2e9999
UD
534 * libio/fileops.c (_IO_new_file_open): Recognize ,ccs= in mode string
535 and load appropriate conversions.
536 * libio/iofwide.c (__libio_codecvt): Renamed from libio_codecvt and
537 made global.
538 * libio/libioP.h: Declare __libio_codecvt.
539 * manual/stdio.texi: Document ,ccs= option for fopen.
540 * wcsmbs/wcsmbsload.c (__wcsmbs_named_conv): New function.
541 * wcsmbs/wcsmbsload.h (__wcsmbs_named_conv): Declare.
542
543 * libio/iofclose.c: Free conversion data if stream was wide-oriented.
544
545 * sysdeps/unix/sysv/linux/i386/Dist: Add sys/io.h.
546
c36897fb
UD
547 * sysdeps/unix/sysv/linux/Dist: Remove sys/io.h.
548
47924894
UD
549 * posix/fnmatch_loop.c: Fix problem with FNM_LEADING_DIR.
550 * posix/testfnm.c: Add a few more tests. Rearrange test output.
551
1827fc4c
UD
5522000-01-25 Andreas Schwab <schwab@suse.de>
553
554 * posix/testfnm.c: Add new test case. Use FNM_PATHNAME instead of
555 FNM_FILE_NAME consistently.
556
d6f7f7bd
UD
5572000-01-25 Ulrich Drepper <drepper@cygnus.com>
558
1827fc4c
UD
559 * posix/fnmatch.c: Define STRCOLL appropriately for the loop
560 definition.
561 * posix/fnmatch_loop.c: Undefine STRCOLL.
562
563 * sysdeps/unix/sysv/linux/i386/fxstat.c: Correct code to handle
564 kernels with stat64 support.
565 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise
566 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
567 Patch by SL Baur <steve@xemacs.org>.
568
d6f7f7bd
UD
569 * string/strxfrm.c: Don't count in the terminating NUL byte/word.
570
9de4e203
UD
5712000-01-24 Paul Eggert <eggert@twinsun.com>
572
573 * posix/fnmatch_loop.c (FCT): Use locale's collating sequence when
574 deciding whether a character falls within a character range.
575
5762000-01-24 Paul Eggert <eggert@twinsun.com>
577
578 * posix/fnmatch_loop.c (FCT): When matching [A-Z] and folding case,
579 lower-case A too.
580
5812000-01-24 Thorsten Kukuk <kukuk@suse.de>
582
583 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove old[gs]etrlimit.
584
14a6b4e4
UD
5852000-01-23 Paul Eggert <eggert@twinsun.com>
586
587 * posix/regex.c (GET_UNSIGNED_NUMBER): Allow only ASCII digits.
588
5892000-01-23 Paul Eggert <eggert@twinsun.com>
590
591 * posix/regex.c (compile_range): When matching a character
592 range, use the current collating sequence, as POSIX requires.
593
f00ebd7f
UD
5942000-01-25 Ulrich Drepper <drepper@cygnus.com>
595
596 * string/argz-stringify.c: Handle case of missing \0 at the end of
597 the given argz.
598
973209d8
UD
5992000-01-24 Ulrich Drepper <drepper@cygnus.com>
600
488fb3c7
UD
601 * nscd/hstcache.c: Don't count in mapped IPv6 addresses in total
602 size anymore.
603
db76d943
UD
604 * locale/programs/ld-collate.c (collate_output): Also handle
605 IGNOREd characters in the simple way when generating the multibyte
606 table.
607
608 * locale/programs/ld-ctype.c (allocate_arrays): Move codeset_name
609 handling to ...
610 (ctype_finish): ...here. Check for missing codeset name.
611
973209d8
UD
612 * sysdeps/unix/sysv/linux/Dist: Add ipc_priv.h.
613 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
614
6152000-01-24 Jakub Jelinek <jakub@redhat.com>
616
617 * sysdeps/unix/sysv/linux/bits/ipc.h: Move private decls...
618 * sysdeps/unix/sysv/linux/ipc_priv.h: ...here.
619 * sysdeps/unix/sysv/linux/bits/msq.h: Move private decls...
620 * sysdeps/unix/sysv/linux/msgctl.c: ...here. Include ipc_priv.h.
621 * sysdeps/unix/sysv/linux/bits/sem.h: Move private decls...
622 * sysdeps/unix/sysv/linux/semctl.c: ...here. Include ipc_priv.h.
623 * sysdeps/unix/sysv/linux/bits/shm.h: Move private decls...
624 * sysdeps/unix/sysv/linux/shmctl.c: ...here. Include ipc_priv.h.
625 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Move private decls...
626 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: ...here.
627 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove private decls.
628 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
629 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
630 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
631 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
632 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
633 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
634 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Include ipc_priv.h.
635 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
636 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
637 * sysdeps/unix/sysv/linux/msgget.c: Likewise.
638 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
639 * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
640 * sysdeps/unix/sysv/linux/semget.c: Likewise.
641 * sysdeps/unix/sysv/linux/semop.c: Likewise.
642 * sysdeps/unix/sysv/linux/shmat.c: Likewise.
643 * sysdeps/unix/sysv/linux/shmdt.c: Likewise.
644 * sysdeps/unix/sysv/linux/shmget.c: Likewise.
645
e645ed3a
UD
6462000-01-24 Jakub Jelinek <jakub@redhat.com>
647
648 * sysdeps/unix/sysv/linux/arm/bits/resource.h: New file.
649 * sysdeps/unix/sysv/linux/arm/Makefile: Remove oldsetrlimit64.c.
650 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
651 * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
652 * sysdeps/unix/sysv/linux/arm/Versions: Remove
653 setrlimit64@GLIBC_2.1.3.
654 * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
655 * sysdeps/unix/sysv/linux/arm/oldsetrlimit64.c: Remove.
656 * sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: Likewise.
657 * sysdeps/unix/sysv/linux/arm/setrlimit64.c: Likewise.
658 * sysdeps/unix/sysv/linux/i386/setrlimit64.c: Likewise.
659 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Call __new_getrlimit,
660 so that setrlimit64@GLIBC_2.1 can report limits above 2G.
661 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getrlimit,
662 setrlimit): Remove syscall stubs, add normal syscalls.
663 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (setrlimit):
664 Remove syscall stub.
665
608cc1f0
UD
6662000-01-22 Andreas Jaeger <aj@suse.de>
667
668 * localedata/tst-locale.sh: Enable test for de_DE.437.
669
b8de3ffc
UD
6702000-01-23 Ulrich Drepper <drepper@cygnus.com>
671
672 * string/Versions: Export __strndup.
673
c1301d9a
UD
6742000-01-23 Philip Blundell <philb@gnu.org>
675
676 Add basic support for RPC over IPv6:
677 * sunrpc/rpc/svc.h (struct SVCXPRT): Use `struct sockaddr_storage'
678 for remote address.
679 (svcudp6_create, svcudp6_bufcreate, svctcp6_create): New
680 prototypes.
681 * sunrpc/rpc/clnt.h (clnttcp6_create, clntudp6_create,
682 clntudp6_bufcreate): New prototypes.
683 * inet/netinet/in.h (bindresport6): Likewise.
684 * sunrpc/Makefile (routines): Add svc_tcp6, svc_udp6, bindrsvprt6.
685 * sunrpc/Versions: Add svcfd6_create, svctcp6_create,
686 svcudp6_create, svcudp6_bufcreate, svcudp6_enablecache,
687 bindresvport6 for GLIBC_2.2.
688 * sunrpc/rpc_main.c: Support `tcp6' and `udp6' transport types.
689 * sunrpc/rpc_svcout.c: Likewise.
690 * sunrpc/svc_tcp.c (rendezvous_request): Use memcpy rather than
691 simple assignment when copying addresses.
692 * sunrpc/svc_udp.c (cache_get): Likewise.
693 * sunrpc/svc_unix.c (rendezvous_request): Likewise.
694 * sunrpc/bindrsvprt6.c, sunrpc/clnt_tcp6.c, sunrpc/clnt_udp6.c,
695 sunrpc/svc_tcp6.c, sunrpc/svc_udp6.c: New files.
696
6972000-01-05 Philip Blundell <philb@gnu.org>
698
699 * sysdeps/unix/sysv/linux/arm/mmap64.S: Correct check for ENOSYS.
700
7012000-01-23 Andreas Jaeger <aj@suse.de>
702
703 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Pass right
704 parameter to fstat calls.
705
7062000-01-18 Roland McGrath <roland@baalperazim.frob.com>
707
708 * sysdeps/generic/bits/socket.h
709 (__ss_aligntype, struct sockaddr_storage): Make these like Linux
710 version, replacing old type name `__ss_align'.
711
7122000-01-05 Roland McGrath <roland@baalperazim.frob.com>
713
714 * sysdeps/generic/lseek64.c (__libc_lseek64): Renamed from __lseek64.
715 (__lseek64, lseek64): Make these weak aliases for __libc_lseek64.
716 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Renamed from __lseek.
717 (__lseek, lseek): Make these weak aliases for __libc_lseek.
718 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Renamed from __fcntl.
719 (__fcntl, fcntl): Make these weak aliases for __libc_fcntl.
720 * sysdeps/mach/hurd/open.c (__libc_open): Renamed from __open.
721 (__open, open): Make these weak aliases for __libc_open.
722
723 * sysdeps/generic/bits/socket.h (enum __socket_type): Remove
724 trailing comma.
725 (anonymous enum for MSG_*): Likewise.
726 (anonymous enum for SO_*): Likewise.
727
7282000-01-23 Ulrich Drepper <drepper@cygnus.com>
729
730 * string/bits/string2.h: Fix typo (__GNU_SOURCE -> __USE_GNU)
731 (PR libc/1553).
732
0c34a388
MK
7332000-01-08 Mark Kettenis <kettenis@gnu.org>
734
735 * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function.
736 (setitimer_locked): Use it to quantize the timer values. Use
737 quantized timer values to check if the timeout changed.
738
0ebfb8d7
UD
7392000-01-22 Andreas Jaeger <aj@suse.de>
740
741 * sunrpc/rpc/svc.h: Fix description for svc_register.
742
4974d2b2
UD
7432000-01-23 Mark Kettenis <kettenis@gnu.org>
744
745 * inet/rexec.c (rexec_af): Use SA_LEN instead of __libc_sa_len.
746
7472000-01-22 Thorsten Kukuk <kukuk@suse.de>
748
749 * sunrpc/xdr_rec.c: Don't set frag_sent if no more data,
750 fixes part 2 of bug 1549.
751 * sunrpc/rpc_des.h: Remove unused defines.
752
7532000-01-22 Mark Kettenis <kettenis@gnu.org>
754
755 * intl/Makefile ($(objpfx)msgs.h): Do $(make-target-directory) first.
756
7572000-01-22 Thorsten Kukuk <kukuk@suse.de>
758
759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove sys/io.h.
760 * sysdeps/unix/sysv/linux/alpha/Makefile: Add sys/io.h.
761 * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
762 * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
763 * sysdeps/unix/sysv/linux/sys/io.h: Move from here ...
764 * sysdeps/unix/sysv/linux/i386/sys/io.h: ... to here, add inb, outb
765 and other inline functions for port access.
766 * sysdeps/unix/sysv/linux/alpha/sys/io.h: Add prototypes for port
767 access functions.
768
7692000-01-23 Ulrich Drepper <drepper@cygnus.com>
770
771 * iconv/gconv_simple.c: Fix two problems in UTF-8 decoder.
786731fc 772 Patch by Bruno Haible <haible@ilog.fr>.
4974d2b2 773
b8c5ef62
MK
7742000-01-05 Roland McGrath <roland@baalperazim.frob.com>
775
776 * sysdeps/mach/hurd/errnos.awk: Rediddle to collect lines and print
777 them all at the end, eliding the final comma.
778 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
779
abbffdf9
UD
7802000-01-21 Ulrich Drepper <drepper@cygnus.com>
781
964328be
UD
782 * intl/libintl.h: Add format_arg attributes to declarations of new
783 functions.
784
abbffdf9
UD
785 * intl/Makefile (routines): Add dcigettext, dcngettext, dngettxt,
786 ngettext, and plural.
787 (distribute): Add plural.y, po2test.sed, and tst-gettext.sh.
788 (test-srcs): Add tst-gettext.
789 (before-compile): Add $(objpfx)msgs.h.
790 Add rules for plural.c and msgs.h generation and running tst-gettext.\
791 * intl/Versions [GLIBC_2.2]: Add __dcngettext, dcngettext, dngettext,
792 and ngettext.
793 * intl/dcgettext.c: Move most code into dcigettext.c. Add call
794 dcigettext with appropriate parameters.
795 * intl/dcigettext.c: New file.
796 * intl/dcngettext.c: New file.
797 * intl/dngettext.c: New file.
798 * intl/ngettext.c: New file.
799 * intl/gettextP.h (struct expression): Define.
800 (struct loaded_domain): Add plural and nplurals members.
801 Add prototypes for new internal functions.
802 * intl/libintl.h: Declare new functions. Add optimizations for them.
803 * intl/loadinfo.h: Add new parameter to _nl_find_msg declaration.
804 * intl/loadmsgcat.c (_nl_load_domain): Search for plural information in
805 header entry and parse and store the expression.
806 * intl/plural.y: New file.
807 * intl/po2test.sed: New file.
808 * intl/tst-gettext.c: New file.
809 * intl/tst-gettext.sh: New file.
b8a46c1d 810 * manual/message.texi: Document new interfaces.
abbffdf9
UD
811
812 * intl/gettext.c: Call __dcgettext directly.
813
9861985f
UD
8142000-01-20 Ulrich Drepper <drepper@cygnus.com>
815
0b9fbf00
UD
816 * manual/getopt.texi (Using the getopt function): Fix description of
817 return value for format string starting with '-' (PR libc/1551).
818